LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to use sudo access in GUI (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-sudo-access-in-gui-610220/)

jay73 01-03-2008 01:41 PM

Quote:

You suggested for no explicable reason that the user installs an additional file manager that they do not need. I correctly pointed out that this is not necessary.
Yes, I did, then in the next post I wrote:

Quote:

In order to make it work from the menu, you just create a new menu entry, name it "root file manager" or something like that and you specify the command as "gksudo nautilus".
So gksudo nautilus sounds like a different file manager to you? [Yawn...]

Rustylinux 01-03-2008 06:25 PM

Quote:

Originally Posted by rikxik (Post 3009411)
Oh man - the poor guy just needs to do gui operations in privileged mode.

@RustyLinux

Basically, your friend needs an icon/launcher/menu entry (you get the idea) on which he can click and launch Nautilus (since you mentioned he is using Gnome, Nautilus is the default file manager). So just get him to do this:
--
1. Right-click on the desktop
2. Choose "create launcher" (I may be missing the exact term). This will basically create a shortcut.
3. A dialog box pops up with fields to enter the name of the shortcut, the description and the command to be executed when this is double-clicked
4. Enter "sudo nautilus" (without double quotes) in the command field. Enter whatever you like in the name, description section.
5. Thats it - click ok and you have an icon on your desktop - you double click on it to launch nautilus which will run in privileged mode.
--
Just ask him to use it sparingly.

HTH

Thnx for the info, this is what I was looking for him :D

rikxik 01-04-2008 12:04 AM

One correction - it should be "gksudo nautilus" instead of "sudo nautilus".


All times are GMT -5. The time now is 11:33 PM.