Access Root Directory in Nautilus File Manager

Once upon a time, Nautilus allowed accessing the root directory from ‘Other locations’ option in the sidebar.

This tiny but useful option has disappeared in the recent versions. But you can still access root folder in Nautilus by typing / in the address bar.

Let’s see it in a bit more detail in this quick tutorial for Linux beginners.

Nautilus is the default file explorer in GNOME desktop environment and thus it should be applicable for Ubuntu, Fedora and many other distributions that use GNOME.

Access root directory from Nautilus

Open the Nautilus file manager. You’ll notice that there is an address bar on the top that displays like Home or the current location. Click on it and you’ll see that you can enter text here.

All you have to do is to enter / here. That’s it.

Access Root Directory in Nautilus File Manager
Click on the address bar and enter /

If it helps, here’s a video of the entire process to show things better.



0:00

/0:13





Access root directory as a normal user

There is one tiny thing to note here. You’ll be accessing the root directory as a normal user. So while you can read most files, you won’t be able to create new or modify existing ones.

If you want that, you can easily do that. Let me show that in the next section.

Access root directory as a root user

Open the Nautilus file explorer and type the following in the address bar:

admin://
Access Root Directory in Nautilus File Manager

You’ll be asked to enter the password. That will be your own user account password.

Here’s a video to show things in a better way.



0:00

/0:15





When you access the root directory as an admin (sudo), you can make changes here, create new files etc. This comes handy in situations where you have to make changes to config files and you want to avoid the terminal. Files opened from here will be opened in graphical text editor, easier to modify.

This is different from opening any file as root trick I shared earlier.

Open Files and Folders as Admin in Nautilus File Manager
Learn to add an โ€œOpen as Administratorโ€ option in the right click context menu in Nautilus file manager in Ubuntu and other Linux distributions.
Access Root Directory in Nautilus File Manager

Conclusion

This is one of the many Nautilus tweaks that you can use to get more out of it.

15 Ways to Tweak Nautilus File Manager in Linux
Nautilus, aka GNOME Files, is a good file manager with plenty of features. You can further enhance your experience by using these extensions, tweaks and tips.
Access Root Directory in Nautilus File Manager

It’s quite powerful and it is always good to explore the less obvious features of your regular tools. In that regard, you may also want to learn a thing or two about utilizing the search feature in Nautilus.

Mastering Nautilus File Search in Linux Desktop
Become a pro finder with these handy tips to improve your file search experience with GNOMEโ€™s Nautilus file search.
Access Root Directory in Nautilus File Manager

As I mentioned initially, the option to access root files used to be under the ‘Other locations’ in the left sidebar. It is removed and replaced by a clandestine method. I think the rational behind this decision was to avoid accidental changes to root files. That’s just my guess. I let you enjoy this quick Nautilus tip.

Leave a Comment