aboutsummaryrefslogtreecommitdiff
path: root/menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'menu.py')
-rwxr-xr-xmenu.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/menu.py b/menu.py
index d15d34e..4beef79 100755
--- a/menu.py
+++ b/menu.py
@@ -49,8 +49,7 @@ def launchDashboard():
quit()
def launchRetroPie():
print("Launching RetroPie")
- # TODO: Fix this
- os.system("emulationstation")
+ os.system("sudo su -c \"systemctl stop lightdm ; ttyecho -n /dev/tty1 \"emulationstation ; sudo systemctl start lightdm\"\"")
quit()
def launchSteam():
print("Launching Steam Link")