Need to press hardware ON button after "dpms force off"?

Everything about X, Gnome, KDE, ... and everything running on it

Need to press hardware ON button after "dpms force off"?

Postby debian121212 » 2019-03-21 22:07

On Debian 9 XFCE:

I switch my monitor off with (bash script approach)
Code: Select all
#!/bin/bash
xset s blank ; sleep 1 ; xset s activate


I have also used (no script approach)
Code: Select all
xset dpms force off


Have used
Code: Select all
xset dpms force off
with a sleep before on a script as well with the same results.

I can come back by pressing any button with both approaches if I attempt to do so quickly.

However if I wait about 5 minutes, I can't just move the mouse a little to come back. I have to move the mouse a little, and then actually press the hardware button ON on the actual monitor itself.

Tried both of these command's counterparts (used hotkeys)
Code: Select all
xset dpms force on

Code: Select all
xset s blank ; sleep 1 ; xset s deactivate


Anyway to come back after
Code: Select all
xset dpms force off
without having to press the hardware ON button on the actual monitor iteself?

I just want to turn the monitor on or off without having to actually use the hardware monitor button itself and its working until 5 min and then it doesnt!!!!

Thanks for reading!

Looks like dpms is bugged: https://unix.stackexchange.com/question ... -force-off
User avatar
debian121212
 
Posts: 65
Joined: 2019-01-03 01:34

Re: Need to press hardware ON button after "dpms force off"?

Postby arzgi » 2019-03-22 10:52

I assume Debian 9 means stable.

You did not mention, but have you chekced monitor's own power save setting? Some monitors have menu button, others otherway to access it.
arzgi
 
Posts: 461
Joined: 2008-02-21 17:03
Location: Finland

Re: Need to press hardware ON button after "dpms force off"?

Postby Head_on_a_Stick » 2019-03-22 16:17

debian121212 wrote:if I wait about 5 minutes, I can't just move the mouse a little to come back. I have to move the mouse a little, and then actually press the hardware button ON on the actual monitor itself

Are you sure the machine hasn't gone into suspend?

Check the options in xfce4-power-manager-settings.
User avatar
Head_on_a_Stick
 
Posts: 10377
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Need to press hardware ON button after "dpms force off"?

Postby debian121212 » 2019-08-25 07:04

Appreciated.

Monitor broke down shortly after . .
User avatar
debian121212
 
Posts: 65
Joined: 2019-01-03 01:34


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable