1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-22 14:52:05 -05:00

Disable XWayland on desktop distros except Kali

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-15 01:33:13 -07:00
parent ef33e52af4
commit 0dcbd4d408
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
3 changed files with 15 additions and 0 deletions

View File

@ -87,6 +87,12 @@ sudo mkdir -p /etc/systemd/system/NetworkManager.service.d
unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf
sudo systemctl restart NetworkManager
# Disable XWayland
umask 022
sudo mkdir -p /etc/systemd/user/org.gnome.Shell@wayland.service.d
unpriv curl https://raw.githubusercontent.com/TommyRean732/Linux-Setup-Scripts/main/etc/systemd/user/org.gnome.Shell@wayland.service.d/override.conf | sudo tee /etc/systemd/user/org.gnome.Shell@wayland.service.d/override.conf
umask 077
# Setup dconf
umask 022

View File

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/bin/gnome-shell --no-x11

View File

@ -75,6 +75,12 @@ sudo mkdir -p /etc/systemd/system/NetworkManager.service.d
unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf
sudo systemctl restart NetworkManager
# Disable XWayland
umask 022
sudo mkdir -p /etc/systemd/user/org.gnome.Shell@wayland.service.d
unpriv curl https://raw.githubusercontent.com/TommyRean732/Linux-Setup-Scripts/main/etc/systemd/user/org.gnome.Shell@wayland.service.d/override.conf | sudo tee /etc/systemd/user/org.gnome.Shell@wayland.service.d/override.conf
umask 077
# Setup dconf (does not seem to work - need to double check why)
umask 022