{"id":50,"date":"2015-06-05T14:40:43","date_gmt":"2015-06-05T07:40:43","guid":{"rendered":"http:\/\/prosindo.com\/blog\/?p=50"},"modified":"2015-06-05T14:40:43","modified_gmt":"2015-06-05T07:40:43","slug":"raspberry-pi-kiosk-mode","status":"publish","type":"post","link":"https:\/\/prosindo.com\/blog\/2015\/06\/05\/raspberry-pi-kiosk-mode\/","title":{"rendered":"Raspberry Pi Kiosk Mode"},"content":{"rendered":"<p>To make Raspberry Pi automatically run specific app (browser) &#8212; kiosk mode, first install:<\/p>\n<p><code>apt-get install x11-xserver-utils<br \/>\napt-get install xscreensaver<br \/>\n<\/code><\/p>\n<p>Then edit this file:<\/p>\n<p><code>\/etc\/xdg\/lxsession\/LXDE\/autostart (on newer raspbian this is LXDE changed to LXDE-pi)<br \/>\n@lxpanel --profile LXDE<\/code><br \/>\n<code>@pcmanfm --desktop --profile LXDE<\/code><br \/>\n<code>#@xscreensaver -no-splash<\/code><br \/>\n<code>#run midori<\/code><br \/>\n<code>#@midori -e Fullscreen<\/code><br \/>\n<code>#or run chromium<\/code><br \/>\n<code>@chromium --kiosk http:\/\/localhost\/dashboard<br \/>\n@xset s noblank<br \/>\n@xset s off<br \/>\n@xset -dpms<br \/>\n<\/code><\/p>\n<p>Notes:<br \/>\n&#8211; Check if the file <code>\/home\/pi\/.config\/lxsession\/LXDE-pi\/autostart<\/code> file exists. If it exists, it will be used instead of <code>\/etc\/xdg\/lxsession\/LXDE-pi\/autostart<\/code><br \/>\n&#8211; View logs (after reboot) in <code>\/home\/pi\/.xsession-errors<\/code><\/p>\n<p>You can also change this file to disable screen blank when LXDE not running (terminal mode):<\/p>\n<p><code>\/etc\/kbd\/config<\/code><br \/>\n<code>BLANK_TIME=0<\/code><br \/>\n<code>BLANK_DPMS=off<\/code><br \/>\n<code>POWERDOWN_TIME=0<\/code><\/p>\n<p>And this to disable screen blank in LXDE:<\/p>\n<p><code>\/etc\/lightdm\/lightdm.conf<\/code><br \/>\n<code>[SeatDefaults]<\/code><br \/>\n<code>xserver-command=X -s 0 -dpms<\/code><\/p>\n<p>Source:<br \/>\n&#8211; https:\/\/www.danpurdy.co.uk\/web-development\/raspberry-pi-kiosk-screen-tutorial\/<br \/>\n&#8211; http:\/\/raspberrypi.stackexchange.com\/questions\/42633\/raspberry-pi-autostart-of-lxde-does-not-work<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make Raspberry Pi automatically run specific app (browser) &#8212; kiosk mode, first install: apt-get install x11-xserver-utils apt-get install xscreensaver Then edit this file: \/etc\/xdg\/lxsession\/LXDE\/autostart (on newer raspbian this is LXDE changed to LXDE-pi) @lxpanel &#8211;profile LXDE @pcmanfm &#8211;desktop &#8211;profile LXDE #@xscreensaver -no-splash #run midori #@midori -e Fullscreen #or run chromium @chromium &#8211;kiosk http:\/\/localhost\/dashboard @xset &hellip; <a href=\"https:\/\/prosindo.com\/blog\/2015\/06\/05\/raspberry-pi-kiosk-mode\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Raspberry Pi Kiosk Mode&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7,15,20,25],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-chromium","tag-midori","tag-raspberry-pi","tag-script"],"_links":{"self":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":0,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prosindo.com\/blog\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}