{"id":32,"date":"2005-05-10T00:31:34","date_gmt":"2005-05-10T00:31:34","guid":{"rendered":"http:\/\/www.reactivated.net\/weblog\/archives\/2005\/05\/sorting-out-the-gamin-mess-testers-needed\/"},"modified":"2005-10-21T10:37:45","modified_gmt":"2005-10-21T10:37:45","slug":"sorting-out-gamin-brokenness-testers-needed","status":"publish","type":"post","link":"http:\/\/www.reactivated.net\/weblog\/archives\/2005\/05\/sorting-out-gamin-brokenness-testers-needed\/","title":{"rendered":"Sorting out gamin brokenness: Testers needed"},"content":{"rendered":"<p>EDIT: Removed links as this is now fixed upstream and in portage<\/p>\n<p>So, many of us enjoy GNOME&#8217;s super-efficient integration with inotify via gamin and hal, which allows nautilus to show file updates in real-time, as well as file browsers automatically opening when a CD is inserted, or usb stick is plugged in, etc.<\/p>\n<p>However, the above has been a bit broken for a while. <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=74285\">Gentoo Bug 74285<\/a> has the details &#8211; basically, the media change notification stuff sometimes works once if at all, but then never again in that session.<\/p>\n<p>The fix is a total rewrite of the inotify backend inside gamin. Unfortunately, due to major changes in gamin cvs, this isn&#8217;t easy to backport into the latest release (0.0.26). So it looks like using a CVS snapshot of gamin may be in order.<\/p>\n<p>The plan is to test out the CVS snapshot that I have produced, which will then be added to portage when Linux 2.6.12 is released, assuming we don&#8217;t find any big bugs in the snapshot.<\/p>\n<p>I&#8217;ve produced a gamin snapshot(link removed) from GNOME developer CVS as of right now, with patches from <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=303612\">GNOME Bug 303612<\/a> and <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=303612\">GNOME Bug 303615<\/a> applied.<\/p>\n<p>If you are a GNOME+gamin+hal+inotify user, here&#8217;s what you can do to help test this:<\/p>\n<ol>\n<li>Get the snapshot ebuild from (link removed) and put it in your overlay directory under <em>app-admin<\/em><\/li>\n<li>emerge the snapshot ebuild:<br \/>\n<blockquote>\n<pre># emerge --digest =gamin-0.0.26.20050510<\/pre>\n<\/blockquote>\n<\/li>\n<li>Patch your kernel with inotify 0.23-7. This will involve first reverting the inotify patch included in gentoo-sources-2.6.11 which can be found <a href=\"http:\/\/dev.gentoo.org\/~dsd\/gentoo-sources\/release-11.11\/dist\/4800_inotify-0.22-3.patch\">here<\/a>. <b>Note that this is the inotify included with 2.6.11-r7 and 2.6.11-r8. If you are using an older version, now would be a good time to upgrade.<\/b> You can then patch with inotify 0.23-7 which can be found <a href=\"http:\/\/www.kernel.org\/pub\/linux\/kernel\/people\/rml\/inotify\/v2.6\/0.23\/inotify-0.23-rml-2.6.12-rc3-7.patch\">here<\/a>:<br \/>\n<blockquote>\n<pre>\r\n# cd \/usr\/src\/linux\r\n##download the patches\r\n# patch -p1 -R -i 4800_inotify-0.22-3.patch\r\n# patch -p1 -i inotify-0.23-rml-2.6.12-rc3-7.patch\r\n<\/pre>\n<\/blockquote>\n<\/li>\n<li>Recompile and reinstall your kernel in the usual way<\/li>\n<li>Reboot, start GNOME, and you are done.<\/li>\n<\/ol>\n<p>To test it, open nautilus on your home directory. Then open a terminal, with both windows visible on screen. In the terminal, create\/rename\/delete some files, and ensure that nautilus is updated in real-time.<br \/>\nNext, insert a cdrom, and make sure that an icon appears for it on the desktop and the computer:\/\/ display is also updated. Use the icon to eject the cdrom, then put it back in again. Check that the icon reappears and computer:\/\/ is also updated again. Feel free to do the same with any USB storage you have to hand.<\/p>\n<p>Please leave feedback here &#8211; even if it works perfectly! If we get enough testing, we&#8217;ll be able to finally solve this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EDIT: Removed links as this is now fixed upstream and in portage So, many of us enjoy GNOME&#8217;s super-efficient integration with inotify via gamin and hal, which allows nautilus to show file updates in real-time, as well as file browsers automatically opening when a CD is inserted, or usb stick is plugged in, etc. However, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"_links":{"self":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}