Compare commits

...

3 Commits

6 changed files with 41 additions and 8 deletions

View File

@ -10,6 +10,10 @@ flatpak override --filesystem=/usr/local/share/themes:ro --filesystem=/usr/share
flatpak override --filesystem=/usr/local/share/icons:ro --filesystem=/usr/share/icons:ro --filesystem=~/.icons:ro
flatpak override --filesystem=/usr/local/share/cursors:ro --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors:ro
# In case debugging flatpaks is subject to the other restrictions and running
# gdb there is made easier by access to the file
flatpak override --filesystem=~/.gdbinit:ro
# Backticks and a lot of common characters in all Flatpaks
# https://github.com/flatpak/flatpak/issues/2031
flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx

View File

@ -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
View 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

View File

@ -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
View 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

7
bash/usr-local-bin/vlc-flatpak Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Starting the VLC flatpak. Not to override the one from package manager.
set -x
flatpak run org.videolan.VLC $@
set +x