Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel options and udisk
Date: Tue, 18 Sep 2012 14:55:16
Message-Id: CA+czFiCxgUyMTD4eqOSFa0=zf6PbdaDOBDpJH_jDJFRMnFRrQA@mail.gmail.com
In Reply to: Re: [gentoo-user] Kernel options and udisk by Peter Humphrey
1 On Tue, Sep 18, 2012 at 10:32 AM, Peter Humphrey
2 <peter@××××××××××××××.org> wrote:
3 > On Tuesday 18 September 2012 02:13:14 Canek Peláez Valdés wrote:
4 >> On Mon, Sep 17, 2012 at 7:25 PM, Peter Humphrey
5 >>
6 >> <peter@××××××××××××××.org> wrote:
7 >> > I resent the kernel's insistence on deciding when my monitor should
8 >> > be switched off. I'm perfectly capable of doing that myself, thank
9 >> > you very much.
10 >>
11 >> Well, if that's the way you feel, you obviously don't use (nor need)
12 >> udisks, and take care of everything that goes on with your machine,
13 >> like when to flush I/O or when to move memory pages to swap.
14 >
15 > No, of course not. That would be silly. I just like to have the monitor
16 > under my control, that's all.
17
18 You do. You can turn it off and on via the hardware switch on it, and
19 you can disable the kernel's turning it off via software controls.
20
21 "man setterm"
22
23 You have the ability to explicitly control display powersave behaviors
24 using the -powersave and -powerdown options.
25
26 If you're in X, you have xset.
27
28 "xset -dpms" turns Energy Star features off.
29 "xset +dpms" turns them on.
30 "xset dpms force off" turns your display off.
31 "xset dpms force on" turns your display on.
32
33 Run 'xset' in an xterm to see all the options you have available there.
34
35 If you're running xscreensaver, you can control its use of DPMS in the
36 configuration window offered by the "xscreensaver-demo" program. GNOME
37 and KDE also provide similar knobs.
38
39 --
40 :wq