Author Topic: A lot of sparky packages depend on ... leafpad and xterm  (Read 988 times)

Offline 2stepgoodbye

  • Newbie
  • *
  • Posts: 2
A lot of sparky packages depend on ... leafpad and xterm
« on: December 27, 2014, 05:24:56 am »
Hello!

You have best distribution here for workhorse machine! You are amazing!

However, discovered two strange dependencies.
I want mousepad and yakuake, hence I was going to remove leafpad and xterm.
But this is strange..:
http://i.imgur.com/q2wCokA.jpg
I also dont understand this. I am sure, that one can start installed terminal with x-termina-emulator (here more details: http://unix.stackexchange.com/questions/32547/how-to-launch-an-application-with-default-terminal-emulator-on-ubuntu )

http://i.imgur.com/a1gCXbD.jpg
I hope I could help improve!

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Existence is all about what matters & what doesn't
Re: A lot of sparky packages depend on ... leafpad and xterm
« Reply #1 on: December 27, 2014, 01:27:24 pm »
Why remove leafpad and xterm? They are very small apps and hardly cause any over load?
Existence is all about what matters and what doesn't. - Sagar Gorijala.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: A lot of sparky packages depend on ... leafpad and xterm
« Reply #2 on: December 27, 2014, 01:35:39 pm »
Many sparky apps use xterm or other terminal emulator to install apps, and leafpad is in use to configure some settings. 
Nothing is easy as it looks.

Offline 2stepgoodbye

  • Newbie
  • *
  • Posts: 2
Re: A lot of sparky packages depend on ... leafpad and xterm
« Reply #3 on: December 30, 2014, 11:38:30 pm »
Hello pavroo, way12go

First, because mousepad is better than leafpad in every aspect.
Prior to certain version mousepad had outdated xfprint support, so leafpad was basically a mousepad fork with printing improved - and that is, but now mousepad improved by a lot and has tab support - overall much better than leafpad.
So, its certain some people just dont want leafpad in system, in associations and menu.

There is also GTK3 version of leafpad, called l3afpad. People can not want 2-5 editors and terminals for no reason.This is second case.
As for terminal, Xterm is UGLY. It is low on dependency, but has no tab, font, transparency, profiles support.
In XFCE there is Xfce-terminal(with minimal dependencies), in KDE - Konsole, in Gnome - gnome-terminal and so on.
So, why would you want to depend on specific version of terminal? Perhaps you confuse it with depending on specific script interpretor?..
I can imagine, you need some text editor to open some file with, using your program, but it does not need to be leafpad!

Third case, why use leafpad at all, if the correct way to call an editor via alternatives system that launches default graphical editor.
https://wiki.debian.org/DebianAlternatives

To set terminal, x-terminal-emulator is used.
For default GUI text editor, gnome-text-editor is used.
Or you can set your own global environiment variable in /etc/environiment or locally ~.bashrc.


I did not expect to meet such misunderstanding :( This is a hard dependency to very irrelevant/replacable tools.
No, I am not asking you to change or want to steal them :) I just ask to remove dependency on them and call alternative system (above) to call the default system tool for the job. Debian does not allow to go without default terminal or default text editor.

Well, if this is known AND still to much to ask for, please see this as a suggestion. Its certainly a tree in the eye for the fluxbox system I will be building in January on my notebook, but - i can live with it, somehow.

Kind regards
« Last Edit: December 30, 2014, 11:43:17 pm by 2stepgoodbye »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: A lot of sparky packages depend on ... leafpad and xterm
« Reply #4 on: December 31, 2014, 01:55:40 am »
It's good point, thank's for your suggestions.
I will clean up my tools soon.
Nothing is easy as it looks.

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: A lot of sparky packages depend on ... leafpad and xterm
« Reply #5 on: December 31, 2014, 08:29:28 pm »
The 4 sparky's apps based on xterm have been fixed:
http://sparkylinux.org/updates-20141231/
Simply make dist-upgrade.
The next ones with leafpad later.
Nothing is easy as it looks.