diff --git a/bash/usr-local-bin/element b/bash/usr-local-bin/element index cfbbbf5..44269ce 100755 --- a/bash/usr-local-bin/element +++ b/bash/usr-local-bin/element @@ -1,11 +1,7 @@ #!/usr/bin/env bash -# Wayland flags: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland -# Wayland crash: https://github.com/vector-im/element-web/issues/19964 -# Crash workaround for Signal-desktop, but not Element? --disable-gpu - set -x # 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 $@ +flatpak run im.riot.Riot --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland $@ set +x diff --git a/bash/usr-local-bin/element-tor b/bash/usr-local-bin/element-tor index f29d189..4e47a3b 100755 --- a/bash/usr-local-bin/element-tor +++ b/bash/usr-local-bin/element-tor @@ -1,14 +1,12 @@ #!/usr/bin/env bash -# Torifying Element -# Wayland flags: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland -# Wayland crash: https://github.com/vector-im/element-web/issues/19964 -# Crash workaround for Signal-desktop, but not Element? --disable-gpu +# Torifying Element with Wayland + set -x # proxy authentication is not supported # https://github.com/vector-im/element-web/issues/3320 #/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 --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --proxy-server=socks5://127.0.0.1:9050 $@ set +x