From a6dc48c44e7a0772dc1cb336ca283671d5ea0327 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Wed, 20 Nov 2024 20:13:58 +0100 Subject: [PATCH] fix(Wayland): systemd - add new variables for Electron and QT apps --- .config/environment.d/envvars.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/environment.d/envvars.conf b/.config/environment.d/envvars.conf index 058986d..71a1084 100644 --- a/.config/environment.d/envvars.conf +++ b/.config/environment.d/envvars.conf @@ -2,3 +2,8 @@ MOZ_ENABLE_WAYLAND=1 # Modifie le comportement JAVA pour PHPStorm _JAVA_AWT_WM_NONREPARENTING=1 +# Demandé par les applications QT (notamment Slack) +QT_QPA_PLATFORM=wayland +# Pour les applications utilisant Electron +# Cf. https://www.electronjs.org/docs/latest/api/environment-variables +ELECTRON_OZONE_PLATFORM_HINT=wayland