From dd1cf61a491ba6c6b99f013ccde27becb809afd2 Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 18 Apr 2024 15:31:31 -0700 Subject: [PATCH] Change to using --ozone-platform=wayland Signed-off-by: Tommy --- Fedora-Workstation-40.sh | 2 +- Ubuntu-23.10-Desktop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Fedora-Workstation-40.sh b/Fedora-Workstation-40.sh index e3d01a1..a1beea3 100644 --- a/Fedora-Workstation-40.sh +++ b/Fedora-Workstation-40.sh @@ -190,7 +190,7 @@ gpgkey=https://packages.microsoft.com/keys/microsoft.asc' | sudo tee /etc/yum.re unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json | sudo tee /etc/opt/edge/policies/managed/managed.json unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json | sudo tee /etc/opt/edge/policies/recommended/recommended.json sudo mkdir -p /usr/local/share/applications - sed 's/^Exec=\/usr\/bin\/microsoft-edge-stable/& --ozone-platform-hint=auto --start-maximized/g' /usr/share/applications/microsoft-edge.desktop | sudo tee /usr/local/share/applications/microsoft-edge.desktop + sed 's/^Exec=\/usr\/bin\/microsoft-edge-stable/& --ozone-platform=wayland --start-maximized/g' /usr/share/applications/microsoft-edge.desktop | sudo tee /usr/local/share/applications/microsoft-edge.desktop umask 077 fi diff --git a/Ubuntu-23.10-Desktop.sh b/Ubuntu-23.10-Desktop.sh index 86125ee..01111f0 100644 --- a/Ubuntu-23.10-Desktop.sh +++ b/Ubuntu-23.10-Desktop.sh @@ -191,7 +191,7 @@ if [ "${MACHINE_TYPE}" == 'x86_64' ] || [ -f /media/psf/RosettaLinux/rosetta ] | sudo rm -rf /etc/systemd/user/org.gnome.Shell@wayland.service.d else sudo mkdir -p /usr/local/share/applications - sed 's/^Exec=\/usr\/bin\/microsoft-edge-stable/& --ozone-platform-hint=auto --start-maximized/g' /usr/share/applications/microsoft-edge.desktop | sudo tee /usr/local/share/applications/microsoft-edge.desktop + sed 's/^Exec=\/usr\/bin\/microsoft-edge-stable/& --ozone-platform=wayland --start-maximized/g' /usr/share/applications/microsoft-edge.desktop | sudo tee /usr/local/share/applications/microsoft-edge.desktop fi umask 077 fi