From 8c12647ba0b004eb2b5b6c90781eeeae2b0f0fb7 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 5 Sep 2025 21:29:24 +0300 Subject: [PATCH] dot_zshrc.tmpl: set ELECTRON_OZONE_PLATFORM_HINT=auto For Electron 28+. See: https://wiki.archlinux.org/title/Wayland --- dot_zshrc.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index b2e88c9..a59bac3 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -32,6 +32,9 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then # 2021-06-22: fix "Firefox is already running" message # See: https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/ export MOZ_DBUS_REMOTE=1 + # 2025-09-05: Electron 28+ + # See: https://wiki.archlinux.org/title/Wayland + export ELECTRON_OZONE_PLATFORM_HINT=auto export QT_QPA_PLATFORM=wayland-egl export CLUTTER_BACKEND=wayland # 2020-02-10: https://github.com/swaywm/sway/wiki#issues-with-java-applications