{"id":935,"date":"2013-08-06T20:01:41","date_gmt":"2013-08-06T20:01:41","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=935"},"modified":"2014-09-26T15:05:14","modified_gmt":"2014-09-26T15:05:14","slug":"auto-run-browser-on-startup","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-operating-systems\/raspbian\/gui\/auto-run-browser-on-startup","title":{"rendered":"Autorun browser on startup"},"content":{"rendered":"<h4>\nConfiguring LXDE to start the Midori browser on login<br \/>\n<\/h4>\n<p>\nThis solution works really well.&nbsp; Once the browser loads there is a small black square in the top left of the screen which seems to be a general bug (its mentioned on forums by others) but otherwise the fullscreen mode hides everything except the browser page.\n<\/p>\n<p>\nEdit the autostart file:\n<\/p>\n<pre>\r\n<code>\r\nsudo nano \/etc\/xdg\/lxsession\/LXDE\/autostart \r\n<\/code><\/pre>\n<p>\nComment out everything using a &#39;#&#39; at the start of each line and then add the following lines\n<\/p>\n<pre>\r\n<code>\r\n# Auto run the browser\r\n@xset s off\r\n@xset -dpms\r\n@xset s noblank\r\n@midori -e Fullscreen -a http:\/\/google.com\r\n<\/code><\/pre>\n<p>\nIf necessary use the configuration tool to enable auto running of the GUI on powerup\n<\/p>\n<pre>\r\n<code>\r\nsudo raspi-config\r\n<\/code><\/pre>\n<h4>\nIf you need to exit back to the command prompt<br \/>\n<\/h4>\n<p>\nCTRL + ALT + F1\n<\/p>\n<p>\nCTRL + ALT + F2\n<\/p>\n<h4>\nTo ensure you have an internet connection first<br \/>\n<\/h4>\n<p>\nSee <a href=\"http:\/\/unix.stackexchange.com\/questions\/79330\/trying-to-open-a-browser-on-startup-on-my-raspberry-pi\" target=\"_blank\">here<\/a>\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configuring LXDE to start the Midori browser on login This solution works really well.&nbsp; Once the browser loads there is a small black square in the top left of the screen which seems to be a general bug (its mentioned on forums by others) but otherwise the fullscreen mode hides everything except the browser page. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-935","post","type-post","status-publish","format-standard","hentry","category-gui"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=935"}],"version-history":[{"count":7,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/935\/revisions"}],"predecessor-version":[{"id":1746,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/935\/revisions\/1746"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}