diff --git a/src/run_tribler.py b/src/run_tribler.py index bdaf61421f5..5c68c3998e0 100644 --- a/src/run_tribler.py +++ b/src/run_tribler.py @@ -107,6 +107,9 @@ def init_boot_logger(): if sys.platform == "darwin": logger.info('Enabling a workaround for macOS Big Sur') os.environ["QT_MAC_WANTS_LAYER"] = "1" + elif sys.platform == "linux": + logger.info('Enabling a workaround for Ubuntu 21.04+ wayland environment') + os.environ["GDK_BACKEND"] = "x11" # Set up logging load_logger_config('tribler-gui', root_state_dir)