LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-01-2008, 06:30 PM   #1
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Rep: Reputation: 15
Question 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,
Tim
 
Old 10-01-2008, 08:01 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I think gksu is the GNOME equivalent for that.

Last edited by win32sux; 10-01-2008 at 08:04 PM.
 
Old 10-02-2008, 03:33 AM   #3
LQtux
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
if u are using sudo to become root ; so using gksudo ; or using gksu

best regards
 
Old 10-02-2008, 10:03 AM   #4
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Original Poster
Rep: Reputation: 15
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?

Tim
 
Old 10-02-2008, 12:19 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by tim914 View Post
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.
 
Old 10-02-2008, 05:55 PM   #6
tim914
Member
 
Registered: Apr 2005
Location: Scottsdale, AZ USA
Distribution: Most of them :-)
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by win32sux View Post
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.

Tim
 
Old 10-02-2008, 06:22 PM   #7
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
What does the /etc/sudoers file look like?
 
  


Reply

Tags
authentication, gnome, icon, shortcuts, spam, spamming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
launch ssh or other command line app from desktop shortcut kde pauledwards03 Linux - Newbie 5 09-04-2008 03:01 PM
Running console app from desktop shortcut Bedanc Linux - Newbie 1 03-11-2007 08:25 AM
Problem running console app in X with no terminal (as a desktop shortcut) kornerr Linux - General 1 02-04-2005 12:08 AM
Setting up shortcut to app on desktop aikempshall Slackware 3 06-01-2004 02:46 PM
How to make shortcut for Gnome desktop? septanla Linux - Newbie 12 10-18-2003 03:05 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration