How to schedule screen Off and ON

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Post Reply
White ninja
White ninja
Posts: 13
Joined: 05 Mar 2014, 10:08
Distribution: zorin-os
Location: France

How to schedule screen Off and ON

Post#1 by AiR-0nE » 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.

User avatar
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Re: How to schedule screen Off and ON

Post#2 by Rava » 25 Sep 2016, 00:15

I would create a custom Crontab. But I am not fluently with that, so I cannot type you your solution out of the blue...
Yours Rava

Post Reply