<h3>On Nautilus</h3>

<p>On Nautilus you have to put your scripts into the Nautilus <code>scripts</code> folder, which on my system is located here: </p>

<pre>
~/.local/share/nautilus/scripts
</pre>

<p>You can either put copies of the scripts in there, or you can do like I did and make <strong>symlinks</strong> from the Nautilus scripts folder to your <code>/home/bin</code> folder. (I prefer to make symlinks instead of copying the files in there, just in case I make any changes to my scripts. If I have made a symlink instead of copying the file, then I only have to change original script and the symlink will automatically use the updated version.) Once you've done that, you right-click on a file and choose <code>scripts</code> then <code>&lt;yourscriptname&gt;</code> to run your script on the file.</p>

<h3>Thunar</h3>

<p>On Thunar you don't have to put your scripts anywhere special. It actually handles custom actions much better than Nautilus, in my opinion. What you do is go to the <code>Edit</code> menu and choose <code>Configure custom actions</code>. Then you get a dialog box with two tabs. The first tab is where you can give your custom action a name and then tell it what command to run, and also tell it whether to apply the custom action only to the selected file, to all files in the directory, or to all selected files. On the other tab you choose the context in which this custom action will appear. You can select categories of files—like images, audio files, or text files, and so forth—or you can specify filetypes by extension, so that your custom action will only appear if you right click on a file that has the extension. </p>

<h2>Links</h2>

<ul>
	<li>Thunar <a href="https://docs.xfce.org/xfce/thunar/custom-actions">custom actions documentation</a>.</li>
	<li>Auphonic: Automatic audio post production web service for podcasts, broadcasters, radio shows, movies, screencasts and more. <a href="https://auphonic.com/">https://auphonic.com/</a></li>
</ul>