{"id":382,"date":"2010-04-28T14:29:02","date_gmt":"2010-04-28T13:29:02","guid":{"rendered":"http:\/\/www.any-where.de\/blog\/?p=382"},"modified":"2010-04-28T14:31:14","modified_gmt":"2010-04-28T13:31:14","slug":"plug-ins-for-gedit-count-results-or-compare-files","status":"publish","type":"post","link":"https:\/\/www.any-where.de\/blog\/plug-ins-for-gedit-count-results-or-compare-files\/","title":{"rendered":"Plug-ins for gedit: count results or compare files."},"content":{"rendered":"<p>Well, after I could <a href=\"\/blog\/count-search-results-in-gedit\/\">count words in a gedit document<\/a> based on a selection I made, I decided to add another missing feature:<\/p>\n<p>I needed a diff tool to compare two files that are currently opened in gedit. Unfortunately, gedit doesn&#8217;t come along with these kind of features. So, another plug-in was needed.<\/p>\n<p><strong>Meldlauncher<\/strong><\/p>\n<p>What it does? It simply starts the open source diff &amp; merge tool <a href=\"http:\/\/meld.sourceforge.net\/\" target=\"_blank\">Meld<\/a> using two documents opened in gedit. That&#8217;s why I called it meldlauncher. Therefore, if you want to use meldlauncher, you will need to have Meld installed. On Ubuntu do something like this:<\/p>\n<pre>sudo apt-get install meld<\/pre>\n<p>If there are only two documents opened in gedit, meldlauncher will launch Meld and pass those two files to it. If there are more than two documents opened, meldlauncher will open a selection dialog from which you can easily choose the document to compare the current document with.<\/p>\n<p>I moved both the counter plug-in and the meldlauncher plug-in to Github. Feel free to grab it from there:<\/p>\n<p><a href=\"http:\/\/github.com\/mmuell23\/mmuell23\" target=\"_blank\">http:\/\/github.com\/mmuell23\/mmuell23<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, after I could count words in a gedit document based on a selection I made, I decided to add another missing feature: I needed a diff tool to compare two files that are currently opened in gedit. Unfortunately, gedit doesn&#8217;t come along with these kind of features. So, another plug-in was needed. Meldlauncher What &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.any-where.de\/blog\/plug-ins-for-gedit-count-results-or-compare-files\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Plug-ins for gedit: count results or compare files.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4],"tags":[128,126,127,129,241,68],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-linux","category-programming-the-web","tag-gedit","tag-git","tag-github","tag-gnome","tag-linux","tag-ubuntu"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/comments?post=382"}],"version-history":[{"count":4,"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":384,"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/posts\/382\/revisions\/384"}],"wp:attachment":[{"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/media?parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/categories?post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.any-where.de\/blog\/wp-json\/wp\/v2\/tags?post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}