OK let's get started, first thing first, please make sure you have "gksudo" installed on your system. Execute "sudo apt-get install gksu" to make it sure. Once installed, please copy this script into a new file:
Now, save the file into "/home/your_username/.local/share/nautilus/scripts", and give a name "Open as Root.sh" or name it as you wish. See the below picture!
The next step is give the file an execution permission. Now, right click on "Open as Root.sh", select "Properties" and navigate to "Permission" tab. Activate "Allow executing file as a program" option.
The last step is restarting Nautilus, you can do that by simply restart your computer or open Terminal and type the following command:
Done! you have a useful "Open as Root" context menu on Nautilus!
- nautilus -q
Good luck!
0 comments:
Post a Comment