Open source software highlight of this week is Timekpr-nExt. It is a GUI application to limit the computer usage for certain accounts on a Linux system. This is a handy utility for parents who do not want children to spend excessive time on the computer.
Use Timekpr-nExt to limit computer usage on Linux
If you have young children at home who spend too much time on computer, you may want to put some sort of restriction on the usage.
Timekpr-nExt enables you to limit computer usage for certain accounts based on the time of day, number of hours a day, week or month. You may also set time interval to force the account user to take break.

After the given time expires, the user is automatically logged out and cannot log back in until the restriction conditions are satisfied.

Of course, this means that you need to have separate non-admin (no sudo access) accounts for the children. If the kids accounts also have admin access, they can change the settings easily. Kids are smart, you know.
Features of Timekpr-nExt
Apart from an annoyingly stylized name, Timekpr-nExt has the following features:
- Limit system usage as day wise limit, daily limit, weekly or monthly limit
- You can also set access restrictions based on time and hour
- Users can be shown notification about how much time they have left
- Set the lockout action (terminate session, shutdown, suspend or lock screen)
- Track the time usage of the accounts
Keep the following things in mind:
- Check carefully which account you are configuring. Do not lock yourself out.
- Hit the apply or set button for each configuration changes otherwise the changes won’t be set.
- Children accounts should not have admin action otherwise they can overwrite the settings.
Read the documents about more information on using Timekpr-nExt.
Installing Timekpr-nExt on Linux
For Ubuntu-based Linux distributions (like Mint, Linux Lite etc), there is an official PPA available. You can install it by using the following commands one by one:
sudo add-apt-repository ppa:mjasnik/ppa
sudo apt update
sudo apt install timekpr-next
Arch Linux users can find it in AUR. For others, please check your distribution’s repository. If there is no such package, you may try using the source code.
Again, do not use Timekpr-nExt for your own main account. You may lock yourself out.
You’ll see two instances of the application. Use the one with (SU) at the beginning.

Removing Timekpr-nExt
I cannot say for certain if removing Timekpr-nExt will also remove the restrictions you put in place for the users. It will be a good idea to manually restore them (putting 24 hr interval a day). There is no reset button here.
To remove this application (if you used PPA to install it), use the following command:
sudo apt-get remove --purge timekpr-next
Delete the PPA repository as well:
sudo add-apt-repository -r ppa:mjasnik/ppa
Like blocking adult content on Linux, this application is also children specific. Not everyone would find it useful but people with young children at home may use it if they feel the need.
Do you use some other application to monitor/restrict children from accessing computer?
It works on Buster too. Didn’t add the ppa, just downloaded the amd64 package and installed with dpkg.
So far it works as it should :)
WTF bs, kids using linux?
Then he is extremely smart.
Yeah, according to the article some of them even use arch. I’m confident they are geniuses. I feel dumb now.
Well, my kids (6 and 10) have a Raspberry Pi in the living room connected to the TV with very limited internet access (KiKa, youtube kids, etc.) and limited access to the family NAS.
Yes. Parents use Linux, kids will learn it too. :)
Believe me, it isn’t any harder than Windows, just different in some regards. They use Windows at the school, Linux at home…
Timekpr just makes bedtime a bit more safe :)
Of course kids don’t have root acces to modify Timekpr settings.
Thanks for that! My kids are just coming into that age.
Is there really an issue with computer use or is the real problem with internet access? If the latter, the smarter solution would be addressed at the perimeter device, if the former, than this a great solution. Ah, what parents will do to not be responsible parents…
Excellent point. Just administer your router to restrict internet access for your kids if that’s the issue.
+1
For keeping unwanted sites away we use OpenDNS. I highly recommend it.
Our local name resolver has an own blacklist, which it denies to resolve, the rest is forwarded to OpenDNS, which acts as another layer. But OpenDNS alone is way much better than nothing.
Note that a dyndns like setup is necessary for OpenDNS to fully work.