Last active
July 5, 2018 11:06
-
-
Save ralphotowo/1fd9701e431bbda0894d03434f38606f to your computer and use it in GitHub Desktop.
Raspberry Pi Auto-launch Video Loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update && sudo apt-get install omxplayer -y | |
AUTOSTART_FILE=/home/pi/.config/lxsession/LXDE-pi/autostart | |
# echo "@point-rpi" >> $AUTOSTART_FILE | |
echo "@ScITE" >> $AUTOSTART_FILE | |
echo "@lxterminal -e omxplayer --loop --no-osd /home/pi/autostart.mp4" >> $AUTOSTART_FILE | |
wget -O /home/pi/autostart.mp4 http://mirrors.standaloneinstaller.com/video-sample/jellyfish-25-mbps-hd-hevc.mp4 | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment