Launching images
-
Running Pi4 on the latest weekly build. I've set up a system on Emulation Station specifically for a PIXEL desktop shortcut, which works fine but launches with the "Ports" image.
The shortcut is copied from the ports section into my new "desktop" one, and launching images have been generated for the "desktop" system. I've tried amending es_systems, and changing the PIXEL.sh shortcut so that it doesn't mention PORT, but then it just doesn't launch.
I realise it is only a cosmetic thing but would really like to fix it if anyone has any ideas!
Thanks in advance.
-
To try and rephrase this: is there a way of amending the current shell script to achieve what I'm after? It is sitting in the "desktop" roms folder and currently says this:
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "lxde" ""
Failing that, does anyone have an alternative little script that could just launch it as a "rom" of sorts from the desktop folder?
Not asking for a whole coding lesson - I genuinely can't find where the lxde file is though (I'm assuming there is something executable somewhere) so can't even start to try and write something myself!
Any pointers gratefully received.
-
The launching command is set in the
emulators.cfg
for each system or port. For thelxde
port, look for\\retropie\configs\ports\lxde
. -
Thanks @mitu; I've found it, and it contains:
lxde = "XINIT:startx" default = "lxde"
I tried making a shell script just out of
"XINIT:startx"
But an error returned, command not found. If the script just says "startx" it launches, but without any launching image at all!
Any ideas what to do next?
Thanks in advance.
-
If you're launching with your own custom script, then you can add a simple command to display an image before launching
xinit
.#!/bin/bash # Replace 5 with the # of seconds the splashscreen should be active. fbi -1 -t 5 -noverbose -a /home/pi/roms/desktop/launching.png </dev/tty &>/dev/null # Launch X.org xinit
-
Brilliant! Thanks for your help, works like a charm. I can now use this for my other custom systems too!
Thanks again.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.