Page 1 of 1

How to schedule screen Off and ON

Posted: 13 Sep 2016, 17:37
by AiR-0nE
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.

Re: How to schedule screen Off and ON

Posted: 25 Sep 2016, 00:15
by Rava
I would create a custom Crontab. But I am not fluently with that, so I cannot type you your solution out of the blue...