Source:
Create custom actions with the Thunar file manager
The Thunar file managers is one of the best graphical file manager available for the Linux operating system. Thunar is the file manage of choice for the Xfce 4 desktop as well as Enlightenment E17. Written in GTK+ 2, Thunar can be used in nearly any X Windows graphical environment with GTK+ 2 support.
One of the most under-appreciated aspects of Thunar is the ability to create custom actions. A custom action is a user-configure item that interacts with Thunar plugins so you can quickly take action on files within a directory. Say, for instance, you want to quickly print a file. Instead of having to open that file in the dedicated application, you simple right click a file and you will see a newly created Print File custom action that I am going to show you how to create.