Is there a way to limit when playtime is available (e.g. not before 7a, not after 7p)

Asked by joncamfield

First off; I deeply appreciate the care and work you have put into this. It keeps Linux as an option for responsibly managing screen time - without it I'm sure we would have caved in and gone the tablet route by now.

I am wondering if there's an "anti-interval" option? I'd like to prevent access during certain blackout periods, regardless of if my kiddo has time available or not (e.g. overnight/early morning, during dinner time, etc.). My understanding of intervals as they currently exist is it allows unlimited time in those slots - could this be as easy as adding a toggle of allow/deny during those times? (admittedly the backend management of that is going to be more tangled).

Again, thanks for all you have done for the nerd parenting community.

Question information

English Edit question
Timekpr-nExT Edit question
Eduards Bezverhijs Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Eduards Bezverhijs (mjasnik) said (last edit ):

Well, I don’t quite understand the requirement…

Generally speaking, the kid has two restrictions, time allowance and intervals. Time allowance per day means that he can not spend more than that in any amount of intervals…

Lets say kid has 5 hours of allowance and two intervals, from 10:00 - 12:00 and 14:00 -18:00, he can spend 2 hours from 10:00 to 12:00, and has 3 hours left from 14:00-18:00. No more than that.
If he does not spend anything from 10:00-12:00, he has 4 hours left from 14:00-18:00.
Needless to say that he can not log in before 10:00, between 12:00 and 14:00, after 18:00 regardless of how many hours he has already spent or left from his daily allowance.

Does this solve your question?
If not please describe real life example of what you are trying to achieve.

Revision history for this message
joncamfield (jon-camfield) said :

This does solve my question! The interval descriptor text made it seem like it was all free time, but a careful re-read shows me that it's only that if you select the ∞ option. Thanks!