From 56bd818610c64211b166fe1812e62d1758487a68 Mon Sep 17 00:00:00 2001 From: Gabriel Feron Date: Thu, 21 Nov 2019 16:13:53 +0100 Subject: [PATCH] Force to open with X11 --- cura_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura_app.py b/cura_app.py index e14b441..4ab44ef 100755 --- a/cura_app.py +++ b/cura_app.py @@ -42,6 +42,8 @@ if not known_args["debug"]: # WORKAROUND: GITHUB-88 GITHUB-385 GITHUB-612 if Platform.isLinux(): # Needed for platform.linux_distribution, which is not available on Windows and OSX + # Workaround for invisible window on Wayland and (at least) Fedora 31 + os.environ["XDG_SESSION_TYPE"] = "x11" # For Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826 # The workaround is only needed on Ubuntu+NVidia drivers. Other drivers are not affected, but fine with this fix. try: -- 2.23.0