A Faster Way to Edit Text Files as Root in Ubuntu
Here’s a little time-saver if you (like me) often need to edit text files as root in a graphical app on Ubuntu. Simply go to a terminal and run: sudo apt install nautilus-admin Quit Nautilus and re-open. Henceforth, you can right-click on pretty much any file in the file manager and select “Edit as Administrator” — a bit Windows-y worded, that — to open the file with root permissions in whatever the default/associated app for that type is. And open it as root safely, without inadvertently screwing up the location of any configuration files touched during your session. Is this
#HowTo #Nautilus
https://www.omgubuntu.co.uk/2022/07/nautilus-admin-open-file-as-root-ubuntu