MintGuide.org / Install Meld - visual diff and merge tool on Linux Mint

Install Meld - visual diff and merge tool on Linux Mint

Meld helps you review code changes and understand patches. It might even help you to figure out what is going on in that merge you keep avoiding.

Features:

Install Meld 3.12.3 - visual diff and merge tool on Linux MintInstall Meld 3.12.3 - visual diff and merge tool on Linux Mint

Installation into Linux Mint 15/16/17/17.1/17.2:

sudo apt-get install meld

Installation Meld 3.14.0 into Linux Mint 15/16/17/17.1/17.2:

cd /tmp; wget http://archive.ubuntu.com/ubuntu/pool/universe/m/meld/meld_3.14.0-1_all.deb; sudo dpkg -i meld_3.14.0-1_all.deb
sudo apt-get -f install

Install Meld 3.12.3 - visual diff and merge tool on Linux MintInstall Meld 3.12.3 - visual diff and merge tool on Linux Mint 

Integration Meld into a text editor (Gedit) for easier comparison (The decision taken from webupd8.org):

In Gedit, go to Edit > Preferences and on the "Plugins" tab, enable the "External tools" plugin. Then click "Configure Plugin", add a new external tool (the "+" button), give it a name like "Compare with Meld", additionally set a keyboard shortcut for it and under the "Edit" field, enter this:

meld $GEDIT_CURRENT_DOCUMENT_DIR/$GEDIT_CURRENT_DOCUMENT_NAME `zenity --file-selection --title="File for comparsion" --filename=/home/` &

Now whenever you press the keyboard shortcut you've set above or go to Tools > External Tools > Compare with Meld (or whatever name you've set for the custom external tool), a Zenity window will popup letting you browse for a file to compare with the currently active file in Gedit.

Install Meld 3.12.3 - visual diff and merge tool on Linux MintInstall Meld 3.12.3 - visual diff and merge tool on Linux Mint 

Good Luck!!!

http://meldmerge.org/

22-04-2015, 12:37
Go Back