-   Ubuntu (
-   -   Temporary root-access in Nautilus? (

General 07-15-2006 05:32 PM

Temporary root-access in Nautilus?
Is there some way to gain temporary root-access while in Nautilus, so that specific tasks that need root log-in can be performed, such as changing permissions of files? (under Ubuntu)

fragos 07-15-2006 07:44 PM

Nautilus scripts are your answer. Create a file "Open as Administrator" with the following 3 lines.

gksudo "gnome-open $uri" &

Place the file in folder ~/.gnome2/nautilus-scripts

Open Naultilus and right click on a file or directory hover "Scripts" and select "Open as Administrator". The item will be opened as root. You can also place any bash script in that folder as well. I have one that opens a terminal with the directory set to that of the file right clicked.

-=Graz=- 07-15-2006 09:19 PM

just typing $sudo nautilus - in a terminal window should work on the fly as well :)

aysiu 07-15-2006 11:34 PM


gksudo nautilus

All times are GMT -5. The time now is 08:19 AM.