**Thunar** allows you to add custom actions to the right click menu.
From the menu bar, select "Edit > Custom Actions". Then you can set a name and the command for your action. In the command field `%f` will be substituted for the path of the selected file.
More instructions and examples can be found here: <
Unfortunately, I don't think it works with removable media in the sidebar. Only files.