I have a question, do you happen to know, which file saves all these Thunar custom actions?
Edit: looks like it is this one: (will copy it to another computer to see if it is working)
/home/mx/.config/Thunar/uca.xml
I have a question, do you happen to know, which file saves all these Thunar custom actions?
Hi,manyroads wrote: ↑Thu Jan 31, 2019 6:45 pm Since I have been putting a bunch of hours into creating/building my own Thunar Custom Actions, I thought I'd solicit comments from our Forums Community about what you have created/ use & like.
I posted a couple of my more recent creations here:
viewtopic.php?f=23&t=48279
I have a few more that I'll add once, I document their creation, for any who may benefit from these.
Code: Select all
for file in %N; do mv "$file" "$(echo "$file" | tr -s ' ' | tr ' A-Z' '-a-z' | tr -s '-' | tr -c '[:alnum:][:cntrl:].' '-')"; done
Code: Select all
xterm -e "exiftool -overwrite_original -all= %F; echo -n 'Press ENTER to continue...'; read"
Code: Select all
xterm -e "shnsplit -f %f -t "%%n-%%p-%%a-%%t" -o flac *.flac; echo -n 'Press ENTER to continue...'; read"
Code: Select all
genisoimage -r -udf --allow-limited-size -o %f.iso %F | yad --progress --title="ISO Creation" --progress-text="Please wait ... File(s) being processed." --percentage=40 --auto-close --auto-kill
Code: Select all
xterm -e "7z x %f; echo -n 'Press ENTER to continue...'; read"
Code: Select all
xterm -e "ffmpeg -i %f -acodec alac %f.m4a; echo -n 'Press ENTER to continue...'; read"
Many of those I mention are simply links to bash scripts...
I really like this one and made two out of it for my digital text librariesBrigs wrote: ↑Sat Feb 23, 2019 9:11 am Wow... nice tutor Thunar action here. i'll give share of mine action
Slug Filename : Rename the currently selected files, making the filenames lower-case & replacing spaces with dashesCode: Select all
for file in %N; do mv "$file" "$(echo "$file" | tr -s ' ' | tr ' A-Z' '-a-z' | tr -s '-' | tr -c '[:alnum:][:cntrl:].' '-')"; done
Code: Select all
for file in %N; do mv "$file" "$(echo "$file" | tr -s ' ' | tr -s '-' | tr -c '[:alnum:][:cntrl:].' '-')"; done
Code: Select all
for file in %N; do mv "$file" "$(echo "$file" | tr -s '_' | tr -s ' ' | tr -c '[:alnum:][:cntrl:].' '-')"; done
Good news for me, so I have to learn and retry Thunar.