From 84724e813fd42bed8581a58136a7f0a0c8ffd2a4 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 10 Aug 2020 23:13:56 -0400 Subject: Fixed retropie --- menu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'menu.py') 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") -- cgit v1.2.3