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": "Aceleración por hardware (GPU)",
"hardwareAccelerationDesc": "Habilitar renderizado acelerado por GPU. Desactivado por defecto para máxima compatibilidad. Si QBZ se cierra al iniciar después de activar esto, ejecuta: QBZ_HARDWARE_ACCEL=0 qbz",
"forceX11": "Forzar backend X11 (Wayland)",
"forceX11Desc": "Usar X11 (XWayland) en lugar de Wayland nativo. Ayuda con crashes en configuraciones NVIDIA/Wayland. Requiere reinicio. Override: QBZ_FORCE_X11=0 qbz",
"tray": {
"title": "Bandeja del Sistema",
"enableTray": "Habilitar icono de bandeja",