[PATCH] Close non-keyboard devices on DPMS off
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Oct 6 12:07:11 PDT 2013
On 10/ 6/13 11:17 AM, Keith Packard wrote:
> Mark Kettenis <mark.kettenis at xs4all.nl> writes:
>> For me, moving the mouse has always been the most natural way to wake
>> up the screen.
>
> Yeah, that's the usual way I wake my machine up as well. However, if you
> try this on an OS X machine, you'll find that only the keyboard will
> wake the machine up. So, it's not a universal policy at least.
Perhaps this should be a per-device configuration option then? Either X.Org
or distros could ship default xorg.conf.d snippet files such as
Section "InputClass"
Identifier "mouse power savings"
MatchIsPointer "on"
Option "CloseOnDPMS" "on"
EndSection
and those who are using desktops instead of battery-powered devices can
simply remove it. Mechanism in the code, policy in the config.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list