You are not logged in.

#1 2013-11-23 12:25:50

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Launching deluge from the .desktop file uses the sbin symlink... why?

Can someone explain the following?  Launching deluge-gtk from the package provided deluge.desktop under lxde causes both deluge-gtk and deluged to run from the sbin symlink.  You can see it by a simple:

% ps aux | grep deluge
...
/usr/bin/python2 /usr/sbin/deluge-gtk
/usr/bin/python2 /usr/sbin/deluged

In contrast, launching deluge-gtk from a shell (i.e. simply typing `deluge-gtk`) causes the expected /usr/bin/deluged and /usr/bin/deluge-gtk as viewed from the ps command.

% ps aux | grep deluge
...
/usr/bin/python2 /usr/bin/deluge-gtk
/usr/bin/python2 /usr/bin/deluged

If I modify /usr/share/applications/deluge.desktop using the fully qualified paths for the "TryExec=" and "Exec=" entries, deluge-gtk shows up as /usr/bin/deluge-gtk as it should, but the backend daemon, deluged, still shows up as /usr/sbin/deluged if I don't manually start it from the shell:

% ps aux | grep deluge
...
/usr/bin/python2 /usr/bin/deluge-gtk
/usr/bin/python2 /usr/sbin/deluged

Last edited by graysky (2013-11-23 12:26:29)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB