mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 16:19:22 +01:00
b/ulp/{element,nheko}: cut torifying to -tor
This commit is contained in:
parent
5a74b94071
commit
7a179e4f3c
@ -1,13 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Torifying Element
|
||||
# Wayland flags: --enable-features=UseOzonePlatform,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
|
||||
# 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.
|
||||
# Also workaround my electron curse
|
||||
flatpak run im.riot.Riot --disable-gpu --proxy-server=socks5://127.0.0.1:9050 $@
|
||||
flatpak run im.riot.Riot $@
|
||||
set +x
|
||||
|
14
bash/usr-local-bin/element-tor
Executable file
14
bash/usr-local-bin/element-tor
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Torifying Element
|
||||
# Wayland flags: --enable-features=UseOzonePlatform,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
|
||||
# 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 $@
|
||||
set +x
|
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Nheko flatpak with Tor and xwayland as Nheko's wayland support is currently poor
|
||||
# Nheko flatpak with xwayland as Nheko's wayland support is currently poor
|
||||
# icons not working, context menus being inaccessible, some
|
||||
# profiles not spawning windows
|
||||
|
||||
set -x
|
||||
#flatpak run --env=QT_QPA_PLATFORM=xcb --env=all_proxy=socks5://127.0.0.1:9050/ io.github.NhekoReborn.Nheko $@
|
||||
flatpak run --env=QT_QPA_PLATFORM=xcb --env=all_proxy=socks5://127.0.0.1:9050/ io.github.NhekoReborn.Nheko//master $@
|
||||
flatpak run --env=QT_QPA_PLATFORM=xcb io.github.NhekoReborn.Nheko//master $@
|
||||
set +x
|
||||
|
10
bash/usr-local-bin/nheko-tor
Executable file
10
bash/usr-local-bin/nheko-tor
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Nheko flatpak with Tor and xwayland as Nheko's wayland support is currently poor
|
||||
# icons not working, context menus being inaccessible, some
|
||||
# profiles not spawning windows
|
||||
|
||||
set -x
|
||||
#flatpak run --env=QT_QPA_PLATFORM=xcb --env=all_proxy=socks5://127.0.0.1:9050/ io.github.NhekoReborn.Nheko $@
|
||||
flatpak run --env=QT_QPA_PLATFORM=xcb --env=all_proxy=socks5://127.0.0.1:9050/ io.github.NhekoReborn.Nheko//master $@
|
||||
set +x
|
Loading…
Reference in New Issue
Block a user