Enable "open as administrator" in Nautilus File Manager"
This article describes how to enable "open as administrator" in the Nautilus File Manager in Ubuntu Linux. The Nautilus extension named Nautilus Admin has been created for a period of time. This is a simple Python script that adds some management operations to the right-click menu:
- Open as Administrator: Open the folder in the new Nautilus window that runs with the Administrator (root) permission.
- Edit as Administrator: open the file in the Gedit window running as Administrator (root.
To install the Nautilus extension:
This extension can be used for all current Ubuntu versions: Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.
1. Simply press Ctrl + Alt + T or open "terminal" from the application initiator. Then run the following command:
Sudo apt-get install nautilus-admin
Enter your password when it prompts and presses the Enter key (no visual feedback is provided during input ).
2. Run the following command to restart Nautilus:
Nautilus-q
. Open the Nautilus File Manager again and enjoy the new context menu options.
Https://www.bkjia.com/Linux/2018-02/150973.htm