Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old September 13th, 2006   #1
bryan4134
Just Give Me the Beans!
 
Join Date: Apr 2006
Beans: 49
Using Nautilus with root permission

Simple question I think. I want to copy files to /usr/share/themes using Nautilus rather than terminal - I am unable to as this requires root user permissions. Is there a way to do this or can it only be done in the terminal mode?
bryan4134 is offline   Reply With Quote
Old September 13th, 2006   #2
catlett
Chocolate Ubuntu Mocha Blend
 
catlett's Avatar
 
Join Date: Mar 2006
Location: Boston, MA
Beans: 1,862
Ubuntu 6.10 Edgy
Re: Using Nautilus with root permission

Open a terminal and enter
Code:
gksudo nautilus
This will open nautilus as root. Then you can do 2 things.
1. You can drag and drop files that belong to root. You may have to open another terminal and enter gksudo nautilus again to get 2 root nautilus going. That way you can open 1` to one folder and the other to another folder and then drag and drop files from one to the other.
2. You can now go to any folder and change it's permissions so you can open it's files or drag and drop it's contents when you are a user. Just right click on the folder to bring up the options menu. Then select the 'permissions' tab. You can then check of the tabs for 'others' or 'group'. If you are the only one using your computer and you want full access, you can check them all off. If you don't want other people to have access, be selective. Also don't change the permisions on system files like root and usr. They need to be root.
catlett is offline   Reply With Quote
Old September 13th, 2006   #3
xyz
Chocolate-Covered Ubuntu Beans
 
xyz's Avatar
 
Join Date: Oct 2005
Location: Fribourg,Switzerland
Beans: 2,202
Re: Using Nautilus with root permission

I like that one,too from the Dapper Guide:
Code:
gksudo gedit /usr/share/applications/Nautilus-root.desktop
Insert those lines into the file:
Quote:
[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo "nautilus --browser %U"
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;
Of course, save the file and go to: Applications -> System Tools -> File Browser (Root)

I can't get my hands on them right now but some member(s?) wrote some nice right-click-on-the-file scripts and "open as root", "gedit as root","root-nautilus-here".
I'll try to locate them on the site when I have more time.
__________________
my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755
xyz is offline   Reply With Quote
Old September 13th, 2006   #4
xyz
Chocolate-Covered Ubuntu Beans
 
xyz's Avatar
 
Join Date: Oct 2005
Location: Fribourg,Switzerland
Beans: 2,202
Re: Using Nautilus with root permission

Found one:
Quote:
how to open files as root user via right click
Insert the following lines into the new file
Quote:
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gksudo "gnome-open $uri" &
done
Save the file and make it executable:
Code:
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root
Right click on file -> Scripts -> Open as root
Might come in handy,too!
Dapper Guide.
__________________
my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755
xyz is offline   Reply With Quote
Old September 14th, 2006   #5
caimex
5 Cups of Ubuntu
 
caimex's Avatar
 
Join Date: Aug 2006
Beans: 27
Re: Using Nautilus with root permission

Quote:
Originally Posted by xyz View Post

I can't get my hands on them right now but some member(s?) wrote some nice right-click-on-the-file scripts and "open as root", "gedit as root","root-nautilus-here".
I'll try to locate them on the site when I have more time.
I have those nautilus scripts installed. You can get them easily with automatix, one of the items in the list is "nautilus scripts" or something similar.
caimex is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:59 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry