Change what loads on startup/boot?
|
21st Nov, 2013, 06:29 AM
Post: #18
|
|||
|
|||
RE: Change what loads on startup/boot?
To clarify my self-replies and to help others trying to boot into emulationstation at startup, I didn't try creating a service with an emulation.conf in /etc/init/ as mentioned in start of thread; this is what I did:
1) xbian-config: turned off xbmc service auto start - from terminal services menu 2) sudo ./retropie_setup.sh [3] SETUP : Under third option to configuring current install, Select [4] Start Emulation Station on boot (Note, this will put the following entry: Terminal [ -n "${SSH_CONNECTION}" ] || emulationstation 3) Now emulationstation runs after login, but we want auto login as to not use any keyboard. Terminal sudo nano /etc/init/tty1.conf #The very last line in this file should start with an exec command. Delete this line and replace it with the following: exec /bin/login -f xbian < /dev/tty1 > /dev/tty1 2>&1 + Optional : launch xbmc from emulationstation 4) Edit emulationstation config to allow any sh to be run from /home/pi/RetroPie/roms/esconfig ~/.emulationstation/es_systems.cfg In the "Input Config" Section -> change command line so to load any sh file selected COMMAND=%ROM% + Can change the path if you'd like, for clarity I changed the Start.sh to InputConfig.sh and the description to "Advanced Menu Loader" 5) create xbmc_load.sh with xbian owner and executable permissions with the following Terminal #!/bin/bash output=`ps aux|grep em\[u\]lationstation` set -- $output pid=$2 kill $pid sleep 2 kill -9 $pid >/dev/null 2>&1 sleep 2 sudo service xbmc start (Note: The above script will shutdown emulationstation before running the xbmc service so that emulationstation will not override the screen control leaving you with a running xbmc service instance you can't see.) Fully navigate your game collection and launch xbmc all driven from your joystick gamepad. Hope this helps. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Change the startup xbian image | cyril | 7 | 18,871 |
6th May, 2013 09:20 PM Last Post: cyril |