LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2005, 04:22 PM   #1
rwillard
Member
 
Registered: Feb 2005
Location: Lethbridge, AB, Canada
Distribution: Fedora 3
Posts: 33

Rep: Reputation: 15
Creating root Application Launcher in GNOME


Hi All...

I have installed a Sierra Aircard on my system (yes, it worked), and now want to create an Application Launcher on the desktop of GNOME (F3).

The problem is I don't want to run root all the time, and PPPD requires you to be logged in as root.

How can I create an icon that will run the command (pppd call ac555-1x) as root -- something like the Run As in windows?

Thanks!
Rob
 
Old 03-22-2005, 07:36 PM   #2
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
If you install gksu (search LQ for how to find and install programs in FC3) you should be able to do the following.
1. Put the command (ppd call ac555-1x) into a script somewhere in your home directory (~/bin, as a hidden file, etc.) and make that script executable.
2. As the command to launch in the launcher put 'gksu scriptname' where scriptname is the full path to the script in step 1.

Hopefully this will work for you.
 
Old 03-23-2005, 09:26 AM   #3
rwillard
Member
 
Registered: Feb 2005
Location: Lethbridge, AB, Canada
Distribution: Fedora 3
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for the info. I should have mentioned that my system still has that "New Linux Smell" and I'm a raw newbie with a lot of this stuff.

A couple of questions:
1) I can only find a Debian version of gksu, and I'm running Fedora 3. Will this work?
2) How do I make a script file and make it executable?

Thanks!
Rob

Last edited by rwillard; 03-23-2005 at 10:51 AM.
 
Old 04-06-2005, 09:59 AM   #4
rwillard
Member
 
Registered: Feb 2005
Location: Lethbridge, AB, Canada
Distribution: Fedora 3
Posts: 33

Original Poster
Rep: Reputation: 15
Thread resurrection... can anyone help with these last two questions?

Thanks!
Rob
 
  


Reply



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
Gnome application launcher properties are greyed out, can't change icons lhenriquez Linux - Newbie 1 10-10-2005 09:16 AM
Gnome desktop launcher for apps with root premissions yotamk Linux - Newbie 3 04-22-2005 05:28 AM
Creating a launcher (could be java launcher) The_Messiah Linux - Newbie 12 04-06-2005 01:36 AM
Creating a launcher for mplayer wnaLinux Slackware 6 11-02-2004 04:16 AM
Application Launcher jamoraqui Linux - Newbie 9 08-23-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration