Open Current Folder As Root
A note on “Open Current Folder As Root” in PCManFM-Mod:
This Arch/gksudo bug may render the “Open Current Folder As Root” command in pcmanfm and pcmanfm-mod unresponsive because by default the programs use /usr/bin/gksudo
No error will be displayed but the root folder won’t open. You can see the error by manually running:
/usr/bin/gksudo "pcmanfm-mod --no-desktop '/home/'" sudo: sorry, a password is required to run sudo
On Arch /usr/bin/gksudo is a link to /usr/bin/gksu, so one temporary method to avoid this problem is to force pcmanfm-mod to use gksu by deleting /usr/bin/gksudo (if that’s missing, pcmanfm-mod will use gksu).
Or, you can use the following patch for vfs-utils.c, which causes it to prefer gksu over gksudo: