Raspbian | Desktop Back To EmulationStation Icon

Previously I covered how to create a desktop icon so programs could easily be launched from the desktop. This post will show you how to create an additional icon to launch back into EmulationStation. I prefer to launch into EmulationStation were I have created an “apps” menu and can launch into the desktop environment (or Kodi media steamer). This icon allows me to get back into Emulationstations from the desktop.

Turns out all you need to do is kill xorg! try it.

pkill Xorg

Now, as detailed before create a file on your desktop called: emulationstation.desktop

[Desktop Entry]
Name=Games
Comment=EmulationStaion
Icon=/usr/share/pixmaps/emulationstation_logo.png
Exec=pkill Xorg
Type=Application
Encoding=UTF-8
Terminal=false
Categories=None;
2017-03-08T06:52:15+00:00 2 Comments

2 Comments

  1. Luis P June 4, 2016 at 10:57 am - Reply

    Just wondering. Looking at the desktop entry code, it will simply kill the xorg but not launching the emulation station itself. Is there a way to launch the emulationstation from the desktop?

    • adrian June 5, 2016 at 2:43 am - Reply

      That’s a great observation but killing xorg is all that is required to get back into EmulationStation! I’m guessing this is because when you launch Xorg through Emulation Station, Xorg in spawned as a child process, when you kill Xorg, EmulationStation resumes control of the windowed environment.

Leave A Comment