Open Sitebase opened 3 years ago
Open RetroPie from application in OpenAuto Pro: Same issues as this one. RetroPie opens but when I pick a game I get a black screen and it returns back to RetroPi.
[Application_4]
Name=RetroPiev2
Path=/usr/bin/emulationstation
IconPath=/home/pi/.openauto/icons/icon_gamepad.png
Arguments=--no-splash
Autostart=false
The solution for this problem is runnig emulationstation using lxterminal:
[Application_0]
Name=RetroPie
Path=/usr/bin/lxterminal
IconPath=/home/pi/.openauto/icons/icon_retropie.png
Arguments=-e ./emulationstation.sh --hold
Autostart=false
Test application config
[Applications]
Count=7
[Application_0]
Name=YouTube
Path=/usr/bin/chromium-browser
IconPath=/home/pi/.openauto/icons/icon_youtube.svg
Arguments=--user-data-dir=/home/pi/.google-chrome/session/youtube --app=https://youtube.com --start-maximized
Autostart=false
[Application_1]
Name=Kodi
Path=/usr/local/kodi/bin/kodi
IconPath=/home/pi/.openauto/icons/icon_kodi.png
Arguments=
Autostart=false
[Application_2]
Name=Chromium
Path=/usr/bin/chromium-browser
IconPath=/home/pi/.openauto/icons/icon_chrome.svg
Arguments=--start-maximized
Autostart=false
[Application_3]
Name=Welle.io
Path=/usr/local/bin/welle-io-1
IconPath=/home/pi/.openauto/icons/icon_welleio.png
Arguments=--disable-splash
Autostart=false
[Application_4]
Name=RetroPiev2
Path=/usr/bin/emulationstation
IconPath=/home/pi/.openauto/icons/icon_gamepad.png
Arguments=--no-splash
Autostart=false
[Application_5]
Name=RetroPiev2
Exec=/usr/bin/emulationstation --no-splash
IconPath=/home/pi/.openauto/icons/icon_gamepad.png
PATH=/home/pi/
Type=Application
Terminal=true
[Application_6]
Name=MarioCard
Path=/opt/retropie/supplementary/runcommand/runcommand.sh
IconPath=/home/pi/.openauto/icons/icon_gamepad.png
Arguments= 0 _SYS_ n64 /home/pi/game1.z64
Autostart=false
openauto_license.dat
in boot folder and add your license keywpa_supplicant.conf
to configure wifiMake sure to plug in USB sound card because otherwise you just seem to get a black screen when trying to start Android Auto.
This can be done by using xdotool
and triggering certain key presses.
For example this will trigger a volume up:
xdotool key F8
For testing this over SSH you can use:
export DISPLAY=:0.0 && xdotool key F8
List of all keyboard controls can be found under Keyboard Controls
in this documentation.
Made the switch from CrankShaft to OpenAuto Pro. You have to pay a one-time fee for a license but it seems to run more stable and it uses Raspbian as OS which makes it easier to add stuff to the platform.
Links
Config
~/.openauto/config/openauto_applications.ini