- Posts: 6803
- Thank you received: 2181
A fix for shutdown (I think) has been pushed to 2.9/master today.Does it shutdown though?
The button calls this:
Code:def SHUT_SYSTEM_DOWN_PROMPT(self): import subprocess try: try: subprocess.call('gnome-session-quit --power-off', shell=True) except: try: subprocess.call('xfce4-session-logout', shell=True) except: try: subprocess.call('systemctl poweroff', shell=True) except: raise except Exception as e: LOG.warning("Couldn't shut system down: {}".format(e))
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.