Topic: HOWTO: Add folder destinations to the Thunar sendto action.
Functionality that I enjoyed on other operating systems is the ability to create destinations and actions in the context menu of the file browser. Thunar has this functionality though it is a bit of chore to setup. First a screenshot showing the result.
The first step is to create the directory,
mkdir ~/.local/share/Thunar/sendto Here we'll add what are called dot desktop files. Notice in screenshot the menu option called Podcast Archive. Here is the file, placed in the ~/.local/share/Thunar/sendto directory.
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Exec=/home/will/.local/share/Thunar/sendto/mvtmp %F
Icon=stock_undo
Name=Podcast ArchiveThe file referred to on the "Exec=" line is a script that simply move the highlighted file to an archive directory. Here I put the script in the same directory as the dot desktop files but it doesn't have to go there. The applications or scripts either have to be explicitly referred to or the they have to be in your $PATH.
Here is the whole script.
#!/bin/bash
#Move files using sendto functionality
mv $1 ~/podcast-archive/
exit # This is just a sample as the sendto functionality could be used for a variety of other functions.
