{"id":7516,"date":"2018-02-15T12:54:55","date_gmt":"2018-02-15T12:54:55","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=7516"},"modified":"2018-02-15T13:04:42","modified_gmt":"2018-02-15T13:04:42","slug":"open-as-admin-nautilus-file-browser","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/02\/open-as-admin-nautilus-file-browser\/","title":{"rendered":"Enable &#8220;Open as Admin&#8221; in Nautilus File Browser"},"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>It&#8217;s been a long time last time I wrote about how to enable &#8220;Open as root&#8221; or &#8220;Open as Administrator&#8221; in Nautilus&#8217; context menu.  <\/p>\n<p>A Nautilus extension called <b><a href=\"https:\/\/github.com\/brunonova\/nautilus-admin\" target=\"_blank\">Nautilus Admin<\/a><\/b> has been created for a period of time. It&#8217;s a simply Python script that adds some administrative actions to the right-click menu:<\/p>\n<ul>\n<li><b>Open as Administrator<\/b>: opens a folder in a new Nautilus window running with administrator (root) privileges.<\/li>\n<li><b>Edit as Administrator<\/b>: opens a file in a Gedit window running with administrator (root) privileges.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/nautilus-open-as-admin.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/nautilus-open-as-admin-600x424.jpg\" alt=\"\" width=\"600\" height=\"424\" class=\"aligncenter size-large wp-image-7518\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/nautilus-open-as-admin-600x424.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/nautilus-open-as-admin-450x318.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/nautilus-open-as-admin-768x543.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/nautilus-open-as-admin.jpg 849w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h4>To install the Nautilus extension:<\/h4>\n<p>The extension is available for all current Ubuntu releases: Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.<\/p>\n<p><b>1.<\/b> Simply open &#8220;Terminal&#8221; either via Ctrl+Alt+T or from app launcher. Then run command:<\/p>\n<pre style=\"border:none;\">sudo apt-get install nautilus-admin<\/pre>\n<p><i>Input your password (no visual feedback while typing) when it prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/install-nautilusadmin-600x80.jpg\" alt=\"\" width=\"600\" height=\"80\" class=\"aligncenter size-large wp-image-7519\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/install-nautilusadmin-600x80.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/install-nautilusadmin-450x60.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/install-nautilusadmin.jpg 675w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Then restart Nautilus via command:<\/p>\n<pre style=\"border:none;\">nautilus -q<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/restart-nautilus-600x79.jpg\" alt=\"\" width=\"600\" height=\"79\" class=\"aligncenter size-large wp-image-7520\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/restart-nautilus-600x79.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/restart-nautilus-450x59.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/02\/restart-nautilus.jpg 613w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>That&#8217;s it. Open nautilus file browser again and enjoy with new context menu options!<\/p>","protected":false},"excerpt":{"rendered":"<p>It&#8217;s been a long time last time I wrote about how to enable &#8220;Open as root&#8221; or &#8220;Open as Administrator&#8221; in Nautilus&#8217; context menu. A Nautilus extension called Nautilus Admin has been created for a period of time. It&#8217;s a simply Python script that adds some administrative actions to the right-click menu: Open as Administrator: [&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,671,1327,1468,1527],"class_list":["post-7516","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-open-as-administrator","tag-open-as-root","tag-ubuntu-16-04","tag-ubuntu-17-10","tag-ubuntu-18-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7516","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=7516"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7516\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=7516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=7516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=7516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}