Ubuntu Tip of The Day - Installing a BitTorrent Client St John Ambulance WA Gives Huge Helping Hand to CLiCK
May 14

 Want to have access to files as root via right clicking on them?

First open a terminal window and type:1.png

gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root

Insert the following lines into the new file

for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gksudo “gnome-open $uri” &
done

Save the edited file

chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root

Right click on file -> Scripts -> Open as root

Would you like to buy me a beer?

If you enjoyed this post, make sure you subscribe to my RSS feed!

Random Posts

2 Responses to “Ubuntu Tip of the Day - How to open files as root user via right click”

  1. Draku Says:

    Or you can simply type this in terminal and hit Enter :)
    sudo apt-get install nautilus-gksu
    Another great extension is nautilus-open-terminal
    For more goodies fire up synaptic and search for nautilus-

  2. Matt Says:

    Excellent! Thanks Draku :)

Leave a Reply

Donate to CLiCK Computer Recycling

Matt Vapor