How can I configure a GNOME desktop shortcut to authenticate to run the assigned app?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I configure a GNOME desktop shortcut to authenticate to run the assigned app?
Hi Folks,
I know that it's an everyday operation for GNOME-based distro producers, but I can't find how to define the proper entries for a desktop icon so that the user is prompted to authenticate as root before launching the assigned tool.
I can do this on a KDE-based system with "kdesu", but I can't determine what GNOME tool is used for things like the System menu options.
Is there a document somewhere that outlines what needs to be placed into the application's icon properties for a GNOME environment?
Thanks to both of you, but I don't find either installed on GNOME versions of OpenSuSE, Fedora 8/9, or Debian 3r4. What GNOME package is required for these?
Or, how do the distro providers get the authentication window to display if these aren't there?
Thanks to both of you, but I don't find either installed on GNOME versions of OpenSuSE, Fedora 8/9, or Debian 3r4. What GNOME package is required for these?
Or, how do the distro providers get the authentication window to display if these aren't there?
I don't know about those distros, but I can tell you that the gksu package is installed by default in Ubuntu, and it is what is used for the icons which are for system administration type programs (such as Synaptic, for example). What you could do is add one of the launchers to your desktop, then right-click on it, select Properties and go to the Launcher tab. There you should be able to see what command is being used to prompt for the root password.
What you could do is add one of the launchers to your desktop, then right-click on it, select Properties and go to the Launcher tab. There you should be able to see what command is being used to prompt for the root password.
Good idea and I started there, but they are simply calling the app directly (i.e. /sbin/yast2), so there must be something else involved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.