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.
Nice!!
Great job! Thanks
Very cool, thanks. It looks like we cant have this and folder color installed at the same time…?
what a stupid thing to do. make it easy for people to ruin their root…..
Sure is a nice feature for single user computers.
Awesome tip for experienced users.
Thanks. Dangerous if you do the wrong file, but for my purposes and lack of talent, it is a nice tool
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.