RPi X11 autostart

From Flav's Wiki
Revision as of 15:19, 15 January 2015 by Flav (Talk | contribs) (Created page with "This pages is based on http://www.antony-neu.com/2013/03/12/autostarting-a-browser-on-the-raspberry-pi/ We are using raspbian =Automatic start= With raspi-config check that t...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This pages is based on http://www.antony-neu.com/2013/03/12/autostarting-a-browser-on-the-raspberry-pi/

We are using raspbian

Automatic start

With raspi-config check that the Pi is starting in desktop mode logged with pi user

starting a program

edit /etc/sdg/lxsession/LXDE/autostart and add:

@sh /home/pi/start.sh

Also to disable screen server add a package:

sudo apt-get install x11-xserver-utils

and edit /etc/sdg/lxsession/LXDE/autostart as follows:

#@xscreensaver -no-splash

the statup script

#!/usr/bin/sh