You are not logged in.
Hey,
I'm currently setting screen blank time and suspend time with dpms.
xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 300 cycle: 300
Colors:
default colormap: 0x22 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc,/usr/share/fonts/TTF,/usr/share/fonts/OTF,/usr/share/fonts/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is OnI'm experiencing some problems with suspend, thus I would like to make hibernate or suspend-then-hibernate the default.
How can I do that?
Offline
Hi, there have been reported issues with suspend on kernel 5.4.x. You might be able to fix it by adding the init_on_alloc=0 kernel parameter.
As for changing the default to hibernate/suspend-then-hibernate I suggest looking at the wiki page on suspend, which links to the Arch default systemd implementation for details.
Offline
Hmm, I looked at the wiki page and the sleep.conf manpage.
It is not clear how to set SuspendMode to any other value then suspend or hibernate.
When I try to set SuspendMode=hybrid-sleep for example I get the following error:
systemctl suspend
Failed to suspend system via logind: Sleep verb "suspend" not supported
Offline
@dbacc True, the respective man pages don't seem to be very helpful either on how to set defaults to anything else but suspend. Alas I've never had to change those defaults, so I can't be of much more help than to refer you to asking on #systemd on irc.freenode.org or to file an issue about this on https://github.com/systemd/systemd...
Offline