{"id":200,"date":"2011-06-06T15:55:34","date_gmt":"2011-06-06T14:55:34","guid":{"rendered":"http:\/\/pusling.com\/blog\/?p=200"},"modified":"2011-06-06T15:55:34","modified_gmt":"2011-06-06T14:55:34","slug":"daemon-slaying","status":"publish","type":"post","link":"https:\/\/pusling.com\/blog\/?p=200","title":{"rendered":"Daemon slaying"},"content":{"rendered":"<p>I&#8217;ve gotten a couple of complaints on the amount of daemons that is launched by default by any app built upon the KDE Frameworks, so I investigated one of them a bit.<\/p>\n<p>The knotify daemon currently seems to do two things:<\/p>\n<ol>\n<li>Keeping some dependencies out of KDE Framework libraries<\/li>\n<li>Recieve messages from dbus, parse them, encode differently and send them on to other places over dbus<\/li>\n<\/ol>\n<p>In the past, the knotify daemon was also responsible of showing popup-messages.<\/p>\n<p>So, I did a quick experiment here in Switzerland to try kill off that daemon and merged the code from the daemon into the KNotification part of kdeui.<\/p>\n<p>As a proof of concept it works, and if I can cut out some of the newly introduced dependencies it can end up being really nice. There is much less need for a separate daemon these days where knotify doesn&#8217;t actually paint the popups itself, but rather passes them on to a <a href=\"http:\/\/www.galago-project.org\/specs\/notification\/\">galago-spec<\/a> implementing part of the workspace (on linux) or to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Growl_(software)\">growl<\/a> for various non-free platforms.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve gotten a couple of complaints on the amount of daemons that is launched by default by any app built upon the KDE Frameworks, so I investigated one of them a bit. The knotify daemon currently seems to do two things: Keeping some dependencies out of KDE Framework libraries Recieve messages from dbus, parse them, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-english","category-kde"],"_links":{"self":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":2,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":202,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions\/202"}],"wp:attachment":[{"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pusling.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}