Display a Web Page on boot with Raspberry Pi

If you liked this post, say thanks by sharing it:

I just got a raspberry pi today to test a budget alternative to displaying dynamic dashboard metrics on monitors for work.  The raspberry pi is the perfect tool for this.  Its $35.  There is nothing to lose.  In the past I have used Intel’s NUC, but it was a lot of wasted compute power just to display some metrics.

To start off, I installed raspbian which is the debian flavor of linux suggested by Raspberry Pi themselves.  This can be downloaded on their website.

Once that was installed, there are 3 things we need to do:

  • Modify lightdm to tell the screen not to sleep
  • Modify Light DE to boot to midori and start a default webpage
  • Install unclutter to hide mouse inactivity (optional)
sudo vi /etc/lightdm/lightdm.conf
# add the following lines to the [SeatDefaults] section
# don't sleep the screen
xserver-command=X -s 0 dpms

 

sudo vi /etc/xdg/lxsession/LXDE/autostart

# comment everything and add the following lines

@xset s off
@xset -dpms
@xset s noblank
@midori -e Fullscreen -a http://plone.org

 

sudo apt-get install unclutter

Many thanks to NiteoWeb for the original information.

 

If you liked this post, say thanks by sharing it:
Posted in IT

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>