Step 5: Package Configuration W/Flow Meters

Now that everything for the operating system is installed, let’s configure a few things to make sure it works with RaspberryPints!

Disable screen blanking

By default, the screen will blank to a black screen after 15 minutes of inactivity. Clearly, we want to prevent this from happening. With modern displays, image burn-in is rare, and even when it does occur, it’s almost always temporary.

[nbox type=”notice”]sudo nano /etc/xdg/lxsession/LXDE/autostart[/nbox]

Add the following lines at the bottom:

[nbox type=”notice”]
@xset s off
@xset -dpms
@xset s noblank
@chromium –kiosk localhost
this is supposed to be a double dash not a single for the @chromium (double dash)kiosk localhost

[/nbox]

If not running Raspbian…

Note that if you’re trying to run RaspberryPints on an operating system other than Raspbian, you’ll need to add the following to your php.ini file (typically in /etc/php5/apache2/php.ini):

[nbox type=”warning”]extension=php_mbstring.dll
short_open_tag = on[/nbox]

Reboot

Reboot the Pi to update all the binaries, and start all the new services.
[nbox type=”notice”]sudo reboot[/nbox]

Continue to Step 6: Configure Pi For Flow Meters.
Print Friendly, PDF & Email