From 7d0ca6c9ec5b435eb841804cd130884f49aefbe6 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Sun, 11 Aug 2024 23:30:23 +0200 Subject: [PATCH] enable wayland in gdm --- hooks/{1-add-autologin.chroot => 5-add-autologin.chroot} | 1 + 1 file changed, 1 insertion(+) rename hooks/{1-add-autologin.chroot => 5-add-autologin.chroot} (81%) diff --git a/hooks/1-add-autologin.chroot b/hooks/5-add-autologin.chroot similarity index 81% rename from hooks/1-add-autologin.chroot rename to hooks/5-add-autologin.chroot index ff20cc7..a9a2940 100755 --- a/hooks/1-add-autologin.chroot +++ b/hooks/5-add-autologin.chroot @@ -3,5 +3,6 @@ mkdir -p /etc/gdm3 || true mkdir -p /etc/sddm.conf.d/ || true echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true +sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true