aboutsummaryrefslogtreecommitdiff
path: root/menu.py
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-08-10 23:13:56 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-08-10 23:13:56 -0400
commit84724e813fd42bed8581a58136a7f0a0c8ffd2a4 (patch)
tree4e15dd15b4dde6478e53a8a116f609ca02aa42db /menu.py
parent61bfc8970c4b30e908cf2cd80712f8957af71d55 (diff)
downloadRPi-Menu-84724e813fd42bed8581a58136a7f0a0c8ffd2a4.tar.gz
RPi-Menu-84724e813fd42bed8581a58136a7f0a0c8ffd2a4.tar.bz2
RPi-Menu-84724e813fd42bed8581a58136a7f0a0c8ffd2a4.zip
Fixed retropie
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")