Display panels and scripts to get the most from your Bitcoin node
If you have a screen attached to your raspberry pi, you can display the generated images to the screen using the slideshow script
The script is installed at ~/nodeyez/scripts/slideshow.sh
If you are currently logged in as user nodeyez, exit
back to the privileged user
Then run the following
sudo bash -c 'cd /home/nodeyez/nodeyez/scripts && ./slideshow.sh'
This will test the script and begin running through the images in the nodeyez imageoutput folder.
Press q
to exit the framebuffer imageviewer display, and then CTRL+C to terminate the script.
If you dont see any images, then edit the slideshow script file
nano /home/nodeyez/nodeyez/scripts/slideshow.sh
Locate the line that initiates the fbi commmand (around line 12) which looks like this
fbi --vt 1 --autozoom --timeout ${timeperimage} --device /dev/fb0 --noreadahead --cachemem 0 --noverbose --norandom ${globtodisplay} > /dev/null 2>&1
Comment the part at the end that redirects to stdout and stderr to /dev/null.
You can do this by placing a #
right before this at the end of the line > /dev/null 2>&1
.
Save (CTRL+O) and Exit (CTRL+X).
Terminate any existing background process before restarting the slideshow script
for p in `ps aux | grep slideshow | grep -v grep | awk '{print $2}'`; do sudo kill $p; done
Now any errors will be reported to the console.
You may need to change the parameters of the fbi command to
--vt
)--device
)To enable the script to run at startup, as the privileged user run the following
sudo systemctl enable nodeyez-slideshow.service
sudo systemctl start nodeyez-slideshow.service
Home | Back to Panel Index | Continue to Website Dashboard |