{"id":1094,"date":"2013-07-27T12:06:39","date_gmt":"2013-07-27T12:06:39","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=1094"},"modified":"2013-07-27T12:06:39","modified_gmt":"2013-07-27T12:06:39","slug":"how-to-add-file-compare-to-ubuntu-nautilus-context-menu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/07\/how-to-add-file-compare-to-ubuntu-nautilus-context-menu\/","title":{"rendered":"How to Add &#8216;File Compare&#8217; to Ubuntu Nautilus Context Menu"},"content":{"rendered":"<p>This simple tutorial shows you how to <b>add \u2018File Compare\u2019 option on Nautilus\u2019 context menu in Ubuntu 13.04 Raring Ringtail.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/file-compare-nautilus-context-menu.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/file-compare-nautilus-context-menu.jpg\" alt=\"file compare in nautilus\" width=\"400\" height=\"312\" class=\"aligncenter size-full wp-image-1095\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/file-compare-nautilus-context-menu.jpg 400w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/file-compare-nautilus-context-menu-300x234.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>There are a few tools in Ubuntu allow to compare files or folders, such as Meld Diff Viewer, Kdiff3. <i>Nautilus-compare<\/i> is a simple plugin that integrates them with Nautilus file browser.<\/p>\n<p>Press <u>Ctrl+Alt+T<\/u> on your keyboard to open temrinal. When it opens, run below command to install this plugin:<\/p>\n<pre>sudo apt-get install nautilus-compare<\/pre>\n<p>Once installed, open &#8220;Nautilus Compare Extension Preferences&#8221; from Unity Dash and choose your diff veiwer:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/nautilus-compare-extension.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/nautilus-compare-extension.jpg\" alt=\"nautilus file compare extension\" width=\"422\" height=\"257\" class=\"aligncenter size-full wp-image-1096\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/nautilus-compare-extension.jpg 422w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/nautilus-compare-extension-300x182.jpg 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><\/p>\n<p>Finally, restart Nautilus by below command to apply changes:<\/p>\n<pre>nautilus -q<\/pre>\n<p>For Ubuntu 13.04, due to bugs you need to run below command to get it work:<\/p>\n<p><i>for 32-bit:<\/i> <\/p>\n<pre>sudo ln -s \/usr\/lib\/i386-linux-gnu\/libpython2.7.so.1 \/usr\/lib\/libpython.2.7.so<\/pre>\n<p><i>for 64-bit:<\/i><\/p>\n<pre>sudo ln -s \/usr\/lib\/x86_64-linux-gnu\/libpython2.7.so.1 \/usr\/lib\/libpython.2.7.so<\/pre>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows you how to add \u2018File Compare\u2019 option on Nautilus\u2019 context menu in Ubuntu 13.04 Raring Ringtail. There are a few tools in Ubuntu allow to compare files or folders, such as Meld Diff Viewer, Kdiff3. Nautilus-compare is a simple plugin that integrates them with Nautilus file browser. Press Ctrl+Alt+T on your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[325,206],"class_list":["post-1094","post","type-post","status-publish","format-standard","hentry","category-unity","tag-file-compare-in-nautilus","tag-time"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=1094"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1094\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}