diff --git a/bash/usr-local-bin/codium b/bash/usr-local-bin/codium index c8967f5..7acc8fb 100755 --- a/bash/usr-local-bin/codium +++ b/bash/usr-local-bin/codium @@ -1,6 +1,8 @@ #!/usr/bin/env bash +# Run under flatpak, and Wayland + set -x # https://github.com/flathub/com.vscodium.codium/issues/55 -flatpak run com.vscodium.codium --no-sandbox $@ +flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland $@ set +x diff --git a/bash/usr-local-bin/element b/bash/usr-local-bin/element index ac60097..ceddf41 100755 --- a/bash/usr-local-bin/element +++ b/bash/usr-local-bin/element @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Torifying Element +# Torifying Element. And running it under Wayland set -x # proxy authentication is not supported @@ -8,5 +8,5 @@ set -x #/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@ # Flatpak is preferred for Element not having official Fedora repositories # and at the time of writing being unmaintained in upstream suggested repo. -flatpak run im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 $@ +flatpak run im.riot.Riot --enable-features=UseOzonePlatform --ozone-platform=wayland --proxy-server=socks5://127.0.0.1:9050 $@ set +x