How to open files as root user via right click?
Posted by Planet Malaysia on November 24, 2007
The following tips explains "How to open files as root user via right click" when browsing their file system using nautilus. Personally I used Ubuntu Gusty and tested OK!
-
gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root
- Insert the following lines into the new file.
-
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do gnome-sudo "gnome-open $uri" & done
- Save it.
-
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root
-
Right click on file -> Scripts -> Open as root
- Restart your computer to make sure it's working.
Enjoy!
Possibly Related Posts:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key
- WP Contact Form III – You do not have sufficient permissions to access this page Error
Comments
Leave a Reply