mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-03 22:31:34 -05:00
Disable XWayland on desktop distros except Kali
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
ef33e52af4
commit
0dcbd4d408
@ -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
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/gnome-shell --no-x11
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user