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 |
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. |
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 |
Thread resurrection... can anyone help with these last two questions?
Thanks! Rob |
All times are GMT -5. The time now is 09:51 PM. |