From a Terminal window:
python /home/pi/pipresents/pipresents.py -p show-profile-name
Full screen, append ‘-f’ to the command:
python /home/pi/pipresents/pipresents.py -p show-profile-name -f
Full screen and no-sleep, append ‘-b’ to the command:
python /home/pi/pipresents/pipresents.py -p show-profile-name -f -b
Full screen, no-sleep and debug log append ‘-d 1000’:
python /home/pi/pipresents/pipresents.py -p show-profile-name -f -b -d 1000
Debug log can be found here: /home/pi/pipresents/pp_logs/pp_log.txt.
The number is the log level. See the manual for more debug log handling info.
Autostart full screen show on boot:
- From a terminal: nano /home/pi/.config/lxsession/LXDE-pi/autostart
- Add a line in this format:
/usr/bin/python /home/pi/pipresents/pipresents.py -o /home/pi -p show-profile-name -f -b - Save and close.
- Test: sudo reboot
Desktop Shortcut:
- In a terminal: nano /home/pi/Desktop/my-show-name.desktop
- Add italicized lines below, modify for your show, choose icon as desired:
[Desktop Entry]
Name=My Pi Presents Show
Comment=Pi Presents Show
Exec= sudo python /home/pi/pipresents/pipresents.py -p my-show-name -f -b
Icon=/home/pi/pp_home/media/dragon_tn.jpg
Terminal=false
MultipleArgs=false
Type=Application
Categories=Application
StartupNotify=true - Save and close.
- A desktop icon should have appeared.
- Double click to test.
Close a show
- Alt + F4 or
- Control + Break