Using Kdiff3 tool as example action to add to the SendTo menu of Thunar.

Create the following file in ~/.local/share/Thunar/sendto and name it <whatever>.desktop (I named mine ‘kdiff3.desktop’) :

# kdiff3.desktop - Integrate kdiff3 into
# the "Send To" menu.
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
TryExec=kdiff3
Exec=kdiff3 %F
Icon=kdiff3
Name=Kdiff3
# MimeType=text/plain;

 

The MimeType is optional so in my case (since you may compare any two files kdiff3, not just text) I commented it out.

After creating the above file (and restarting Thunar!) you will be able to select 2 or 3 files and send them to kdiff3 for comparison! To do this – right-click on the files you want to compare and navigate to to the menu shown in the picture below.

thunar-context-menu-add-item-to-send-to

Tagged with:
 

Leave a Reply

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

Set your Twitter account name in your settings to use the TwitterBar Section.