Skip to content

Commit

Permalink
disable automatic suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Jul 30, 2024
1 parent 693f019 commit 67f91b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions etc/config/hooks/live/081-disable-automatic-suspend.chroot
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
cat > /usr/share/glib-2.0/schemas/91-automatic-suspend.gschema.override <<EOF
[org.gnome.settings-daemon.plugins.power]
sleep-inactive-ac-type='nothing'
sleep-inactive-battery-type='nothing'
EOF
glib-compile-schemas /usr/share/glib-2.0/schemas/

0 comments on commit 67f91b1

Please sign in to comment.