Last active
June 29, 2021 12:56
-
-
Save illvart/1ebce0ced0a43cca5b6737551a781b3e to your computer and use it in GitHub Desktop.
Thunar Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<actions> | |
<action> | |
<icon></icon> | |
<name>Delete/Bypass Recycle Bin</name> | |
<unique-id>1583421083799085-2</unique-id> | |
<command>rmtrash -rf %f %F</command> | |
<description>Description: Removes the selected file(s) from the disk, bypassing any local Recycle bin.</description> | |
<patterns>*</patterns> | |
<directories/> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Permanently Remove</name> | |
<unique-id>1583420991801863-1</unique-id> | |
<command>Xdialog --title "Remove..." --yesno "Do you wish to permanently remove \n %N?" 10 45 && del -f %f %F</command> | |
<description>Permanently remove selected files. Appears if selection contains any files.</description> | |
<patterns>*</patterns> | |
<directories/> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Duplicate Files/Folders</name> | |
<unique-id>1583425065179236-1</unique-id> | |
<command>cp -r --reflink=auto %N duplicated-%N %f</command> | |
<description>Duplicate folder or files.</description> | |
<patterns>*</patterns> | |
<directories/> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Copy Current Path</name> | |
<unique-id>1583421149514788-3</unique-id> | |
<command>echo -n %f | xclip -selection "clipboard"</command> | |
<description>Copies $PATH to clipboard.</description> | |
<patterns>*</patterns> | |
<directories/> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Create symlink</name> | |
<unique-id>1556550612940706-4</unique-id> | |
<command>ln -s %f \ %n</command> | |
<description>Creates an absolute symbolic link to the selected file in the same folder, which can then be moved or renamed as desired. man ln for more info.</description> | |
<patterns>*</patterns> | |
<directories/> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Paste text to gists</name> | |
<unique-id>1583426689089083-4</unique-id> | |
<command>thunar-paste-to-gist.sh -f %f</command> | |
<description>Paste any files text to https://gist.github.com</description> | |
<patterns>*</patterns> | |
<text-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Create new directory from selection</name> | |
<unique-id>1583425758921224-1</unique-id> | |
<command>thunar-new-directory-from-selection.sh %F</command> | |
<description>New directory selection folder or files</description> | |
<patterns>*</patterns> | |
<directories/> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Search Including Hidden Files/Folders</name> | |
<unique-id>1583423661207887-1</unique-id> | |
<command>catfish --hidden --path=%f</command> | |
<description>Searches entire filesystem.</description> | |
<patterns>*</patterns> | |
<directories/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Open Terminal here</name> | |
<unique-id>1583423998119931-1</unique-id> | |
<command>exo-open --working-directory %f --launch --working-directory</command> | |
<description>Open terminal in the current directory.</description> | |
<patterns>*</patterns> | |
<directories/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Open Terminal as Root</name> | |
<unique-id>1556550509096583-1</unique-id> | |
<command>gksu exo-open --working-directory %f --launch --working-directory</command> | |
<description>Opens terminal as root in current directory.</description> | |
<patterns>*</patterns> | |
<directories/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Open Folder as Root</name> | |
<unique-id>1556550549973903-2</unique-id> | |
<command>gksu thunar %f</command> | |
<description>Opens current folder with root permissions.</description> | |
<patterns>*</patterns> | |
<directories/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Open Text as Root</name> | |
<unique-id>1556550583363457-3</unique-id> | |
<command>gksu mousepad %f</command> | |
<description>Opens selected text file with root permissions. Substitute the name of your editor of choice for "gedit".</description> | |
<patterns>*</patterns> | |
<other-files/> | |
<text-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Encrypt Using GnuPG</name> | |
<unique-id>1583421949255612-5</unique-id> | |
<command>xfce4-terminal -e "gpg --recipient illvart.com -e %f"</command> | |
<description>Encrypts a file using GPG.</description> | |
<patterns>*</patterns> | |
<audio-files/> | |
<image-files/> | |
<other-files/> | |
<text-files/> | |
<video-files/> | |
</action> | |
<action> | |
<icon></icon> | |
<name>Decrypt GnuPG File</name> | |
<unique-id>1583421985418888-6</unique-id> | |
<command>xfce4-terminal -e "gpg -o %n.decrypted -d %f"</command> | |
<description>Decrypts GnuPG file, appending ".decrypted" to the decrypted filename.</description> | |
<patterns>*</patterns> | |
<other-files/> | |
</action> | |
</actions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment