From a1ae10bf172ff1d77f5ce7410ea5d93d68e0158b Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 14 Feb 2024 10:25:37 +0200 Subject: [PATCH] flatpak-workarounds: enable wayland for Electron apps when available --- bash/flatpak-workarounds.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/flatpak-workarounds.bash b/bash/flatpak-workarounds.bash index cc71b1e..a853eb7 100755 --- a/bash/flatpak-workarounds.bash +++ b/bash/flatpak-workarounds.bash @@ -24,7 +24,7 @@ flatpak override --filesystem=~/.shell-things:rw --filesystem=~/src/gitea.blesmr # SECURITY! May let untrusted apps spy on everything on X11 desktops, but # I either don't have those around or Fedora 40 removes them with the new KDE # Plasma. NOTE: fallback-x11 should override x11 socket permission. -flatpak override --socket=wayland --socket=fallback-x11 --nosocket=x11 $@ +flatpak override --socket=wayland --socket=fallback-x11 --nosocket=x11 --env=ELECTRON_OZONE_PLATFORM_HINT=auto $@ # Backticks and a lot of common characters in all Flatpaks # https://github.com/flatpak/flatpak/issues/2031