Mailinglist Archive: opensuse (1352 mails)

< Previous Next >
[opensuse] how to enable display power saving on virtual consoles
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Sun, 03 Jun 2018 12:54:24 +0200
  • Message-id: <pf0hd0$355$>
Per Jessen wrote:

That's a little over-engineered, I think. My 3-line drop-in achieves
the same:

# /etc/systemd/system/getty@.service.d/powersave.conf
ExecStartPost=/usr/bin/setterm -blank 2 -powerdown 5 /dev/%I

Correction, this is what we ended up with:


ExecStartPost=-/usr/bin/setterm -powersave on >/dev/%I
ExecStartPost=/usr/bin/setterm -blank 2 -powerdown 5 >/dev/%I

Remarkably, "/usr/bin/setterm -powersave on" works fine when issued from
a console.

Per Jessen, Zürich (22.6°C) - virtual servers, made in Switzerland.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups