diff --git a/bash/usr-local-bin/brave b/bash/usr-local-bin/brave new file mode 100755 index 0000000..a5ebf6b --- /dev/null +++ b/bash/usr-local-bin/brave @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# To run Brave under Wayland +# with Mullvad proxy +# Wireguard: --proxy-server=socks5://10.64.0.1 +# OpenVPN: --proxy-server=socks5://10.8.0.1 + +set -x +/usr/bin/brave-browser-stable --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturerBraveVerticalTabs,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@ +# --enable-features=,VaapiVideoDecoder,VaapiIgnoreDriverChecks,WebContentsForceDark --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers +set +x diff --git a/bash/usr-local-bin/code b/bash/usr-local-bin/code new file mode 100755 index 0000000..5135a27 --- /dev/null +++ b/bash/usr-local-bin/code @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -x +flatpak run com.visualstudio.code --no-sandbox --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto $@ +set +x diff --git a/bash/usr-local-bin/codium b/bash/usr-local-bin/codium new file mode 100755 index 0000000..0a15fa5 --- /dev/null +++ b/bash/usr-local-bin/codium @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -x +# https://github.com/flathub/com.vscodium.codium/issues/55 +flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto $@ +set +x diff --git a/bash/usr-local-bin/deltachat b/bash/usr-local-bin/deltachat new file mode 100755 index 0000000..a130638 --- /dev/null +++ b/bash/usr-local-bin/deltachat @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# DeltaChat flatpak with easier command (and outside of Mullvad VPN if configured as). +# Gandi.net mail servers don't like Mullvad IPs resulting inability to send +# anything. + +# The usual Electron flags: --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland + +# https://github.com/deltachat/deltachat-desktop/issues/2800 +# Wayland would be enabled by: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland + +set -x +# Having "flatpak run" will make mullvad-exclude lose effect! +#/usr/bin/mullvad-exclude +/var/lib/flatpak/exports/bin/chat.delta.desktop --disable-gpu $@ +set +x diff --git a/bash/usr-local-bin/edge b/bash/usr-local-bin/edge new file mode 120000 index 0000000..c8a95bf --- /dev/null +++ b/bash/usr-local-bin/edge @@ -0,0 +1 @@ +microsoft-edge \ No newline at end of file diff --git a/bash/usr-local-bin/element b/bash/usr-local-bin/element new file mode 100755 index 0000000..a387677 --- /dev/null +++ b/bash/usr-local-bin/element @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +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 --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 new file mode 100755 index 0000000..4e47a3b --- /dev/null +++ b/bash/usr-local-bin/element-tor @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# 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 --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --proxy-server=socks5://127.0.0.1:9050 $@ +set +x diff --git a/bash/usr-local-bin/microsoft-edge b/bash/usr-local-bin/microsoft-edge new file mode 100755 index 0000000..12af40b --- /dev/null +++ b/bash/usr-local-bin/microsoft-edge @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# To run Microsoft Edge under Wayland +# with Mullvad proxy +# Wireguard: --proxy-server=socks5://10.64.0.1 +# OpenVPN: --proxy-server=socks5://10.8.0.1 + +set -x +/usr/bin/microsoft-edge --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturers,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@ +# --enable-features=VaapiVideoDecoder,VaapiIgnoreDriverCheck -ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers +set +x diff --git a/bash/usr-local-bin/schildichat b/bash/usr-local-bin/schildichat new file mode 100755 index 0000000..a1f62dc --- /dev/null +++ b/bash/usr-local-bin/schildichat @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +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 chat.schildi.desktop --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland "$@" +set +x diff --git a/bash/usr-local-bin/signal-desktop b/bash/usr-local-bin/signal-desktop new file mode 100755 index 0000000..555b152 --- /dev/null +++ b/bash/usr-local-bin/signal-desktop @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# Signal desktop with Wayland, notification fix & tray + +set -x +# --disable-gpu - https://github.com/signalapp/Signal-Desktop/issues/2567#issuecomment-457282578 +# --start-in-tray - would be nice, but then I cannot open it from there, trus --use-tray-icon +flatpak run org.signal.Signal --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --disable-gpu --use-tray-icon $@ +set +x diff --git a/bash/usr-local-bin/vivaldi b/bash/usr-local-bin/vivaldi new file mode 100755 index 0000000..ee5d74f --- /dev/null +++ b/bash/usr-local-bin/vivaldi @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -x +/usr/bin/vivaldi --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturers,EncryptedClientHello,UseDnsHttpsSvcbAlpn --ozone-platform-hint=auto $@ +set +x