Use of bin versus libexec
thiago at kde.org
Thu Sep 20 13:24:28 BST 2012
On quinta-feira, 20 de setembro de 2012 12.46.47, Jonathan Marten wrote:
> There are a lot of executables in $KDEDIR/bin which are used for
> internal purposes within KDE and are not intended to be directly
> executed by the end user. Having these in the user's $PATH is not
> necessary and has overheads for the shell (and for the user, when
> doing tab-completion of a command).
During the 4.0 time, we did move several helper executables into libexec to
free up bin. However, note that some executables remain in bin because they
are often usable by users, including when we request help of them.
Of course, it's been 5 years and some executables must have crept back in.
The ones I didn't keep below mean I have no opinion on.
Most of those are never meant to be run directly, including akonadiserver.
I've manually run some of the agents for debugging purpose, but those were
isolated cases and required reading the source code anyway.
Akonadi is controlled by akonadictl. That's the one that should stay, plus
> kbuildsycoca4 <-- but useful for the user to run sometimes
Needs to stay.
All of the above should be moved.
Not sure. Those are sometimes useful.
In the particular case of kded4, if it's moved, it would be nice if
kdeinit4_wrapper found it in libexec too. It's useful to restart it sometimes:
Need to stay.
User facing tool, should maybe stay. One of them, anyway.
Should move. No one ever runs this one manually, since it's the only process
that you cannot restart in KDE without causing a logout.
Should move, provided ksysguard knows how to find it on remote hosts.
Same as akonadi.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel