Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to know if there a way to be granted root rights while using Nautilus 2.30 ?

For example I'd like to move some old folders of long unused users from the home directory - remains of previous distros (Debian).

Of course I can open a terminal, but I want to know if it is possible to do that with a mouse in Nautilus :-).

Thx!

share|improve this question

2 Answers 2

up vote 6 down vote accepted

UBUNTU <= 10.10 , 10.04

nautilus-gksu Install nautilus-gksu

Is an extension that grants root privileges using gksu nautilus.

It enables an option when you right-click on a file (also directories and other...) in nautilus: "Open as administrator". After installing it restart Nautilus (killall nautilus) and it will have the new feature.

enter image description here

Ubuntu 11.04 and 11.10,

install nautilus-gksu and copy and paste libnautilus-gksu.so file from /usr/lib/nautilus/extensions-2.0/ to /usr/lib/nautilus/extensions-3.0/

Ubuntu 12.04 & 12.10:

nautilus-gksu package has been dropped in Ubuntu 12.04 and 12.10 since “gksu” 2.0.2-6ubuntu1 release, so you can not install it easily. Here I’m going to use nautilus script to add Open As Administrator functionality.

First download the libnautilus-gksu.so file:

Click to Download libnautilus-gksu.so

Then, run gksudo nautilus in terminal (Ctrl+Alt+T) to open file browser with root privilege, copy and paste this file to /usr/lib/nautilus/extensions-3.0/. Or do it with this command:

sudo cp ~/Downloads/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/

Log out and back in, or run this command to take effect:

nautilus -q

enter image description here

source -> http://handytutorial.com/open-as-administrator-in-ubuntu-12-04-12-10/

share|improve this answer
    
I install it right now ;-) –  Stephane Rolland Feb 23 '11 at 18:51
    
Guarantees root access without asking for password? –  Oxwivi Feb 23 '11 at 18:55
1  
No it does ask the root password. Exactly what I wanted. :-). Thx. –  Stephane Rolland Feb 23 '11 at 18:58
1  
This should really be included by default. –  trampster Feb 23 '11 at 22:37
    
This no longer exists –  endolith Nov 15 '12 at 20:23

If all you need is mouse, I'd try opening a terminal and then:

$gksudo nautilus

I don't see the need to install anything

edit: this was covered here

share|improve this answer
    
I think the difference is really clear. That's the same reason for installing sudo not using su. Having su rights only for a small and delimited time is less dangerous than having them during a whole session. –  Stephane Rolland Jan 22 '13 at 18:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.