Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Meld and found out it's a great comparing tool. Unfortunately there is no integration with Nautilus 3.2. This means, I can't right click on files and select an option to open them in Meld for comparison.

I have seen in the tools comment that the tool need the diff-ext package to be installed. This package has been removed from Ubuntu universe, I am guessing because gtk 3.0. Even if I manually downloaded from source forge the diff-ext package, when I try to configure it the check fails with the message:

checking for DIFF_EXT... configure: error: Package requirements (libnautilus-extension >= 2.14.0 gconf-2.0 >= 2.14.0 gnome-vfs-module-2.0 >= 2.14) were not met:

No package 'libnautilus-extension' found
No package 'gconf-2.0' found
No package 'gnome-vfs-module-2.0' found

Ok, so from this output I gather that indeed gtk 2 is being required to install the diff extension to nautilus.

Now, my question is: Is there a possibility to integrate Meld into Nautilus? Or, are there any other diff based tool which integrate with current Nautilus? So gtk3 based.

I am using Ubuntu 11.10 if there was any doubt so far.

share|improve this question

3 Answers 3

up vote 15 down vote accepted

There is a useful python extension that incorporates Meld into Nautilus

enter image description here

enter image description here

how to install

Obtain the source or the deb package from the authors website.

wget http://www.giuspen.com/software/nautilus-pyextensions_3.0-1_all.deb

sudo apt-get install python-nautilus
sudo dpkg -i nautilus-pyextensions_3.0-1_all.deb

Search for pyextension in Dash and run Nautilus PyExtension.

Activate the meld extension (install it if asked) and click the restart Nautilus toolbar option.

GConf error

In case you find an GConf related error when trying to open Nautilus PyExtension, install "gobject-introspection" and "gir1.2-gconf-2.0":

sudo apt-get install gobject-introspection
sudo apt-get install gir1.2-gconf-2.0
share|improve this answer
    
Thank you, this work great. Plus, thank you for taking the time to make the screen shots and make the quick install description. Always good to get answers from you. –  bioShark Mar 11 '12 at 23:40
    
meld is super-duper awesome. Great integration tip. –  belacqua Apr 30 '12 at 18:50

You can also install the nautilus-compare package, available (starting with Ubuntu 12.04) from the standard Ubuntu package repositories -- run the following from a terminal:

sudo apt-get install nautilus-compare

This provides nautilus menu options for 2-way and 3-way comparisons. Meld is used by default, but any user-defined diff application can be used.

A significant advantage of this solution is that one can compare files or folders located in different directories (e.g. /home/user/a/b/c/file.txt and /home/user/d/e/f/otherfile.txt can be opened in different Nautilus windows, and compared against each other).

share|improve this answer

Nautilus script

An easier and more efficient alternative to installing a dedicated extension would be using a Nautilus script like the following one:

#!/bin/bash
meld "$@"

Installation instructions: How can I install a Nautilus script?

share|improve this answer
    
This is easily the best solution. It avoids install of yet other pkgs and related overhead. Thanks, @Glutanimate. –  u2n Jan 18 at 17:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.