Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Edit the LXSession autostart file
  2.  
  3. sudo nano ~/.config/lxsession/LXDE-pi/autostart
  4.  
  5. Add absolute path to your bash script towards the bottom of the file.
  6. Bash script must have absolute path refferences like this
  7.  
  8. /usr/bin/omxplayer /home/pi/wk-portraits-screens/starfield_render.mp4 --loop --no-osd -o local --display=5
  9.  
  10. No need for sh at the beginning of the line if your script permissions are set to executable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement