mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 03:02:53 +01:00
bash/usr/local-bin/element*: restore wayland and GPU disabling
I understand that https://github.com/vector-im/element-web/releases/tag/v1.10.14-rc.1 brings support for --disable-gpu and the wayland crash seems fixed
This commit is contained in:
parent
58ecd59c4c
commit
25d2061653
@ -1,11 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
set -x
|
||||||
# Flatpak is preferred for Element not having official Fedora repositories
|
# Flatpak is preferred for Element not having official Fedora repositories
|
||||||
# and at the time of writing being unmaintained in upstream suggested repo.
|
# 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
|
set +x
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Torifying Element
|
# Torifying Element with Wayland
|
||||||
# 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
|
set -x
|
||||||
# proxy authentication is not supported
|
# proxy authentication is not supported
|
||||||
# https://github.com/vector-im/element-web/issues/3320
|
# https://github.com/vector-im/element-web/issues/3320
|
||||||
#/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@
|
#/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@
|
||||||
# Flatpak is preferred for Element not having official Fedora repositories
|
# Flatpak is preferred for Element not having official Fedora repositories
|
||||||
# and at the time of writing being unmaintained in upstream suggested repo.
|
# 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
|
set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user