chromium wrappers: stop pretending X11 exists, force wayland

Workarounds https://issues.chromium.org/issues/329678163

Via https://github.com/brave/brave-browser/issues/37498#issuecomment-2063025828
This commit is contained in:
Aminda Suomalainen 2024-04-18 08:40:54 +03:00
parent bbbcf9f2c3
commit 7c36fece8a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
7 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -x
/usr/bin/brave-browser-stable --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/brave-browser-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -x
/usr/bin/brave-browser-beta --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/brave-browser-beta --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -x
/usr/bin/brave-browser-nightly --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/brave-browser-nightly --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -x
/usr/bin/chromium-browser --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/chromium-browser --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -x
/usr/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/google-chrome-stable --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -x
/usr/bin/microsoft-edge --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/microsoft-edge --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -x
/usr/bin/vivaldi --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
/usr/bin/vivaldi --ozone-platform=wayland --ozone-platform-hint=wayland --enable-features=WaylandWindowDecorations "$@"
set +x