Question about desktop files
Christian Dywan
christian at twotoasts.de
Thu Aug 23 21:30:23 CEST 2007
Am Wed, 22 Aug 2007 13:44:23 +0200
schrieb Bernhard Walle <bernhard.walle at gmx.de>:
> 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
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>
As far as I know there doesn't exist a standardized value for this.
However the "problem" is in fact not as bad if you consider that a kde
user running "gksu Thunar" is running a gtk app anyway. So he wouldn't
be that surprised that the password prompt is also gtk.
More information about the Xfce4-dev
mailing list