2022年5月19日 星期四

pcmanfm GUI open as root

/home/user name/.local/share/file-manager/actions

create root.desktop

[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

沒有留言:

張貼留言