Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to open files as root user via right click?

  1. Read General Notes
  2. gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root
  3. Insert the following lines into the new file
    for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
    	gnome-sudo "gnome-open $uri" &
    done
  4. Save the edited file (sample)
  5. chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root
  6. Right click on file -> Scripts -> Open as root
The Unofficial Ubuntu Starter Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire