OK, it's got worse in Trusty, now it's polling even more directories that don't exist:
inotify_add_watch(9, "/usr/local/share/applications", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR) = -1 ENOENT (No such file or directory)
inotify_add_watch(9, "/usr/share/ubuntu/applications", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR) = -1 ENOENT (No such file or directory)
inotify_add_watch(9, "/home/king/.kde/share/apps/RecentDocuments", IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_UNMOUNT|IN_ONLYDIR) = -1 ENOENT (No such file or directory)
poll([{fd=10, events=POLLIN}, {fd=9, events=POLLIN}], 2, 3997) = 0 (Timeout)
Why does this have to be every 4 seconds? That's sucking power on an idle system.
OK, it's got worse in Trusty, now it's polling even more directories that don't exist:
inotify_ add_watch( 9, "/usr/local/ share/applicati ons", IN_MODIFY| IN_ATTRIB| IN_CLOSE_ WRITE|IN_ MOVED_FROM| IN_MOVED_ TO|IN_CREATE| IN_DELETE| IN_DELETE_ SELF|IN_ MOVE_SELF| IN_UNMOUNT| IN_ONLYDIR) = -1 ENOENT (No such file or directory) add_watch( 9, "/usr/share/ ubuntu/ applications" , IN_MODIFY| IN_ATTRIB| IN_CLOSE_ WRITE|IN_ MOVED_FROM| IN_MOVED_ TO|IN_CREATE| IN_DELETE| IN_DELETE_ SELF|IN_ MOVE_SELF| IN_UNMOUNT| IN_ONLYDIR) = -1 ENOENT (No such file or directory) add_watch( 9, "/home/ king/.kde/ share/apps/ RecentDocuments ", IN_MODIFY| IN_ATTRIB| IN_CLOSE_ WRITE|IN_ MOVED_FROM| IN_MOVED_ TO|IN_CREATE| IN_DELETE| IN_DELETE_ SELF|IN_ MOVE_SELF| IN_UNMOUNT| IN_ONLYDIR) = -1 ENOENT (No such file or directory)
inotify_
inotify_
poll([{fd=10, events=POLLIN}, {fd=9, events=POLLIN}], 2, 3997) = 0 (Timeout)
Why does this have to be every 4 seconds? That's sucking power on an idle system.