How can I set up Ubuntu 14.04 to automatically go to the lock screen after a certain time period regardless of activity? (ie to child-lock a machine so s/he's not glued to it all night)

  • If s/he can use the computer unsupervised, s/he can undo anything you can do. This is a people problem, and technical solutions will only have a limited benefit. Have you tried telling him/her that the computer is off-limits after a certain time? Feb 29, 2016 at 22:09
  • The person I'm particularly concerned about won't be able to undo anything. (mentally disabled 31 year old) Feb 29, 2016 at 22:40
  • Maybe turning off the internet at your router after x o'clock might be an option too, wouldn't stop local programs like solitaire or minesweeper though.
    – Xen2050
    Mar 1, 2016 at 4:54

1 Answer 1


Have you tried TimeKpr? It appears to allow you to limit access by time, but I've not tried it personally:

Time Configuration Window

Installation Instructions:

sudo add-apt-repository ppa:mjasnik/ppa
sudo apt-get update
sudo apt-get install timekpr

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .