[HOW TO] Add Thunar Custom Actions
Thunar allows the user to add custom actions the the file and folder context menu (right-click).
Add custom action
The easiest way is to learn by example:
- Open Thunar, then Edit > Configure custom actions....
Enter this data:
- Name: Add to Playlist
- Command: gmusicbrowser -cmd AddFilesToPlaylist %F
- File pattern: *
- Appears if selection contains: Audio files
This will show a menu item when audio files are selected that adds them to
Thunar's custom actions are added to the XML file:
Check the references for more examples. In the meanwhile I'll post some of my own.