You are not logged in.
Pages: 1
Since there doesn't seem to be a possiblity to define system-wide (like in "that apply to every user") Thunar custom actions, I wrote something to achieve that.
Github/nobodyinperson/thunar-custom-actions
It started as a simple XML merger to merge the system-wide Thunar custom actions into each user's Thunar configuration without touching the actions that were there before, but evolved into a pretty decent set of M4 macros that enables quick setup of sophisticated custom actions.
Features:
ensure all needed software is present, e.g. on configuration migration or system reinstallation
ensure nonexistent files don't get accidentally overwritten
ensure a broken or failing action command does not accedentally delete files
indicate progress on long-running actions
be able to interrupt an action
warn if an action failed
provide translations
maintenance: be able to apply changes to all actions at once
With these features (at this time of writing) actions are available for:
rotating images
shrinking images
grayscaling images
filling transparent areas in images with a given color
converting images to an A4 multi-page PDF document
concatenating PDF documents into one
shrinking PDF file sizes
de/encrypting arbitrary files with GPG
finding big elements in a folder
creating symbolic links to files
showing checksums (MD5,SHA1,SHA256) of files
Debian packages are available as well as the autoconf way of installation with configure and make.
System-wide, easy to install, sophisticated Thunar custom actions
Offline
Many thanks for the excellent work. Functions perfectly!
Vielen Dank für die hervorragende Arbeit, insbesondere aber für die Verknüpfung!
Die Standardaktion läßt ja zu wünschen übrig, ich hatte diese zwar nochmal geändert, aber mit Zenity war es mir doch zu umfangreich.
Jetzt ist es perfekt.
Offline
Very glad to hear that :-)
[ I think I will stick to English so everyone here can understand it :-D ]
Has there ever been a pre-defined action shipping with Thunar for creating symbolic links? :-O
I was not aware of that. I only have predefined actions for searching and opening a terminal in a folder.
System-wide, easy to install, sophisticated Thunar custom actions
Offline
There's one in the Xfce documentation, but I don't know if it ever shipped with the app (though we include it): http://docs.xfce.org/xfce/thunar/custom-actions
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
@Clio: I just enabled creating links also to directories, not only files. That wasn't possible before. The next release version v0.0.15 will include this.
Just out of curiosity, may I ask how you installed thunar-custom-actions?
debian package from the releases page
my apt repository
old-fashioned way configure - make - make install
from source tarball
from cloned git repository
System-wide, easy to install, sophisticated Thunar custom actions
Offline
less aggressive PDF compression on reduce PDF size action
allow creating links to directories in create symbolic link action
add asymmetric GPG en/decryption actions
There is now a minor drawback: Decrypting multiple symetrically encrypted files now prompts for the password on every file. This was necessary to easily integrate asymmetrical de/encryption. Now both can be mixed on decrypting action.
Recipient's public key selection (based on gpg2 --list-public-keys):
Last edited by nobodyinperson (2017-06-15 11:33:22)
System-wide, easy to install, sophisticated Thunar custom actions
Offline
@nobodyinperson
I've it from git repo and compiled on my Testsystem (Debian Sid), than I add the action "Symlink" in .config/Thunar/uca.xml.
My other actions are unchanged.
...I just enabled creating links also to directories, not only files. That wasn't possible before...
This is also now already, if you select directory on the second page.
Offline
This is also now already, if you select directory on the second page.
Yes, I actually just forgot to include that in the xml files before :-) Now it's there.
System-wide, easy to install, sophisticated Thunar custom actions
Offline
I've it from git repo and compiled on my Testsystem (Debian Sid), than I add the action "Symlink" in .config/Thunar/uca.xml.
My other actions are unchanged.
Okay so you were just interested in the create symlink action? I am still elaborating on a system to allow users merging only specific custom actions provided by thunar-custom-actions into their configuration, not all at once, like
uca-apply update
does. Because I can imagine that people won't always want all of the actions I wrote.
System-wide, easy to install, sophisticated Thunar custom actions
Offline
Version v0.0.16 comes with better error handling for GNUPG actions:
let gnupg crate its missing configuration directory if necessary
start gpg-agent if necessary
warn and stop if there are no public keys available on asymmetric encryption
Also, converting to PDF now asks for the output PDF's orientation:
System-wide, easy to install, sophisticated Thunar custom actions
Offline
Version v0.0.18 adds an action to convert images to arbitrary formats:
System-wide, easy to install, sophisticated Thunar custom actions
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 588.78 KiB (Peak: 605.63 KiB) ]