{"id":9965,"date":"2020-04-13T15:55:30","date_gmt":"2020-04-13T15:55:30","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9965"},"modified":"2020-04-13T15:55:30","modified_gmt":"2020-04-13T15:55:30","slug":"open-as-administrator-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/04\/open-as-administrator-ubuntu-20-04\/","title":{"rendered":"[Quick Tip] Add &#8216;Open as Administrator&#8217; in Ubuntu 20.04 LTS"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/classic-gnome-icon.png\" alt=\"gnome shell\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5741\" \/><\/p>\n<p>This simple tutorial shows how to add &#8216;<b>Open as Administrator<\/b>&#8216; option to file browser right-click menu in Ubuntu 20.04 LTS.<\/p>\n<p>Need to open or edit files with Administrator (root) user privilege directly from file browser in Ubuntu desktop? There&#8217;s an extension <code>nautilus-admin<\/code> can do the job in the default Gnome desktop.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/openadmin.png\" alt=\"\" width=\"600\" height=\"402\" class=\"aligncenter size-full wp-image-9966\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/openadmin.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/openadmin-450x302.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>1.<\/b> Open terminal by either pressing Ctrl+Alt+T on keyboard or searching for &#8216;terminal&#8217; from application menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/terminal-focal.jpg\" alt=\"\" width=\"490\" height=\"256\" class=\"aligncenter size-full wp-image-9967\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/terminal-focal.jpg 490w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/terminal-focal-450x235.jpg 450w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/p>\n<p><b>2.<\/b> When terminal opens, run command to install the extension:<\/p>\n<pre style=\"border:none;\">sudo apt install nautilus-admin<\/pre>\n<p>You may replace <code>nautilus-admin<\/code> with <code>caja-admin<\/code> or <code>peony-admin<\/code> if you&#8217;re running with MATE or UKUI desktop.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/nautilus-admin.png\" alt=\"\" width=\"600\" height=\"249\" class=\"aligncenter size-full wp-image-9968\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/nautilus-admin.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/04\/nautilus-admin-450x187.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Once installed, run command <b>nautilus -q<\/b> or log out and back in to apply changes.<\/p>\n<p>Note the extension only adds Administrator privilege to open folders or edit files. There&#8217;s no &#8216;Run as Administrator&#8217; option to run program as super user privilege.<\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to add &#8216;Open as Administrator&#8216; option to file browser right-click menu in Ubuntu 20.04 LTS. Need to open or edit files with Administrator (root) user privilege directly from file browser in Ubuntu desktop? There&#8217;s an extension nautilus-admin can do the job in the default Gnome desktop. 1. Open terminal by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[670],"class_list":["post-9965","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-open-as-administrator"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9965"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9965\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}