From 908778883aed6e1b6d82b0016cf7a3a2d1a26f5f 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