Skip to content

Instantly share code, notes, and snippets.

@odysseusPolytropos
Forked from VolMi/meld-diff.nemo_action
Last active February 27, 2020 08:02
Show Gist options
  • Save odysseusPolytropos/ce1cc38784f3ace22ba0 to your computer and use it in GitHub Desktop.
Save odysseusPolytropos/ce1cc38784f3ace22ba0 to your computer and use it in GitHub Desktop.
Nemo action "Compare with meld"
[Nemo Action]
Active=true
Name=Compare with meld
Name[cz]=Srovnání s meld
Name[de]=Mit meld vergleichen
Name[fr]=Comparer avec meld
Name[nl]=Vergelijk met meld
Comment=Show differences between files or directories
Comment[cz]=Ukázat rozdíly mezi souborama a složky
Comment[de]=Zeige Unterschiede zwischen Dateien oder Ordnern
Exec=meld %F
Icon-Name=meld
Selection=m
Extensions=any;
Dependencies=meld;
EscapeSpaces=true
@odysseusPolytropos
Copy link
Author

From original gist:
This little nemo action allows to compare selected (text-) files using the diff-and-merge-tool meld.

Using latest nemo, put this either into your local folder

~/.local/share/nemo/actions/

or to use it system-wide:

/usr/share/nemo/actions/

Of course, meld is required. It is usually available in your distribution's repository.

My fork of this, because there is (for some reason?) no possibility to make pull requests for gists.
I just added the extension attribute, that is necessary + added CZ language + dependency to meld.

@jorgecasas
Copy link

Also, I found very usefull when using nemo with multiple panels to be able to select one dir/file and save to compare later (see https://wiki.archlinux.org/index.php/Nemo#Nemo_Actions )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment