Skip to content

Instantly share code, notes, and snippets.

@allenguarnes
Created May 4, 2018 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allenguarnes/c64d2cd8cc4ae05d766096cfafcf8b8b to your computer and use it in GitHub Desktop.
Save allenguarnes/c64d2cd8cc4ae05d766096cfafcf8b8b to your computer and use it in GitHub Desktop.
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