aboutsummaryrefslogtreecommitdiff
path: root/menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'menu.py')
-rwxr-xr-xmenu.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/menu.py b/menu.py
index d79e5c9..d211a17 100755
--- a/menu.py
+++ b/menu.py
@@ -20,9 +20,13 @@ import tkinter
import os
from tkinter import *
from tkinter import font as tkFont
+from tkinter import messagebox
app = tkinter.Tk()
# Functions
+def msgbox():
+ msgboxMessage = messagebox.showinfo(title="Information", message="This option is currently broken.")
+ Label(app, text=msgboxMessage).pack()
def launchDesktop():
print("Launching Desktop")
quit()
@@ -33,10 +37,11 @@ def launchDashboard():
quit()
def launchRetroPie():
print("Launching RetroPie")
- # os.system("nohup sudo su -c \"systemctl stop lightdm ; ttyecho -n /dev/tty1 \"emulationstation ; sudo systemctl start lightdm\"\"")
+ #os.system("nohup sudo su -c \"systemctl stop lightdm ; ttyecho -n /dev/tty1 \"emulationstation ; sudo systemctl start lightdm\"\"")
#os.system("nohup sudo pkill Xorg ; emulationstation")
- os.system("bash /home/pi/menu/launchES.sh")
- quit()
+ #os.system("nohup /home/pi/menu/launchES.sh")
+ msgbox()
+ #quit()
def launchSteam():
print("Launching Steam Link")
os.system("/usr/bin/steamlink &")