Nautilus as Root in Ubuntu

Firstly, you can just run Nautilus as root from the command line with:

gksudo nautilus

The following procedure will add a root file browser to the Applications | System Tools menu.

I got this from http://ubuntuforums.org/archive/index.php/t-256998.html.

Create a text file with:

gksudo gedit /usr/share/applications/Nautilus-root.desktop

Add these lines to the file:

[Desktop Entry]<br />
Name=File Browser (Root)<br />
Comment=Browse the filesystem with the file manager<br />
Exec=gksudo "nautilus --browser %U"<br />
Icon=file-manager<br />
Terminal=false<br />
Type=Application<br />
Categories=Application;System;<br />

Open Nautilus with: Applications -> System Tools -> File Browser (Root)

An Alternative

This is from a comment by Cerebrux to this post:

1) Open Synaptic and install the “nautilus-gksu”

2) Logout- Login

3) And now do right-click on a folder and “open as administrator”.

P.S. If you want the “open terminal here” in your right-click, then just install “nautilus-open-terminal”

Firstly, you can just run Nautilus as root from the command line with:

gksudo nautilus

The following procedure will add a root file browser to the Applications | System Tools menu.

I got this from http://ubuntuforums.org/archive/index.php/t-256998.html.

Create a text file with:

gksudo gedit /usr/share/applications/Nautilus-root.desktop

Add these lines to the file:

[Desktop Entry]<br />
Name=File Browser (Root)<br />
Comment=Browse the filesystem with the file manager<br />
Exec=gksudo "nautilus --browser %U"<br />
Icon=file-manager<br />
Terminal=false<br />
Type=Application<br />
Categories=Application;System;<br />

Open Nautilus with: Applications -> System Tools -> File Browser (Root)

An Alternative

This is from a comment by Cerebrux to this post:

1) Open Synaptic and install the “nautilus-gksu”

2) Logout- Login

3) And now do right-click on a folder and “open as administrator”.

P.S. If you want the “open terminal here” in your right-click, then just install “nautilus-open-terminal”

Be Sociable, Share!

2 thoughts on “Nautilus as Root in Ubuntu

  1. Simply

    1) Open Synaptic and install the “nautilus-gksu”

    2) Logout- Login

    3) And now do right-click on a folder and “open as administrator”.

    P.S. If you want the “open terminal here” in your right-click, then just install “nautilus-open-terminal”

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>