3

I am running the latest version of kdiff3 on Linux Mint 19.1.

When I install kdiff3 on Windows 10, I can then select two files in the file explorer and subsequently right click, the resulting context menu offers a kdiff3 compare option.

Is there a way I can can have a similar behaviour in Nemo file manager on Linux Mint?

Thanks

3 Answers 3

0

"Nautilus scripts" has been done for that purpose.

See this documentations: (in french, sorry)

Note that nautilus-actions is no longer supported

0

This should work.

1 - Create a ~/.local/share/nemo/scripts/kdiff.bash file

2 - Enter this into the file:

#!/bin/bash
readarray -t FILES <<<"$NEMO_SCRIPT_SELECTED_FILE_PATHS"
a="${FILES[0]}"
b="${FILES[1]}"
kdiff3 "$a" "$b"

3 - Make the file executable

Now, you should have the "kdiff.bash" option in the "scripts" context menu of Nemo.

-1

I do not know a diff tool having this option from the file browser, but will be interesting !

I do not know (until now) kdiff3, I use 'Meld' (entry 5 on the https://www.tecmint.com/best-linux-file-diff-tools-comparison/ )

Here is a good tool to find softwares alternatives : https://alternativeto.net/software/meld/?platform=linux

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .