[Quick Tip] Add ‘Open as Administrator’ in Ubuntu 20.04 LTS

Last updated: April 13, 2020

gnome shell

This simple tutorial shows how to add ‘Open as Administrator‘ option to file browser right-click menu in Ubuntu 20.04 LTS.

Need to open or edit files with Administrator (root) user privilege directly from file browser in Ubuntu desktop? There’s an extension nautilus-admin can do the job in the default Gnome desktop.

1. Open terminal by either pressing Ctrl+Alt+T on keyboard or searching for ‘terminal’ from application menu.

2. When terminal opens, run command to install the extension:

sudo apt install nautilus-admin

You may replace nautilus-admin with caja-admin or peony-admin if you’re running with MATE or UKUI desktop.

Once installed, run command nautilus -q or log out and back in to apply changes.

Note the extension only adds Administrator privilege to open folders or edit files. There’s no ‘Run as Administrator’ option to run program as super user privilege.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

9 responses to [Quick Tip] Add ‘Open as Administrator’ in Ubuntu 20.04 LTS

  1. Nice!!

  2. Great job! Thanks

  3. Very cool, thanks. It looks like we cant have this and folder color installed at the same time…?

  4. what a stupid thing to do. make it easy for people to ruin their root…..

  5. Awesome tip for experienced users.

  6. Thanks. Dangerous if you do the wrong file, but for my purposes and lack of talent, it is a nice tool

  7. thanks but how to open applications as a admin?

    • There’s no ‘Run program as admin’ in Linux as far as I known. Applications that need admin permissions (e.g., Grub Customizer, Synaptic Package manager) will pop-up an authentication dialog during run-time.