Add Open As Administrator to the Context Menu in Ubuntu 12.04 (Precise Pangolin)

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.


  • 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.

Enhance your coding experience with this split keyboard that offers up to 9" of separation.





Next, copy the file to the folder shown below.

sudo cp /usr/lib/nautilus/extensions-3.0/




Restart your computer and enjoy!



Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Invest in some screen real estate with a new big screen, backlit monitor availabe in five different sizes and price points.

6 thoughts on “Add Open As Administrator to the Context Menu in Ubuntu 12.04 (Precise Pangolin)”

  1. It worked for me! :-)

    Running Ubunto 12.04 LTS

    The ‘Open as administrator’ did not appear in the bottom as per the screenshot, but between ‘Send To…’ and ‘Compress’

    Many thanks

  2. Hi,
    when I follow your instructions, the terminal asks for my password.
    I only know of the password I use to open Ubuntu,
    and that isn’t it, clearly.
    When I try to type it, nothing appears in the terminal.
    After pressing Enter, it says ‘Please try again’,
    or words to that effect.
    Maybe this isn’t the right place to ask, but I just thought I’d give it a try. :)

Leave a Reply

Your email address will not be published. Required fields are marked *