there are few ways to approach this problem like
*shortcuts - you are currently trying.
* nautilus actions? sounds interesting, havent used it
* "open with" but set it to "gksu xterm" in the properties
all of these, if you are aware, requires super user access, are you sure you want to give that power to your user?
The shortcut -> Nautilus as root seems to work in my test thus far.
Nautilus actions is a little more difficult to test - I can't figure out how to get it to work against launchers (like from the Applications menu).
As for giving this to my users - this is for my own personal setup - along with pointing out a usability issue (in my opinion) to my fellow Ubuntu users. I should be able to open up a program as root without having to resort to a command prompt, or logging off.
Thanks for the help everyone! I knew that something had to exist, I just didn't know what to look for. I'm hoping to test Nautilus Actions a bit more in the next few days.
-Richard
I use both Windows and Linux. Is that a crime? || Ubuntu User # 16597
Nautilus Actions is pretty cool, now that I've tried it.
The way to configure it is using nautilus-actions-config. (System->Preferences->Nautilus Actions Configuration) or run nautilus-actions-config from terminal or Run dialog (Alt+F2).
Once opened, click Add. Label is what will appear when you right-click on a file. The Path is the command. For example, if the command-line version isFor the path, put "gksu sh" (w/o quotes). For parameters, put "%u" for filename (w/o quotes). You can also set the Conditions, so that the right-click menu item will show only for certain files, e.g. *.runCode:sudo sh /path/to/file.run
Install the package "nautilus-gksu". Restart X, then right-click on a file and choose 'Open as Administrator.'
Bookmarks