feat: add persistent Force X11 setting for Wayland crash workaround

Add a toggle in Settings > Appearance to force X11 (XWayland) backend
on Wayland sessions. Persisted in graphics_settings.db, env var
QBZ_FORCE_X11=1|0 overrides for crash recovery. Also fixes the
display server log to report effective GDK backend instead of
session type.
This commit is contained in:
vicrodh committed 2026-02-10 07:18:15 -06:00
1 parent d3d719c609
commit 0f31dcd310
9 files changed
+83 -8

No files matched your search

+2
View File
@@ -663,6 +663,8 @@
},
"hardwareAcceleration": "Hardware acceleration (GPU)",
"hardwareAccelerationDesc": "Enable GPU-accelerated rendering. Disabled by default for maximum compatibility. If QBZ crashes on startup after enabling, run: QBZ_HARDWARE_ACCEL=0 qbz",
"forceX11": "Force X11 backend (Wayland)",
"forceX11Desc": "Use X11 (XWayland) instead of native Wayland. Helps with crashes on some NVIDIA/Wayland setups. Requires restart. Override: QBZ_FORCE_X11=0 qbz",
"tray": {
"title": "System Tray",
"enableTray": "Enable tray icon",