Skip to content

Commit 270be17

Browse files
authored
disable sleep, suspend, hibernate in gnome
1 parent de96753 commit 270be17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oscfg/manjaro.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ EOF
115115
run pacman -S --noconfirm pamac-gtk pamac-flatpak-plugin pamac-gnome-integration polkit-gnome xdg-desktop-portal xdg-desktop-portal-gtk
116116
run systemctl enable gdm
117117
sed -i -e 's|#%PAM-1.0|#%PAM-1.0\nauth sufficient pam_succeed_if.so user ingroup shellsmgmt|' $WORK/etc/pam.d/gdm-password
118+
run systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
118119
# run systemctl enable apparmor snapd snapd.apparmor
119120
# update locale (only needed for GIS)
120121
cp "$WORK/etc/locale.gen" "$WORK/etc/locale.gen.bak"

0 commit comments

Comments
 (0)