5

When I right click on Files in the Dock, I can chose to open "New Windows As Administrator":

What command does this execute? Is it sudo -i pantheon-files?

13

It is pantheon-files-pkexec

You can find it in /usr/share/applications/pantheon-files.desktop. It looks like this:

[Root Shortcut Group]
Name=New Window As _Administrator
Exec=pantheon-files-pkexec
TargetEnvironment=Unity

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy