0

In this tip we will see how to open a file or folder as root from the context menu in the Nautilus file manager. This will allow you to easily and quickly access some files or folders with root privileges without the need to login as root or accessing them via the terminal.

Getting Started

1. Open the terminal under Ubuntu 11.10/12.04 and install first the nautilus-gksu with this command:

sudo apt-get install nautilus-gksu

2. Run now this command:

sudo cp /usr/lib/nautilus/extensions-2.0/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/

3. Restart now nautilus with this command:

nautilus -q

4. Right-click now on any file or folder and select "Open as administrator":


That's it!

Post a Comment

 
Top