Skip to content

Instantly share code, notes, and snippets.

@mwangivalentine
Created May 25, 2016 13:04
Show Gist options
  • Save mwangivalentine/6d45fa371b9ce86f44b414d896f24d59 to your computer and use it in GitHub Desktop.
Save mwangivalentine/6d45fa371b9ce86f44b414d896f24d59 to your computer and use it in GitHub Desktop.
Raspberry Pi 3: Auto Starting Programs upon reboot
# This is a script for autostarting application on lxde
# First, run this command 'sudo nano ~/.config/lxsession/LXDE/autostart',
# And then replace the following. If there exists other lines, add only the required bit.
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
# Hide mouse
@unclutter
# Disable screensaver
@xset s off
# Disable screensaver blanking
@xset s noblank
# Start Openlp and after minimize
@/usr/bin/python /usr/bin/openlp
@xdotool windowminimize $(xdotool getactivewindow)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment