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

    RetroPie and MagicMirror

    Scheduled Pinned Locked Moved Help and Support
    magicmirrorports retropieports
    14 Posts 3 Posters 2.6k 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.
    • R
      Ramez @cyperghost
      last edited by

      @cyperghost tried but still got the exact error...just a small question do we have any tutorial on how to create apps in ports (instead of wiki page cause it doesn't really help with procedure)?

      mituM cyperghostC 2 Replies Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Ramez
        last edited by

        @ramez There's no tutorial to 'create' Ports. You take existing working games/programs and you create an installation procedure for them. You can take a look at an existing port in the RetroPie's Github repository.
        Is your application working standalone without problems on the RetroPie system ?

        1 Reply Last reply Reply Quote 1
        • cyperghostC
          cyperghost @Ramez
          last edited by

          @ramez No we do not have such a section. And it is not needed because as @mitu said the ports are just bash files that call a specific program. So if the mirror does not work standalone then it will not work as port script out of EmulationStation.

          Read the mirror tut in github. This seems very detailed and ask the people there for further assistance. Maybe the error message is common.

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

            I think the problem is that MagicMirror seems to require the X.org environment to run.
            @Ramez Install the PIXEL desktop from the RetroPie setup script - https://retropie.org.uk/docs/FAQ/#where-did-the-desktop-go - , then start it from ES and try to run MagicMirror from the Desktop environment.

            cyperghostC 1 Reply Last reply Reply Quote 0
            • cyperghostC
              cyperghost @mitu
              last edited by

              @mitu this makes no sense. I asked @Ramez if he used the full Rasbian version and he said it is the same error. So it seems not to rely on X or he misunderstood what I wanted to express

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

                @cyperghost said in RetroPie and MagicMirror:

                I asked @Ramez if he used the full Rasbian version and he said it is the same error.

                May be the same error, but their Wiki suggests an X env is needed, since it's an Electron app - https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi.

                cyperghostC 1 Reply Last reply Reply Quote 1
                • cyperghostC
                  cyperghost @mitu
                  last edited by

                  @mitu oh that will end in a mess ... OpenGL driver support should be disabled.

                  But in fact a cool project... Use a half (?!!) mirror in front of a display and get your weather report and if you are funny play Mario.

                  1 Reply Last reply Reply Quote 0
                  • R
                    Ramez
                    last edited by

                    thanks for great discussion guys :) @mitu yes Mirror working correctly when i run it from terminal or PIXEL in both retropie img (lite Rasbian) or full one.
                    @cyperghost that's exactly what I aim to do, Having a stunning mirror in my home and guess what!! it plays PlayStation and Retro nostalgia games (^_^) ... but still can't figure out how to add mirror directly to the RetroPie ports :( actually I've ended up creating a desktop shortcut for the mirror so I log into ES to play games or log into desktop to (log into) mirror until someone help me fixing that problem.

                    cyperghostC 1 Reply Last reply Reply Quote 0
                    • cyperghostC
                      cyperghost @Ramez
                      last edited by

                      @ramez okay then it us very easy to do

                      Create a shortcut to autostart mirror within Pixel. Then in Ports section create a call to launch Pixel then it will work as you like.

                      To terminate Pixel you can use controller config that calls my Multi Switch Shutdown Script like ./multi_switch.sh --es-closeemu. This will kick you back to ES

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        Ramez @cyperghost
                        last edited by

                        @cyperghost many thanks will try it :)

                        1 Reply Last reply Reply Quote 0
                        • R
                          Ramez
                          last edited by Ramez

                          EDIT: @cyperghost I can see that your MSS script requires a hardware GPIO button, am I right?
                          Just wanted solution to quit PIXEL globally, I've done that by simply editing lxde shortcuts and adding a new keybind that ends user session like that :
                          type sudo nano /home/pi/.config/openbox/lxde-pi-rc.xml
                          add the following code under keyboard bindings <!-- Keybindings for running applications -->

                          <keybind key="C-e">
                                <action name="Execute">
                                     <command>pkill -KILL -u pi</command>
                                </action>
                              </keybind>
                          

                          So as Ctrl+q quit apps ,Now Ctrl+e quits the whole desktop :)
                          Reference1 .... Reference2

                          I've also made it possible to exit the system (my mirror in that case) by joystick just like RetroArch emulators hotkey [start+select] by remapping the keyboard and made aTutorial for that ;)

                          cyperghostC 1 Reply Last reply Reply Quote 1
                          • cyperghostC
                            cyperghost @Ramez
                            last edited by

                            @ramez said in RetroPie and MagicMirror:

                            EDIT: @cyperghost I can see that your MSS script requires a hardware GPIO button, am I right?

                            No it can be tight to a button but it can also just be called by script itself. Read more about on its help screen.
                            The option --es-closeemu brings you back to ES as long as you used to start Pixel officially installed by RetroPie
                            The option --es-poweroff performs a safe shutdown with metadata saved. So you can tie several parameters to joypad described in your how to.

                            But it is fundamental that any program must he launched through EmulationStation by runcommand call. The script uses runcommand as starting entry to determine all PIDs that will be closed by script call

                            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.