How to schedule screen Off and ON
Posted: 13 Sep 2016, 17:37
Hello everyone,
I'am trying to schedule screen off and on without success, so that's why i'am asking for some help.
If i ssh the kiosk and do :
- xset dpms force off
Screen goes off ! Great !
Now if i do :
-xset dpms force on
Screen goes on ! Great to ! but those command also implicity enable default DPMS but the trick is to use :
-xset dpms 0 0 0
to change default value of dpms
------------------------------------------------------
So now, what i would like to do is this :
Wake up screen at 7:30 AM all working day and power off screen at 08:00PM (And off course keep the screen off Saturday, sunday)
Do you have any idea ?
Maybe a custom "scheduled_action" ?
A custom Crontab ?
Or custom rc.local ?
I'am kind of lost for this modification so thanks for your help.
I'am trying to schedule screen off and on without success, so that's why i'am asking for some help.
If i ssh the kiosk and do :
- xset dpms force off
Screen goes off ! Great !
Now if i do :
-xset dpms force on
Screen goes on ! Great to ! but those command also implicity enable default DPMS but the trick is to use :
-xset dpms 0 0 0
to change default value of dpms
------------------------------------------------------
So now, what i would like to do is this :
Wake up screen at 7:30 AM all working day and power off screen at 08:00PM (And off course keep the screen off Saturday, sunday)
Do you have any idea ?
Maybe a custom "scheduled_action" ?
A custom Crontab ?
Or custom rc.local ?
I'am kind of lost for this modification so thanks for your help.