Bug#479825: Use "su-to-root -X" as su wrapper in menu/desktop files
chris at chris-lamb.co.uk
Tue May 6 20:16:00 UTC 2008
User: debian-live-devel at lists.alioth.debian.org
The menu item or .desktop file:
uses an su wrapper other than su-to-root such as "gksu" or "kdesu". On
Debian systems, please use "su-to-root -X", which will pick the correct
wrapper based on what's installed on the system and the current desktop
Using su-to-root is also important for Live CD systems which need to use
sudo rather than su (su-to-root permits global configuration to use sudo).
This change still important even if the package is targetted at (or uses a
widget toolkit closely related to) a particular desktop environment.
The solution is trivial:
- Exec=gksu /usr/sbin/my-binary
+ Exec=su-to-root -X /usr/sbin/my-binary
Lintian reports this error as "su-wrapper-not-su-to-root".
Chris Lamb, UK chris at chris-lamb.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080506/ff133769/attachment.pgp
More information about the pkg-gnome-maintainers