Do you want to enable the command ‘Open as Administrator’ to the context menu in Ubuntu 12.04? Well, this brief tutorial is going to show you how to do it. When this feature is enabled, you should be able to right-click any file or folder in nautilus and open it as an administrator or root. This will come in handy especially for new users who want to edit or modify files or folders owned by the root user or administrator.

Without wasting anymore of your time, let’s get going.

Objectives:

  • Add Open As Administrator to the Context Menu in Ubuntu 12.04
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to download it.

wget https://www.liberiangeek.net/blog/tools/libnautilus-gksu.so

 

open_admin_precise_2

 

Next, copy the file to the folder shown below.

sudo cp libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/

 

open_admin_precise_1

 

Restart your computer and enjoy!

 

open_admin_precise