2

We have been cautioned not to use sudo nautilus to open Nautilus as root.

Have not been able to download gksu for 19.04.

Have also tried to install nautilus-admin to 19.04 without success.

Is it still possible to right click a file in Nautilus and select "open as administrator" in 19.04?

What to do?

6
  • 1
    have you also cautioned not to use sudo -H nautilus??
    – PRATAP
    Sep 8, 2019 at 17:56
  • Are you using 19.10 or 19.04? 19.10 is off-topic.
    – pomsky
    Sep 8, 2019 at 18:08
  • 1
    I am using 19.10, will see what happens with 19.04. Sep 8, 2019 at 18:28
  • 1
    Possible duplicate of How do I start Nautilus as root?
    – user68186
    Sep 8, 2019 at 21:45
  • @user68186: With 16.04 you could use gksu to open nautilus as root, With 18.04 gksu was discontinued and nautilus-admin took it's place, with 19.04 nautilus-admin is not working I think I stick with the answer I gave on that page for bootable USB drives, but want to make sure I am doing it right. Sep 8, 2019 at 22:53

1 Answer 1

4

You may use the GVfs admin backend by adding admin:// to the beginning of the full path to your preferred directory.

For example launch Nautilus and press Ctrl+L to enable the address-bar, and then enter for example admin:/// to open the / directory or admin:///usr/ to open the /usr/ directory.

Alternatively, launch Terminal and run

nautilus admin:///

to open the / directory or

nautilus admin:///usr/

to open the /usr/ directory etc.

8
  • With 18.04 we could right click and select "open as administrator" in Nautilus, is this still possible? Sep 8, 2019 at 18:04
  • Not sure about that. This answer was written for the initial version of the question.
    – pomsky
    Sep 8, 2019 at 18:11
  • @C.S.Cameron You need to install the plug-in for "open as administrator". I'll reboot after this movie and try it out in 19.04 upgraded from 16.04 later to see if it carried over from upgrade. Sep 8, 2019 at 22:46
  • @WinEunuuchs2Unix: nautilus-admin works fine for me with 18.04 but not with 19.04? Sep 8, 2019 at 22:57
  • 3
    @C.S.Cameron I beg to differ, the initial version simply asked "How to open nautilus as admin in Ubuntu 19.10". It mentioned things like sudo nautilus, gksu along with nautilus-admin and did not explicitly asked for the "right click and 'open as administrator'" feature.
    – pomsky
    Sep 9, 2019 at 17:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .