Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
sudo -i pantheon-files
It is pantheon-files-pkexec
pantheon-files-pkexec
You can find it in /usr/share/applications/pantheon-files.desktop. It looks like this:
/usr/share/applications/pantheon-files.desktop
[Root Shortcut Group] Name=New Window As _Administrator Exec=pantheon-files-pkexec TargetEnvironment=Unity
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.