Follow

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 :sys_more_orange:

:sys_omgubuntu: omgubuntu.co.uk/2022/07/nautil

Sign in to participate in the conversation
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。