You are not logged in.

#1 2014-09-01 16:04:33

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

dpms / xscreensaver:standby counter not resetting on keyboard activity

I am using an external USB keyboard together with an external screen attached to my laptop. I further use xscreensaver with DPMS settings of 10 minutes without activity before entering standby mode.

If I only use the keyboard during this period, my external screen will enter standby after the configured time. If I use the mouse at any point in time, this does not happen (I presume user activity is detected in this case and the standby counter reset).

After my screen goes into standby, a keypress on the external keyboard does indeed wake the screen up (as does a movement of the mouse).

While this is not a critical problem, it is quite annoying to see my display randomly enter standby while I am working on the machine. Any idea what might be happening here?

Offline

#2 2014-09-01 20:41:40

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

Re: dpms / xscreensaver:standby counter not resetting on keyboard activity

Hi
You don't need to use xscreensaver to just use the DPMS feature.
Try to use xset instead; in your .xinitrc put this command:

xset dpms 600 1200 1800                       <--------or other values

Of course if you do that, disable xscreensaver.

Last edited by berbae (2014-09-01 20:42:43)

Offline

#3 2014-09-01 21:57:17

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: dpms / xscreensaver:standby counter not resetting on keyboard activity

berbae wrote:

Hi
You don't need to use xscreensaver to just use the DPMS feature.
Try to use xset instead; in your .xinitrc put this command:

xset dpms 600 1200 1800                       <--------or other values

Of course if you do that, disable xscreensaver.

Are you suggesting that using xscreensaver has an effect on how DPMS is handling keyboard activity?

And I am not using xscreensaver to just set DPMS.

Offline

#4 2014-09-02 10:11:47

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

Re: dpms / xscreensaver:standby counter not resetting on keyboard activity

I suggest only that you could try running only xset to see if something changes.

I thought that going to standby after 10 minutes doesn't let many time for a graphical screen saver to show up.

But you are right there is probably something else; but I don't use a USB keyboard and I am at a desktop machine.
If I find something on the web I will tell you...

Offline

#5 2014-09-02 12:28:36

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: dpms / xscreensaver:standby counter not resetting on keyboard activity

I found a user question on stackexchange, which describes pretty much the issue I have:
http://unix.stackexchange.com/questions … ctivity-ho

The accepted answer suggests using xautolock to detect user activity.

Last edited by Stalafin (2014-09-02 12:30:12)

Offline

Board footer

Powered by FluxBB