mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Change to using --ozone-platform=wayland
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
02de9a0d7e
commit
dd1cf61a49
@ -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/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
|
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
|
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
|
umask 077
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -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
|
sudo rm -rf /etc/systemd/user/org.gnome.Shell@wayland.service.d
|
||||||
else
|
else
|
||||||
sudo mkdir -p /usr/local/share/applications
|
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
|
fi
|
||||||
umask 077
|
umask 077
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user