From 5049f392a18ef484570482de1d066faebbb927fd Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:11 +0100 Subject: feat(wayland): tune Qt/SDL/Electron backends - zprofile: set QT_QPA_PLATFORM="wayland;xcb" (xcb fallback for bundled Qt), SDL_VIDEODRIVER="wayland,x11" (SDL2 defaults to X11). Drop MOZ_ENABLE_WAYLAND (Firefox 121+ default). - meta/wayland: add qt5-wayland and qt6-wayland so QT_QPA_PLATFORM=wayland actually resolves. - electron-flags.conf: global --ozone-platform=wayland, Wayland window decorations, GTK4. Applies to all apps using the Arch electron wrapper. Bundled-electron apps (slack-desktop, etc.) unaffected. --- dot_config/electron-flags.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dot_config/electron-flags.conf (limited to 'dot_config/electron-flags.conf') diff --git a/dot_config/electron-flags.conf b/dot_config/electron-flags.conf new file mode 100644 index 0000000..9f49ae0 --- /dev/null +++ b/dot_config/electron-flags.conf @@ -0,0 +1,8 @@ +# Electron global flags. Read by Arch's `electron` wrapper for all +# Electron apps that don't bundle their own build (slack-desktop bundles +# its own, for example; those need per-app flags files instead). +# See https://wiki.archlinux.org/title/Electron#Configuration_files + +--enable-features=WaylandWindowDecorations,AllowQt +--ozone-platform=wayland +--gtk-version=4 -- cgit v1.3.1