How to create a emulationstation desktop shortcut to get to back to RetroPie from the Pixel Desktop, without going to the command line!
Note: This Only works on a Retropie image and not if you manually install Retropie on your existing Raspbian image.
You can easily install the Pixel Desktop from the RetroPie setup menu (Configuration / Tools >> Raspbiantools >> Install Pixel Desktop Environment). It takes a while, but once installed and after restarting Emulationstation, it will be in the Ports menu on RetroPie.
Once installed, hit alt F4 on the keyboard to exit retropie and type “startx” at the command prompt. The desktop should load.
Also Note: You will need a keyboard and mouse to navigate the desktop!
Once you are at the desktop, right click somewhere on the background and choose, “create empty file” and name it, emulationstation.desktop.
Then download the icon below (right click and save as), and move it into your /home/pi directory.
Then right click the new empty file and choose, “Text Editor” from the list. Then in the editor, copy and paste or type this information below in the box and save.
I found this code here.
The icon should change to the ES icon, once saved. Then test it by double clicking the icon. It should take you back to the Ports menu on RetroPie. You may have to reboot for some settings to take effect.
And there you go, you can now exit the Pixel Desktop with the emulationstation desktop shortcut! Fun!