You are not logged in.

#1 2015-05-10 09:01:35

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

How to prevent DPMS from turning off because of mouse

Hi Archers! I have DPMS mode as my screensaver in Arch + IceWM and it turns off often because of mouse pointer jumping at random times (you know how sometimes mice cannot still for long even if not moved). Is there a possibility to make DPMS turn off only with keyboard and ignore mouse moves so that whenever I do "xset dpms force off" I will be able to turn on my display only with keystrokes?

Offline

#2 2015-05-10 09:41:51

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: How to prevent DPMS from turning off because of mouse

You could try determining the device id of the mouse with:

xinput --list

And before starting dpms, you could disable the mouse with:

xinput --disable <device id>

Then:

xset dpms force standby
or
xset dpms force suspend

When you turn off dpms with the keyboard, re-enable the mouse with:

xinput --enable <device id>

Offline

Board footer

Powered by FluxBB