{"id":2032,"date":"2008-09-23T14:44:17","date_gmt":"2008-09-23T11:44:17","guid":{"rendered":"http:\/\/mummila.net\/swirling\/?p=27"},"modified":"2008-09-23T14:44:17","modified_gmt":"2008-09-23T11:44:17","slug":"high-cpu-usage-when-doing-anything-with-nautilus","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2008\/09\/23\/high-cpu-usage-when-doing-anything-with-nautilus\/","title":{"rendered":"High CPU usage when doing anything with Nautilus"},"content":{"rendered":"<p>Nautilus began to manifest annoying sluggishness, which was the immediate result of it hogging up the CPU anywhere between 40 and 100 percent any time I did pretty much anything involving files or directories in the GUI. After covering some solution attempts which turned out to be dead ends, I created an extra user account for testing purposes and found that it was not susceptible to this issue.<\/p>\n<p>Finally, I found a bug report on Launchpad with the &#8220;<a title=\"Launchpad: High CPU load on startup and when mounting\" href=\"https:\/\/bugs.launchpad.net\/ubuntu\/%2bsource\/nautilus\/%2bbug\/239167\">high cpu load<\/a>&#8221; issue precisely described, and luckily with a fix included. I stripped my desktop directory (&#8220;Ty\u00f6p\u00f6yt\u00e4&#8221; in my locale) from the variables defined in <code>~\/.config\/user-dirs.dirs<\/code> (so that they referred to <code>$HOME<\/code>), replaced one symbolic link there with a genuine path, and then ran <code>xdg-user-dirs-update &amp;&amp; xdg-user-dirs-gtk-update<\/code> before logging out and back in again. And now Nautilus is as nimble as ever.<\/p>\n<p>Out of curiosity, I tried to reproduce the issue with my test user account: I inserted a symbolic link into one of the variables, as I suspected that was what triggered the sluggishness, but it turned out not to do so. So the exact cause still eludes me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nautilus began to manifest annoying sluggishness, which was the immediate result of it hogging up the CPU anywhere between 40 and 100 percent any time I did pretty much anything involving files or directories in the GUI. Turns out editing user-dirs.dirs can cure this.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[3085,3137],"class_list":["post-2032","post","type-post","status-publish","format-standard","hentry","tag-desktop","tag-nautilus"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=2032"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/2032\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=2032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=2032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=2032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}