Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PCManFM Actions for Lubuntu 18.04
[Desktop Entry]
Type=Action
Name=Edit as Root
Icon=dialog-password
Profiles=profile-zero;
[X-Action-Profile profile-zero]
Exec=leafpad-pkexec %F
Name=Default profile
#!/bin/sh
pkexec /usr/bin/leafpad $1
[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=pcmanfm-pkexec %u
Name=Default profile
#!/bin/sh
pkexec /usr/bin/pcmanfm $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.