{"id":1126,"date":"2024-02-19T17:42:29","date_gmt":"2024-02-19T17:42:29","guid":{"rendered":"https:\/\/bechele.de\/?p=1126"},"modified":"2024-03-04T17:38:05","modified_gmt":"2024-03-04T17:38:05","slug":"_howto-autostart-the-bechele-software-in-live-mode","status":"publish","type":"post","link":"https:\/\/bechele.de\/?p=1126","title":{"rendered":"_Howto autostart the Bechele software in live mode."},"content":{"rendered":"\n<p>Since the Bechele software may be used headless, in front of some audience, you may look for a possibility to start the live mode already during booting, so you just have to press the &#8220;next&#8221; button on the button pad to start the next movement and speech sequence.  <\/p>\n\n\n\n<p>To do so, one way is to configure a System service that will bee started during boot time:<\/p>\n\n\n\n<p class=\"has-small-font-size\">The following g-zipped tar ball contains a system service and two scripts that automize the startup of live.pl (the live software of Bechele): <a href=\"https:\/\/my.hidrive.com\/share\/pc-obnpvxa\"><strong><em>https:\/\/my.hidrive.com\/share\/pc-obnpvxa<\/em><\/strong><\/a> (<a href=\"https:\/\/my.hidrive.com\/lnk\/Sbq0nPWw\"><strong><em>https:\/\/my.hidrive.com\/lnk\/Sbq0nPWw<\/em><\/strong><\/a> for the file only)<\/p>\n\n\n\n<p>To install:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">copy the tar file to \/tmp on your minicomputer\n<strong><em>cd \/<\/em><\/strong>\n<strong><em>sudo tar -xvzf \/tmp\/autostart.tar.gz<\/em><\/strong> \ntar will unpack to the correct destination if you are in the \/ directory.\n<strong><em>sudo \/usr\/local\/bin\/bechele\/activate_autostart<\/em><\/strong>\nThis enables the automatic start of the software suring boot and immediately\n<strong><em>sudo \/usr\/local\/bin\/bechele\/deactivate_autostart<\/em><\/strong>\nThis disables the automatic start of the software during boot\n\nEventually you need to modify the service setup \/usr\/lib\/systemd\/system\/runlive.service file if you want to adapt the directory where you have your movement and MP3 files stored according your project.<\/pre>\n\n\n\n<p>While live.pl is running, you may press the &#8220;shutdown&#8221; button shown in the wiring diagram to shutdown the software. This allows to work with a puppet for instance completely &#8220;headless&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since the Bechele software may be used headless, in front of some audience, you may look for a possibility to start the live mode already&hellip;<\/p>\n","protected":false},"author":2,"featured_media":1128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-1126","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software"],"_links":{"self":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/posts\/1126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1126"}],"version-history":[{"count":2,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/posts\/1126\/revisions"}],"predecessor-version":[{"id":1129,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/posts\/1126\/revisions\/1129"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/media\/1128"}],"wp:attachment":[{"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}