I just made an answer available easily. Code is explained on thread http://forums.linuxmint.com/viewtopic.php?f=213&t=77687 . In short: a limit configured in minutes per day, a cron job every minute, a message to user to keep him informed and a forced logoff.
To download and install this, open a Terminal and run the commands below:
cd /tmp/
git clone https://github.com/Thomas-Baeckeroot/ParentalControl.git
cd ParentalControl/
./install.sh
Administrator password will be requested during the installation process (to install the cron job, to copy the script, …). From there you will be guided for all. There is also an ./uninstall.sh at the same place just in case. It is build to work with all Ubuntu based distro (Mint, … probably all debian also). If any issue occurs please let me know, including system version and graphical environment in comments:
uname -a
echo $XDG_CURRENT_DESKTOP
Thomas Baeckeroot
1"...timekpr, gnome-nanny and modifying .pam settings don't work" <-- care to elaborate? How do you expect them to work and what happened when you tried them? – None – 2014-06-16T13:06:25.253
timekpr and gnome-nanny - they had trouble with installation packages -missing dependencies. Mostly, I've tried the solutions from here , but those didn't work.
– None – 2014-06-16T13:27:33.320