Gentoo Archives: gentoo-user

From: Jonathan Callen <jcallen@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: How do I turn off text console screen in software?
Date: Wed, 10 May 2017 19:36:25
Message-Id: 0b944745-0c68-8713-6214-2f2322cc0729@gentoo.org
In Reply to: Re: [gentoo-user] How do I turn off text console screen in software? by R0b0t1
1 On 05/10/2017 12:59 PM, R0b0t1 wrote:
2 > On Wed, May 10, 2017 at 9:03 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
3 >> I'd prefer to avoid hitting the monitor display on/off too often. In
4 >> an xterm, the script...
5 >>
6 >> #!/bin/bash
7 >> sleep 1 && xset -display :0.0 dpms force off
8 >>
9 >> ...shuts the screen off. Is there an equivalant command for a text
10 >> console (e.g. where you end up if you hit CTRL-ALT-F1)?
11 >>
12 >> --
13 >> Walter Dnes <waltdnes@××××××××.org>
14 >> I don't run "desktop environments"; I run useful applications
15 >>
16 >
17 > `setterm -blank VALUE` where VALUE is specified in minutes. A value of
18 > zero disables blanking. You can also add "consoleblank=0" to your
19 > kernel's command line. It's probably worth looking at the other
20 > `setterm` options.
21 >
22 > You can read /sys/module/kernel/parameters/consoleblank to see if your
23 > changes applied properly.
24 >
25 >
26
27
28 Additionally, "setterm --blank force" turns the console off immediately.
29
30 --
31 Jonathan Callen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: How do I turn off text console screen in software? Walter Dnes <waltdnes@××××××××.org>