Author Topic: Exit to Desktop tweak?  (Read 4894 times)

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Exit to Desktop tweak?
« on: April 12, 2016, 05:12:20 PM »
A question on another forum got me thinking, would it be possible to have the "Exit to Desktop" config in the controls setup exit to another frontend? I have RetroPie/Emulationstation with AM complied on top so I can exit out to the desktop and type "emulationstation" and will boot into ES. Just curous if there was a way to set this so it will auto load ES instead of just to the desktop?

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Exit to Desktop tweak?
« Reply #1 on: April 12, 2016, 05:30:54 PM »
Try configure/misc/exit and add path to emulationstation. I think this might work but haven't tested it.

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Exit to Desktop tweak?
« Reply #2 on: April 12, 2016, 05:45:49 PM »
Try configure/misc/exit and add path to emulationstation. I think this might work but haven't tested it.

Thanks for the reply, I can't seem to lcate that directory. I found attract/config but it has no other directory related to the controls.

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Exit to Desktop tweak?
« Reply #3 on: April 12, 2016, 05:50:26 PM »
Launch AM then hit tab > general > select exit cmd.

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Exit to Desktop tweak?
« Reply #4 on: April 12, 2016, 06:48:09 PM »
Ah yes now I get it. I see it would work fine if I could figure out how to use it. it works for simple commmands like shutdown and reboot, but that's about as far as I'm able to figure out. I know at the command line all I have to do is type emulationstation and it will boot ES.

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Exit to Desktop tweak?
« Reply #5 on: April 12, 2016, 09:50:24 PM »
This works using windows:

Configure the am exit cmd to the path of an autoexec.bat

The batch then shuts down attract by killing the process then runs rocketlauncher program. This should be doable in Linux with a script. I'm just giving you a general idea. But, this works even on windows 10.

@echo off
cd "c:\windows\system32"
start Taskkill.exe /F attract.exe

cd "c:\RocketLauncher"
start RocketLauncher.exe

exit



 


Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Exit to Desktop tweak?
« Reply #6 on: April 13, 2016, 12:30:32 PM »
Thanks Omegaman, but that went right over my head. lol
I'll have to wait till someone else desides they need this option or figure out a better setup for Daphne rather than multiple emulators/displays.

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Exit to Desktop tweak?
« Reply #7 on: April 15, 2016, 02:04:31 PM »
I'll try making a script when I get the chance, too busy compiling and working on robospin. ;D