Re: Launching Nautilus as su?



On Sat, 2007-07-21 at 23:06 +0000, George Fragos wrote:
> Giorgos <giorgos67 <at> gmail.com> writes:
> 
> > 

> Place the following three line in a file called "Open as Administrator".  Place
> the file in ~/.gnome2/nautilus-scripts and give it execution permission.
> 
> for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
> gksudo "gnome-open $uri" &
> done
> 
> In nautilus, you can right click any file or folder and select this script.  The
> application associated with the files mime type will be executed as root.  If
> the object was a folder, it will be opened as a new instance of nautilus as
> root.  I changed the root nautilus background color to help me keep track of
> what I'm doing.  I also changed the root gedit background for the same reason.
> 
Good idea George.  I am going to change my 'root backgrounds' right now.

-- 
Regards Bill




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]