RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Launching images

    Scheduled Pinned Locked Moved Help and Support
    launch imagespixel desktopports
    6 Posts 2 Posters 901 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TedMaul
      last edited by

      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.

      T 1 Reply Last reply Reply Quote 0
      • T
        TedMaul @TedMaul
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by

          The launching command is set in the emulators.cfg for each system or port. For the lxde port, look for \\retropie\configs\ports\lxde.

          1 Reply Last reply Reply Quote 0
          • T
            TedMaul
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              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
              
              1 Reply Last reply Reply Quote 0
              • T
                TedMaul
                last edited by

                Brilliant! Thanks for your help, works like a charm. I can now use this for my other custom systems too!

                Thanks again.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.