QTdragon HD with MDI issue

More
2 years 5 months ago - 2 years 5 months ago #300326 by cmorley
Replied by cmorley on topic QTdragon HD with MDI issue
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))
 
Last edit: 2 years 5 months ago by cmorley.

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago - 2 years 5 months ago #300366 by vre
Replied by vre on topic QTdragon HD with MDI issue
No it doesn't shutdown the pc only linuxcnc exits i have debian12-xfce
exception not thrown in case of missing gnome-session-quit but this is minnor
The other error message seems more serious.
Last edit: 2 years 5 months ago by vre.

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago #300372 by rodw
Replied by rodw on topic QTdragon HD with MDI issue
Linuxcnc expects a Xorg desktop. The distribution images use XFCE for this reason
Gnome by default uses wayland which is very problematic for Linuxcnc. You can change to use Xorg from the Gnome logon screen

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago #300380 by tommylight
Some distros also have XWayland that can be choosen at login, most XOrg stuff should work OK with it and so do Wayland only apps.

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago #300410 by vre
Replied by vre on topic QTdragon HD with MDI issue
I have xfce with xorg.
also pause button throws some error mesages to terminal

Please Log in or Create an account to join the conversation.

More
2 years 5 months ago #300415 by cmorley
Replied by cmorley on topic QTdragon HD with MDI issue
Can you post the error messages?

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.442 seconds
Powered by Kunena Forum