Add “Copy To” and “Move To” custom actions in Thunar file manager

If you are missing the split view or dual pane functionality in Thunar, at least you can implement a workaround by adding the following custom action definitions to your Thunar config file:

nano ~/.config/Thunar/uca.xml
<action>
	<icon>stock_folder-copy</icon>
	<name>Copy To...</name>
	<command>cp -r %F &quot;$(zenity --file-selection --directory)&quot;</command>
	<description>Copy this item</description>
	<patterns>*</patterns>
	<startup-notify/>
	<directories/>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>
<action>
	<icon>stock_folder-move</icon>
	<name>Move To...</name>
	<command>mv %F &quot;$(zenity --file-selection --directory)&quot;</command>
	<description>Move this item</description>
	<patterns>*</patterns>
	<startup-notify/>
	<directories/>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>

Source

Leave a Reply

Your email address will not be published. Required fields are marked *