Originally Posted by
poyner
sorry... real newbie here... can you dumb this down a bit for me? ie. let me know what to type into the console. I managed to browse to ~/.gnome2/nautilus-scrips/ but when I did an ls and it showed the folder as empty so I wasn't sure where to go from there. The back slashes has me confused too, can you explain them to me...
oh and if you have time... where exactly is ~/.gnome2 ? I tried to find it in nautilus but couldn't. i'm thinking it's hidden or something. TIA.
ok Go to Applications -> System Tools and open Terminal
type :
Code:
gedit ~/.gnome2/nautilus-scripts/Open\ as\ root&
it will open a text editor like notepad/wordpad
paste into it
Code:
#!/bin/sh
gksudo "gnome-open $NAUTILUS_SCRIPT_SELECTED_URIS"
click save, exit and go back to the terminal window and type:
Code:
chmod +x ~/.gnome2/nautilus-scripts/Open\ as\ root
et voilą
BTW thank you guys so much, it's so usefull and should be in the ubuntuguide TIps & Tricks, good work guys!!!
Bookmarks