> My package, computer-janitor-gtk, has a .desktop file that calls gksu.
> lintian complains:
>
> W: computer-janitor-gtk: su-wrapper-not-su-to-root
> /usr/share/applications/computer-janitor-gtk.desktop gksu
>
> It further provides the following explanation:
> "The menu item or desktop file command uses an su wrapper other than
> su-to-root. 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."
>
> Ubuntu does not contain su-to-root, and gksu seems to be the right way
> to invoke things as root in GNOME on Ubuntu. Lintian should not complain
> in this case.
I'm fairly sure that Ubuntu does contain su-to-root. It's in the menu
package. I'm also fairly sure that the point above about Live requiring a
way to override programs to use sudo still applies and gksu gets in the
way of doing that.
Lars Wirzenius <email address hidden> writes:
> My package, computer- janitor- gtk, has a .desktop file that calls gksu. janitor- gtk: su-wrapper- not-su- to-root applications/ computer- janitor- gtk.desktop gksu
> lintian complains:
>
> W: computer-
> /usr/share/
>
> It further provides the following explanation:
> "The menu item or desktop file command uses an su wrapper other than
> su-to-root. 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."
>
> Ubuntu does not contain su-to-root, and gksu seems to be the right way
> to invoke things as root in GNOME on Ubuntu. Lintian should not complain
> in this case.
I'm fairly sure that Ubuntu does contain su-to-root. It's in the menu
package. I'm also fairly sure that the point above about Live requiring a
way to override programs to use sudo still applies and gksu gets in the
way of doing that.
-- www.eyrie. org/~eagle/>
Russ Allbery (<email address hidden>) <http://