{"id":5153,"date":"2019-09-17T18:21:07","date_gmt":"2019-09-17T18:21:07","guid":{"rendered":"http:\/\/www.webputzer.com\/?p=5153"},"modified":"2019-09-17T18:28:20","modified_gmt":"2019-09-17T18:28:20","slug":"fixing-kodi-exit-problem-on-linux","status":"publish","type":"post","link":"http:\/\/www.webputzer.com\/?p=5153","title":{"rendered":"Fixing Kodi exit problem on Linux"},"content":{"rendered":"<p>Kodi can be installed from official repos on Ubuntu-based PopOS 18.04, but, with a couple of minor problems.  First, the program often hangs (in my experience) when exiting the program.  Second, when the program opens it is &#8211; without some tweaking &#8211; always full screen.  In other words, there is no multi-tasking when Kodi is opened.  It fills my monitor and I had better want to do nothing but fool with Kodi once it&#8217;s opened.   The following commands fix both issues, and, I have know idea how they work.  I run this script, and both of these problems are gone:<\/p>\n<pre>#!\/bin\/bash\r\nsudo apt install haveged\r\nfind \/usr\/share\/kodi\/addons\/skin.* -name DialogButtonMenu.xml -exec sed -i 's%Quit()%System.Exec (\"killall --signal SIGHUP kodi.bin\")%' {} \\;\r\n\r\n<\/pre>\n<h2>In case the above is hard to see\/copy:<\/h2>\n<p>#!\/bin\/bash<br \/>\nsudo apt install haveged<br \/>\nfind \/usr\/share\/kodi\/addons\/skin.* -name DialogButtonMenu.xml -exec sed -i &#8216;s%Quit()%System.Exec (&#8220;killall &#8211;signal SIGHUP kodi.bin&#8221;)%&#8217; {} \\;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kodi can be installed from official repos on Ubuntu-based PopOS 18.04, but, with a couple of minor problems. First, the program often hangs (in my experience) when exiting the program. Second, when the program opens it is &#8211; without some tweaking &#8211; always full screen. In other words, there is no multi-tasking when Kodi is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5159,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"footnotes":""},"categories":[21],"tags":[36,33,35,34],"class_list":["post-5153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-kodi-always-full-screen","tag-kodi-exit","tag-kodi-exit-problem","tag-kodi-linux-exit"],"_links":{"self":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/5153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5153"}],"version-history":[{"count":0,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/5153\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/media\/5159"}],"wp:attachment":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5153"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}