Question about desktop files

Bernhard Walle bernhard.walle at gmx.de
Wed Aug 22 13:44:23 CEST 2007


Hello,

is there some possibility to execute a program as root in a .desktop
file? KDE and GNOME honor X-KDE-RootOnly=true and prompt for the root
password.

Of course, you can hard-code “gtksu” or something like this in the
.desktop file. But then it breaks KDE or GNOME because GNOME users
probably don’t want to be prompted by kdesu for their root password.

Thanks for any hints.


     Bernhard



More information about the Xfce4-dev mailing list