The PIXEL Web software for the Raspberry Pi is a fantastic way to control the PIXEL LED Art frame from the web. By default, this software does not operate on a Raspberry Pi in headless mode and cannot start up on its own when the Pi is rebooted. These service scripts help overcome that limitation to make the PIXEL Web software truly hands off.
On a fresh installation of Raspbian, the Pi boots to the terminal. For these service scripts to operate properly, the Pi must boot and automatically log into the Desktop interface.
NOTE: Following these instructions causes the Raspberry Pi to bypass
the login prompt on start up. These steps should not be followed in an
environment where security is a priority. Exercise extreme caution
and consider the ramifications prior to proceeding.
-
In a terminal, run:
sudo raspi-config
-
Select the
Boot Options
item -
Select the
Desktop / CLI
item -
Select
Desktop Autologin
-
Reboot the Pi when prompted
The Raspbian operating system will use the scripts correctly whenever they are moved to the appropriate locations.
-
Move the
pixel.desktop
file to/home/pi/.config/autostart/pixel.desktop
, creating the parent directories as needed -
The JAR and shell script may be moved to any location which is convinent for you
-
The desktop script used above works very reliably with the XTERM terminal, which is not installed by default. Install it by running:
sudo apt-get -y install xterm
.
The scripts include a basic set of default configurations which require modification before use.
-
Open
pixel.desktop
and point the reference to the shell script to the fully qualified path forrun.sh
-
Open
run.sh
and adjust the path topixel.jar
to use the correct, fully qualified path -
Ensure the matrix type, corresponding to
-m
option inrun.sh
, is correct for your configuration per this guide from Adafruit -
Ensure
run.sh
has execute permissions:chmod +x run.sh
All of the scripts are in place and ready for use.
-
Reboot the Pi
-
After the start up is complete, observe the PIXEL interface by going to http://pi-ip-address/ in a web browser
-
(Optional) Consider using Dataplicity to access the PIXEL over the internet