-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
This time I have a question ;)
I quite often package up apps that have to run as root (e.g. smart, aptitude, ...), including
console applications.
I almost always add a .desktop file to have it appear in the users' menu (even though it's a console
app).
Now, my question...
For KDE I found out somehow (it's not documented *anywhere*) that when you add the following two
lines to your .desktop file, it will prompt the user to enter the root password (using kdesu) and
then run as root:
X-KDE-SubstituteUID=true
X-KDE-Username=root
Is this the right way to do it ?
And what about GNOME ? Given the X-KDE- prefix, it only applies to KDE.
What tags do I have to add to a .desktop file to force an "su" (gnomesu, whatever) to the root user?
James, you should know that .. ? ;)
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\