From aa5406be6f4f8038e362fd1b4e212525cd0922f3 Mon Sep 17 00:00:00 2001 From: exu Date: Mon, 6 Jan 2025 08:23:41 +0100 Subject: [PATCH] Enable wayland for electron apps Especially needed for Flatpak, as those don't use the electron flags config file obviously --- roles/config/files/etc/environment | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/config/files/etc/environment b/roles/config/files/etc/environment index 15b59248..5c81e1d9 100644 --- a/roles/config/files/etc/environment +++ b/roles/config/files/etc/environment @@ -10,3 +10,5 @@ SDL_VIDEODRIVER='wayland,x11' MOZ_ENABLE_WAYLAND=1 # keyboard layout for gamescope XKB_DEFAULT_LAYOUT=ch +# wayland for electron +ELECTRON_OZONE_PLATFORM_HINT=auto