Create the directory
~/.local/share/file-manager/actions. In that folder, create
root.desktop (not pcman_root.desktop or anything else). leafpad ~/.local/share/file-manager/actions/root.desktop
Add this content:
[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 Save the file.Restart pcmanfm:
killall pcmanfm
pcmanfm
~source~
alternative link download