[Pkg-kde-extras] Bug#479821: Use "su-to-root -X" as su wrapper in menu/desktop files
Chris Lamb
chris at chris-lamb.co.uk
Tue May 6 20:15:05 UTC 2008
Package: krusader
Severity: important
Version: 1.90.0-1
User: debian-live-devel at lists.alioth.debian.org
Usertags: su-to-root
Tags: patch
Hi,
The menu item or .desktop file:
/usr/share/menu/krusader
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
environment.
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".
Regards,
--
Chris Lamb, UK chris at chris-lamb.co.uk
GPG: 0x634F9A20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20080506/8392c72b/attachment.pgp
More information about the pkg-kde-extras
mailing list