Ubuntu Notes and How-Tos

Tuesday, June 14, 2005

Open files as root via right-click

$ vim ~/.gnome2/nautilus-scripts/Open\ as\ root

for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnome-sudo "gnome-open $uri" &
done

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



*from ubuntuguide.org

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home