I recently changed distros to Sabayon... from gentoo. I've been impressed with entropy so far... and reduces time on updates and compiles.

I recompiled nautilus in Sabayon for optimization. I became accustomed with the option "open as administrator" So, I added a script just for this reason, because its know longer an option in the nautilus menu. Here's the code, located in ~./gnome2/nautilus-scripts

Code:

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

I'd also tried with gedit as root... Doesnt seem to work... Is there any suggestions. I also chmod +x this file.
Or, if someone can point me to directions to echo my variable paths to make sure there ok.
I know I can use console other methods... though the convenience of opening and editing a file in nautilus as a admin is a nice feature

if you know the type of file maybe you can call that program directly ?

manwithaplan

02-20-2009 04:36 PM

That was actually what I was looking for... Though my debug output was null... I had no values at all. Just a "uri=" as an output. I am going to dig through the website and work on trying to get this to work.