I have installed meld in Ubuntu 10.10. Is there any way I can get something like "Select left to compare" and "Compare with" context menu for files that is there in Beyond Compare.
migrated from stackoverflow.com Jul 8 '11 at 0:34
This question came from our site for professional and enthusiast programmers.
Install Nautilus actions.
System > Settings > Nautilus Actions
Define new action:
Then restart nautilus
Here's a slightly different approach that works great for me. (I'm using Nemo on Ubuntu 13.10).
From now on, whenever you need to compare 2 or more files, select the files, right click on them, and select 'meld' listed under "Open With". Meld will open with the diff.
I dig this setup. Keeps the Right click context menu cleaner and also gets meld working from inside Nemo, without installing anything new.
Caveat: Doesn't work for folders. However, comparing folders is anyway a rarely used action. I'm happy to use the Terminal for doing that. i.e. by doing this from the shell prompt: meld folder1 folder2
P.S. -- This trick is also great for setting the default applications to be used for opening different types of files.
Here is an updated version of @darthvader's answer for Ubuntu 13.10 with screenshots:
Install Nautilus Actions and open the application.
Under the Action tab, use the icon path:
Under command, use meld with %F
And under the environment tab, set the Count to be strictly greater than 1.