LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating root Application Launcher in GNOME (https://www.linuxquestions.org/questions/linux-newbie-8/creating-root-application-launcher-in-gnome-304832/)

rwillard 03-22-2005 04:22 PM

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

Nis 03-22-2005 07:36 PM

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.

rwillard 03-23-2005 09:26 AM

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

rwillard 04-06-2005 09:59 AM

Thread resurrection... can anyone help with these last two questions?

Thanks!
Rob


All times are GMT -5. The time now is 09:51 PM.