From 36a50bc815d99def766ad1b8bb4e3f435c2d8f97 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 29 Jun 2021 12:50:55 +0300 Subject: [PATCH] .zshrc: Fix for Firefox on Wayland Don't try opening Firefox in XWayland when we already have one run- ning on Wayland. --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index b9f0048..d65bb8b 100644 --- a/.zshrc +++ b/.zshrc @@ -34,6 +34,9 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then if [[ -n $WAYLAND_DISPLAY ]]; then export MOZ_ENABLE_WAYLAND=1 + # 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 export KITTY_ENABLE_WAYLAND=1 export QT_QPA_PLATFORM=wayland-egl export CLUTTER_BACKEND=wayland