Anyone here use PCmanFM? Want to open as Root easily? Well read on.
Disclaimer, there is no obvious indication that PCmanFM is actually open as root. Use this with extreme caution.
Also this won’t work on the later versions of AL that don’t include gksu.
If you aren’t comfortable with this, then move on and ignore
Potential System Harming Information
- Create ./local/share/file-manager/action.
- In that folder, create a file called “root.desktop”
- Add the following:
[Desktop Entry] Type=Action Tooltip=Open Folder As Root Name=Open Folder As Root Profiles=profile-zero; Icon=gtk-dialog-authentication [X-Action-Profile profile-zero] MimeTypes=inode/directory; Exec=/usr/bin/gksu /usr/bin/pcmanfm %u Name=Default profile
- killall pcmanfm
Restart PCmanFm and voila, you should have a “open as root” entry in your context menu.
Again, for emphasis:
there is no obvious indication that PCmanFM is actually open as root. Use this with extreme caution.