Closed hawstom closed 10 years ago
Update: I may have been hasty. Possibly gdm simply needed a reboot. Not sure. Does kidtimer require gdm to be active? In any case, I will keep testing and report back.
Tom,
No it doesn't, but it does need "at". Make sure it is installed.
Mike :)
On Sun, Feb 23, 2014 at 1:24 AM, Tom Haws notifications@github.com wrote:
Update: I may have been hasty. Possibly gdm simply needed a reboot. Not sure. Does kidtimer require gdm to be active? In any case, I will keep testing and report back.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-35824992 .
It seems to be working. Can I ask you some questions?
Tom
Tom,
I once wrote something about it... and because I was the maker of the software... they thought it was a advert and deleted it. Go figure?
Glad is working for you,
Mike :)
On Wed, Feb 26, 2014 at 9:55 AM, Tom Haws notifications@github.com wrote:
It seems to be working. Can I ask you some questions?
- After you quit the kidtimer menu, do you have to restart or anything?
- I may want to blog about this in comparison to timekpr and any other time control software. Have you tried any of them?
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36132863 .
@hawstom Hello Tom, I already wrote a blog article as well - unfortunately in German, not in English, about the approach to protect the desktops of my kids, so I wrote about the entire "parental control package" I am using, including Firefox Addons like Procon Latte, Public Fox as well as kidtimer. Parental control is as you know more than just installing a filter. It requires a lot of non-technical tasks as well like educating your kids about the danger of certain things, and build an environment of confidence that they come back to you if they have issues and questions. It embraces home desktop as well smartphones, of course. There is a good article about this entire approach written by a friend: http://www.symantec.com/connect/blogs/parental-control-means-more-just-installing-filter I am using this article as an opener for my German blog entry. I used timekpr in the past but since it is not very compatible to current Ubuntu versions and Unity, I switched to kidtimer, because it is very independent from the frontend environment you are using, as dit is using very basic Linux components. Timekpr is not maintained anymorea s far as I know.
@speedygonzalez1103 Thanks! @grover66 Mike, my son wasn't able to log on outside hours today, but yesterday he was on all day even though I set his weekday minutes to 20.
MAX 20 240
I don't understand what is "at" in case that is my issue. Any ideas?
Tom
sudo apt-get install at
"at" is a problem that run scripts when you want them to.
Mike
On Fri, Feb 28, 2014 at 10:28 AM, Tom Haws notifications@github.com wrote:
@speedygonzalez1103 https://github.com/speedygonzalez1103 Thanks! @grover66 https://github.com/grover66 Mike, my son wasn't able to log on outside hours today, but yesterday he was on all day even though I set his weekday minutes to 20.
minutes weekday weekend
MAX 20 240
I don't understand what is "at" in case that is my issue. Any ideas?
Tom
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36361159 .
Can you add that step to the readme?
Will do.
Mike :)
PS. Did that fix your problem?
On Sat, Mar 1, 2014 at 12:56 PM, Tom Haws notifications@github.com wrote:
Can you add that step to the readme?
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36431368 .
Well, I am sorry to say I am having trouble with my system. It is a new Ubuntu 13.10 install. It was a new Ubuntu 12.04 install when I reported this issue, and I have since upgraded to 13.10 and then reinstalled from disk because the system got broken to the point it wouldn't start (we were trying to get a particular Steam game to work for my son, though it turns out the graphics card is probably not supported). On top of the Ubuntu 13.10, we have currently installed two user accounts and the Steam gaming platform software as well as kidtimer and "at". The problem at the moment is that 1) the login switcher does not work. It leaves me in my same account. 2) My son's account won't log in. I tried making my son an administrator. It didn't help. the other son's account is the same way. I also created a new "test" account, and I can't switch to it either, though I can log into it. It is accepting his password and trying to log in, but then returning to the login screen. I wonder if an old kidtimer file got left somewhere. I will stay with you on this issue.
Tom,
I am assuming you installed the latest version of kidtimer on the reinstalled system?
Have you configured your son's account (in kidtimer) already?
Did you setup a password for your son's account?... Locked accounts, which is what kidtimer does when the user is out of time, can still login if setup passwordless logins. It is a but in Ubuntu/Debian.
Can you run "sudo kidtimer info" and send me the output.
Also, just released a new version (2.2-5), which adds more locale options and a precheck for software dependencies.
MIke :)
On Sun, Mar 2, 2014 at 11:45 AM, Tom Haws notifications@github.com wrote:
Well, I am sorry to say I am having trouble with my system. It is a new Ubuntu 13.10 install. In fact, it was nearly new when I reported this issue, and I have since reinstalled it because the system got broken to the point it wouldn't start. On top of the Ubuntu 13.10, we have installed two user accounts and the Steam gaming platform software. The problem at the moment is that 1) the login switcher does not work. It leaves me in my same account. 2) My son's account won't log in. I will stay with you on this issue.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36458832 .
Thank you very much again!
Tom Haws kidtimer info output 2014-03-02
find /usr/local/kidtimer/ -print | sort /usr/local/kidtimer/ /usr/local/kidtimer/locale /usr/local/kidtimer/locale/de_DE.UTF-8 /usr/local/kidtimer/locale/en_US.UTF-8 /usr/local/kidtimer/locale/es_ES.UTF-8 /usr/local/kidtimer/locale/fr_BE.UTF-8 /usr/local/kidtimer/locale/fr_CA.UTF-8 /usr/local/kidtimer/locale/fr_CH.UTF-8 /usr/local/kidtimer/locale/fr_FR.UTF-8 /usr/local/kidtimer/locale/it_IT.UTF-8 /usr/local/kidtimer/logout.sh /usr/local/kidtimer/schedule /usr/local/kidtimer/schedule/blank /usr/local/kidtimer/schedule/matthewhaws /usr/local/kidtimer/schedule/michaelhaws /usr/local/kidtimer/send1.sh /usr/local/kidtimer/send2.sh /usr/local/kidtimer/send3.sh /usr/local/kidtimer/send4.sh /usr/local/kidtimer/send5.sh /usr/local/kidtimer/testsend.sh /usr/local/kidtimer/time /usr/local/kidtimer/time/matthewhaws.ttl
cat /etc/kidtimer/kid.list
passwd -S -a root L 03/01/2014 0 99999 7 -1 daemon L 10/16/2013 0 99999 7 -1 bin L 10/16/2013 0 99999 7 -1 sys L 10/16/2013 0 99999 7 -1 sync L 10/16/2013 0 99999 7 -1 games L 10/16/2013 0 99999 7 -1 man L 10/16/2013 0 99999 7 -1 lp L 10/16/2013 0 99999 7 -1 mail L 10/16/2013 0 99999 7 -1 news L 10/16/2013 0 99999 7 -1 uucp L 10/16/2013 0 99999 7 -1 proxy L 10/16/2013 0 99999 7 -1 www-data L 10/16/2013 0 99999 7 -1 backup L 10/16/2013 0 99999 7 -1 list L 10/16/2013 0 99999 7 -1 irc L 10/16/2013 0 99999 7 -1 gnats L 10/16/2013 0 99999 7 -1 nobody L 10/16/2013 0 99999 7 -1 libuuid L 10/16/2013 0 99999 7 -1 syslog L 10/16/2013 0 99999 7 -1 messagebus L 10/16/2013 0 99999 7 -1 usbmux L 10/16/2013 0 99999 7 -1 dnsmasq L 10/16/2013 0 99999 7 -1 avahi-autoipd L 10/16/2013 0 99999 7 -1 kernoops L 10/16/2013 0 99999 7 -1 rtkit L 10/16/2013 0 99999 7 -1 whoopsie L 10/16/2013 0 99999 7 -1 speech-dispatcher L 10/16/2013 0 99999 7 -1 avahi L 10/16/2013 0 99999 7 -1 lightdm L 10/16/2013 0 99999 7 -1 pulse L 10/16/2013 0 99999 7 -1 hplip L 10/16/2013 0 99999 7 -1 colord L 10/16/2013 0 99999 7 -1 saned L 10/16/2013 0 99999 7 -1 tomhaws P 03/01/2014 0 99999 7 -1 michaelhaws P 03/02/2014 0 99999 7 -1
cat /usr/local/kidtimer/schedule/*
00 n n 01 n n 02 n n 03 n n 04 n n 05 n n 06 n n 07 n n 08 y y 09 y y 10 y y 11 y y 12 y y 13 y y 14 y y 15 y y 16 y y 17 y y 18 y y 19 y y 20 n n 21 n n 22 n n 23 n n
MAX 120 240
00 n n 01 n n 02 n n 03 n n 04 n n 05 n n 06 n n 07 y y 08 y y 09 y y 10 y y 11 y y 12 y y 13 y y 14 y y 15 y y 16 y y 17 y y 18 y y 19 y y 20 n n 21 n n 22 n n 23 n n
MAX 12 24
00 n n 01 n n 02 n n 03 n n 04 n n 05 n n 06 n n 07 y y 08 y y 09 y y 10 y y 11 y y 12 y y 13 y y 14 y y 15 y y 16 y y 17 y y 18 y y 19 y y 20 y y 21 n n 22 n n 23 n n
cat /usr/local/kidtimer/time/* 24
cat /etc/cron.d/kidtimer 0 * * * * root /usr/local/bin/kidtimer hourly 0 0 * * * root /usr/local/bin/kidtimer daily
/usr/bin/apt-cache showpkg kidtimer Package: kidtimer Versions: 2.2-4 (/var/lib/dpkg/status) Description Language: File: /var/lib/dpkg/status MD5: 896b6d50c9ee456087a3da44c12bd444
Reverse Depends: Dependencies: 2.2-4 - at (0 (null)) libnotify-bin (0 (null)) bsdutils (0 (null)) Provides: 2.2-4 -
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy
uname -a
/usr/bin/env SHELL=/bin/bash TERM=xterm USER=root LSCOLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36: SUDO_USER=tomhaws SUDO_UID=1000 USERNAME=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/home/tomhaws LANG=en_US.UTF-8 SHLVL=1 SUDO_COMMAND=/usr/local/bin/kidtimer info HOME=/home/tomhaws LANGUAGE=en_US LOGNAME=root SUDOGID=1000 DISPLAY=:0.0 XAUTHORITY=/home/tomhaws/.Xauthority COLORTERM=gnome-terminal =/usr/bin/env
Tom, Updated README.
Mike:)
Sent from my iPad
On Mar 2, 2014, at 3:53 PM, Tom Haws notifications@github.com wrote:
Thank you very much again!
I installed the version linked in the README. I could not find any other downloadable links--only git source view links.
I configured both accounts without confusion or issue.
I put passwords on both sons' accounts.
My output is at the end.
I do not find a downloadable link for this new version. Could you link a downloadable version in in the README or some other discoverable place?
Tom Haws kidtimer info output 2014-03-02
kidtimer info
Sun Mar 2 13:52:19 MST 2014
find /usr/local/kidtimer/ -print | sort /usr/local/kidtimer/ /usr/local/kidtimer/locale /usr/local/kidtimer/locale/de_DE.UTF-8 /usr/local/kidtimer/locale/en_US.UTF-8 /usr/local/kidtimer/locale/es_ES.UTF-8 /usr/local/kidtimer/locale/fr_BE.UTF-8 /usr/local/kidtimer/locale/fr_CA.UTF-8 /usr/local/kidtimer/locale/fr_CH.UTF-8 /usr/local/kidtimer/locale/fr_FR.UTF-8 /usr/local/kidtimer/locale/it_IT.UTF-8 /usr/local/kidtimer/logout.sh /usr/local/kidtimer/schedule /usr/local/kidtimer/schedule/blank /usr/local/kidtimer/schedule/matthewhaws /usr/local/kidtimer/schedule/michaelhaws /usr/local/kidtimer/send1.sh /usr/local/kidtimer/send2.sh /usr/local/kidtimer/send3.sh /usr/local/kidtimer/send4.sh /usr/local/kidtimer/send5.sh /usr/local/kidtimer/testsend.sh /usr/local/kidtimer/time /usr/local/kidtimer/time/matthewhaws.ttl
/usr/local/kidtimer/time/michaelhaws.ttl
cat /etc/kidtimer/kid.list
matthewhaws
passwd -S -a root L 03/01/2014 0 99999 7 -1 daemon L 10/16/2013 0 99999 7 -1 bin L 10/16/2013 0 99999 7 -1 sys L 10/16/2013 0 99999 7 -1 sync L 10/16/2013 0 99999 7 -1 games L 10/16/2013 0 99999 7 -1 man L 10/16/2013 0 99999 7 -1 lp L 10/16/2013 0 99999 7 -1 mail L 10/16/2013 0 99999 7 -1 news L 10/16/2013 0 99999 7 -1 uucp L 10/16/2013 0 99999 7 -1 proxy L 10/16/2013 0 99999 7 -1 www-data L 10/16/2013 0 99999 7 -1 backup L 10/16/2013 0 99999 7 -1 list L 10/16/2013 0 99999 7 -1 irc L 10/16/2013 0 99999 7 -1 gnats L 10/16/2013 0 99999 7 -1 nobody L 10/16/2013 0 99999 7 -1 libuuid L 10/16/2013 0 99999 7 -1 syslog L 10/16/2013 0 99999 7 -1 messagebus L 10/16/2013 0 99999 7 -1 usbmux L 10/16/2013 0 99999 7 -1 dnsmasq L 10/16/2013 0 99999 7 -1 avahi-autoipd L 10/16/2013 0 99999 7 -1 kernoops L 10/16/2013 0 99999 7 -1 rtkit L 10/16/2013 0 99999 7 -1 whoopsie L 10/16/2013 0 99999 7 -1 speech-dispatcher L 10/16/2013 0 99999 7 -1 avahi L 10/16/2013 0 99999 7 -1 lightdm L 10/16/2013 0 99999 7 -1 pulse L 10/16/2013 0 99999 7 -1 hplip L 10/16/2013 0 99999 7 -1 colord L 10/16/2013 0 99999 7 -1 saned L 10/16/2013 0 99999 7 -1 tomhaws P 03/01/2014 0 99999 7 -1 michaelhaws P 03/02/2014 0 99999 7 -1
matthewhaws P 03/01/2014 0 99999 7 -1
cat /usr/local/kidtimer/schedule/*
hour weekday weekend (y/n)
00 n n 01 n n 02 n n 03 n n 04 n n 05 n n 06 n n 07 n n 08 y y 09 y y 10 y y 11 y y 12 y y 13 y y 14 y y 15 y y 16 y y 17 y y 18 y y 19 y y 20 n n 21 n n 22 n n 23 n n
minutes weekday weekend
MAX 120 240
hour weekday weekend (y/n)
00 n n 01 n n 02 n n 03 n n 04 n n 05 n n 06 n n 07 y y 08 y y 09 y y 10 y y 11 y y 12 y y 13 y y 14 y y 15 y y 16 y y 17 y y 18 y y 19 y y 20 n n 21 n n 22 n n 23 n n
minutes weekday weekend
MAX 12 24
hour weekday weekend (y/n)
00 n n 01 n n 02 n n 03 n n 04 n n 05 n n 06 n n 07 y y 08 y y 09 y y 10 y y 11 y y 12 y y 13 y y 14 y y 15 y y 16 y y 17 y y 18 y y 19 y y 20 y y 21 n n 22 n n 23 n n
minutes weekday weekend
MAX 2 2
cat /usr/local/kidtimer/time/* 24
60
cat /etc/cron.d/kidtimer 0 * * * * root /usr/local/bin/kidtimer hourly 0 0 * * * root /usr/local/bin/kidtimer daily
- * * * root /usr/local/bin/kidtimer check @reboot root /usr/local/bin/kidtimer daily --- /usr/bin/apt-cache showpkg kidtimer Package: kidtimer Versions: 2.2-4 (/var/lib/dpkg/status) Description Language: File: /var/lib/dpkg/status MD5: 896b6d50c9ee456087a3da44c12bd444 Reverse Depends: Dependencies: 2.2-4 - at (0 (null)) libnotify-bin (0 (null)) bsdutils (0 (null)) Provides: 2.2-4 -
Reverse Provides:
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
uname -a
Linux Black-Rose 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:53:31 UTC 2014 i686 i686 i686 GNU/Linux
/usr/bin/env SHELL=/bin/bash TERM=xterm USER=root LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:< em>.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:.xspf=00;36: SUDO_USER=tomhaws SUDO_UID=1000 USERNAME=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/home/tomhaws LANG=en_US.UTF-8 SHLVL=1 SUDO_COMMAND=/usr/local/bin/kidtimer info HOME=/home/tomhaws LANGUAGE=en_US LOGNAME=root SUDOGID=1000 DISPLAY=:0.0 XAUTHORITY=/home/tomhaws/.Xauthority COLORTERM=gnome-terminal =/usr/bin/env
— Reply to this email directly or view it on GitHub.
I installed the latest kidtimer. I can log into the guest account (which I am now disabling), but I cannot log into either of my kidtimer configured sons' accounts. So I think the problem may have something to do with kidtimer. Is there a way to delete kidtimer files completely and start over?
Tom,
To enable logins to an account that is locked, use the following command (from your account);
sudo passwd -u username
This will enable the account.
But first, run the following and send me the output;
sudo kidtimer info
Mike
On Tue, Mar 4, 2014 at 11:22 AM, Tom Haws notifications@github.com wrote:
I installed the latest kidtimer. I can log into the guest account (which I am now disabling), but I cannot log into either of my kidtimer configured sons' accounts. So I think the problem may have something to do with kidtimer. Is there a way to delete kidtimer files completely and start over?
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36642462 .
I haven't tried 2.2-5 yet, but in 2.2-4 there was a rather strange "exit 0" on line 86 which effectively bypasses any checks for everyone but the first kid in the list. If I remove it, it works fine. But since Tom only has one son this shouldn't be his issue.
Gabbe,
Great catch!!
Originally, I wrote the code to just handle one account. Because I force Linux on both of my kids (13 & 11) with their own workstations, i didn't have to deal with multiples on one box. I later changed it but the logic was wrong.
Here is the new code for go_check;
go_check () {
for I in cat $configdir/kid.list
; do
/usr/bin/users | grep -q $I
if [ $? -eq 0 ]; then
if [ -e $basedir/time/$I.ttl ]; then
C=cat $basedir/time/$I.ttl
C=$((C - 1))
echo $C > $basedir/time/$I.ttl
else
get_ttl_time $I > $basedir/time/$I.ttl
C=cat $basedir/time/$I.ttl
fi
if [ $C -le 5 ]; then
if [ ! -e /tmp/kidtimer.shutdown.$I ]; then
/usr/bin/passwd $I -l
go_logout $I
fi
fi
else
go_clean_jobs $I
fi
done }
I moved things around to not exit on the first kid. Now it will continue to loop thru.
I am updating the code now and will push out 2.2-6.
Thanks for your help!
Mike :)
On Tue, Mar 4, 2014 at 12:19 PM, gabbe notifications@github.com wrote:
I haven't tried 2.2-5 yet, but in 2.2-4 there was a rather strange "exit 0" on line 86 which effectively bypasses any checks for everyone but the first kid in the list. If I remove it, it works fine. But since Tom only has one son this shouldn't be his issue.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36649547 .
Cool.
I formatted drive and installed fresh Ubuntu 13.10. I created 2 child accounts. Please let me know when kidtimer is ready to install fresh using README steps.
It has been updated.
Mike
On Tue, Mar 4, 2014 at 1:18 PM, Tom Haws notifications@github.com wrote:
Cool.
I formatted drive and installed fresh Ubuntu 13.10. I created 2 child accounts. Please let me know when kidtimer is ready to install fresh using README steps.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36655893 .
https://github.com/grover66/kidtimer/raw/master/kidtimer_2.2-6.deb
On Tue, Mar 4, 2014 at 1:18 PM, Tom Haws notifications@github.com wrote:
Cool.
I formatted drive and installed fresh Ubuntu 13.10. I created 2 child accounts. Please let me know when kidtimer is ready to install fresh using README steps.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36655893 .
OK. Thanks so much. I think we can move forward.
Now a question: The last part of the README refers to notification. I did not see any notifications on the desktop, though I did see notifications at the console. Is there a way to add notifications to the desktop? I understand you may have omitted this due to desktop variations.
Yes.
So you said you are running ubuntu 13.10 with the default "unity" desktop?
Mike
On Tue, Mar 4, 2014 at 2:22 PM, Tom Haws notifications@github.com wrote:
OK. Thanks so much. I think we can move forward.
- kidtimer logged both my kids' accounts out after the 2 minutes I allotted.
- I was able to add more minutes using the kidtimer add, then log into a kid account.
Now a question: The last part of the README refers to notification. I did not see any notifications on the desktop, though I did see notifications at the console. Is there a way to add notifications to the desktop? I understand you may have omitted this due to desktop variations.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36662972 .
Tom,
Try running the following command (via the terminal);
notify-send hello
...You should see a small box @ the top right corner with the word "hello" in it. It should stay there for a few seconds.
Let me know what you see.
Mike
On Tue, Mar 4, 2014 at 2:22 PM, Tom Haws notifications@github.com wrote:
OK. Thanks so much. I think we can move forward.
- kidtimer logged both my kids' accounts out after the 2 minutes I allotted.
- I was able to add more minutes using the kidtimer add, then log into a kid account.
Now a question: The last part of the README refers to notification. I did not see any notifications on the desktop, though I did see notifications at the console. Is there a way to add notifications to the desktop? I understand you may have omitted this due to desktop variations.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36662972 .
Thanks Mike, I figured there was some reason for that code. And many thanks for the program, it has made my life a lot easier!
Tom, regarding your issue with the missing notifications, do you by any chance have a multiple screen setup? I had problems with the notifications showing up on my second screen (our TV, even when it is turned off) until I tried
gsettings set com.canonical.notify-osd multihead-mode focus-follow
(copied from http://askubuntu.com/questions/33140/notify-osd-and-dual-monitors)
Also Mike, I am just curious as to why you don't host the actual source here on github, just the deb:s? It would be much easier to see what your changes are and maybe contribute that way.
Gabbe,
Source code hosted on github... I have been scripting for years, but I have never worked as a developer, so I just never thought about it. I have a very simple setup;
Directory structure: ~/buildroot ~/buildroot/kidtimer_2.2-6 ~/buildroot/kidtimer_2.2-6/usr/local/bin/kidtimer ~/buildroot/kidtimer_2.2-6/usr/local/kidtimer/... ~/buildroot/kidtimer_2.2-6/etc/kidtimer/... etc...
~/scripts/kidtimer/ ~/scripts/kidtimer/README.md ~/scripts/kidtimer/kidtimer_2.2-5.deb ~/scripts/kidtimer/kidtimer_2.2-6.deb etc..
I copy the latest kidtimer dir to a newer one. I modify the code. I build the new deb file (dpkg-deb --build ...) I move it from the buildroot dir to the scripts/kidtimer dir. I check it in. I update the README.md file. I check it in. I git commit. I git push origin master. Done.
Would be glad to do it. Any guidance or tips would be helpful.
Mike :)
On Tue, Mar 4, 2014 at 3:36 PM, gabbe notifications@github.com wrote:
Thanks Mike, I figured there was some reason for that code. And many thanks for the program, it has made my life a lot easier!
Tom, regarding your issue with the missing notifications, do you by any chance have a multiple screen setup? I had problems with the notifications showing up on my second screen (our TV, even when it is turned off) until I tried
gsettings set com.canonical.notify-osd multihead-mode focus-follow
(copied from http://askubuntu.com/questions/33140/notify-osd-and-dual-monitors)
Also Mike, I am just curious as to why you don't host the actual source here on github, just the deb:s? It would be much easier to see what your changes are and maybe contribute that way.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36671052 .
Thanks very much again.
/usr/local/bin/kidtimer: line 362: [: -eq: unary operator expected
It seems to work now. I will keep you posted and close the issue in a week or so.
Tom,
Great news!
Mike :)
On Wed, Mar 5, 2014 at 10:31 AM, Tom Haws notifications@github.com wrote:
It seems to work now. I will keep you posted and close the issue in a week or so.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36753948 .
Question: Does the computer have to be on at a certain time of day to reset the kid accounts? If the computer is off at night, will the kids still be out of time the next day?
Tom,
Got you covered.
0 * * * * root /usr/local/bin/kidtimer hourly 0 0 * * * root /usr/local/bin/kidtimer daily
The @reboot line is the answer... Here is what is happening;
line1: 0 * * * * = runs every hour. line2: 0 0 * * * = runs at midnight. line3: * * * * * = runs every minute. line4: @reboot = runs after a the system boots.
Mike
On Wed, Mar 5, 2014 at 8:19 PM, Tom Haws notifications@github.com wrote:
Question: Does the computer have to be on at a certain time of day to reset the kid accounts? If the computer is off at night, will the kids still be out of time the next day?
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36815150 .
to continue on the last email...
When "kidtimer daily" runs, all times are reset.
Mike
On Wed, Mar 5, 2014 at 8:19 PM, Tom Haws notifications@github.com wrote:
Question: Does the computer have to be on at a certain time of day to reset the kid accounts? If the computer is off at night, will the kids still be out of time the next day?
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36815150 .
Thanks. It's looking good so far. I made a little kidtimer.txt cheat sheet for myself. If you had the source here on github I could add "View README" and "Command reference" lines to the menu. Those would be nice. I wouldn't mind working on the menu interface (not porting it or anything, just fleshing it out).
I made a quick blog post explaning about kidtimer as a replacement for timekpr. http://tomsthird.blogspot.com/2014/03/ubuntu-linux-user-account-parental-time.html
Tom,
Thanks!
Mike
On Thu, Mar 6, 2014 at 4:22 PM, Tom Haws notifications@github.com wrote:
I made a quick blog post explaning about kidtimer as a replacement for timekpr.
http://tomsthird.blogspot.com/2014/03/ubuntu-linux-user-account-parental-time.html
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36938653 .
Will add them tonight... Thanks for your help,
Mike :)
On Thu, Mar 6, 2014 at 3:56 PM, Tom Haws notifications@github.com wrote:
Thanks. It's looking good so far. I made a little kidtimer.txt cheat sheet for myself. If you had the source here on github I could add "View README" and "Command reference" lines to the menu. Those would be nice. I wouldn't mind working on the menu interface (not porting it or anything, just fleshing it out).
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36935807 .
Here is what I am working on now... I liveCD/LiveUSB Danguardian Proxy server for keeping kids from seeing the dark side of the internet. It uses Ubuntu 13.10 server, squid proxy, dansguardian filter, a dashboard for the monitor, etc... Boot an old box with it and point the kid's computers to it. With a dual nic system, you can put it between your router and AP and get forced filtering.
More soon,
Mike
On Thu, Mar 6, 2014 at 4:22 PM, Tom Haws notifications@github.com wrote:
I made a quick blog post explaning about kidtimer as a replacement for timekpr.
http://tomsthird.blogspot.com/2014/03/ubuntu-linux-user-account-parental-time.html
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36938653 .
Done.
https://github.com/grover66/kidtimer/blob/master/cheatsheet.md
Mike
On Thu, Mar 6, 2014 at 4:22 PM, Tom Haws notifications@github.com wrote:
I made a quick blog post explaning about kidtimer as a replacement for timekpr.
http://tomsthird.blogspot.com/2014/03/ubuntu-linux-user-account-parental-time.html
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36938653 .
That cheatsheet is very cool, especially the ssh tips. How do you use the hourly and daily commands.
Tom,
The hourly and daily commands are only for cron to run hourly and daily. Running the hourly command will check to see if the user account is allowed to use the computer that hour, locking or unlocking based on the schedule. The daily resets the time, if its a new day.
I am going to remove those bits.
Mike
On Thu, Mar 6, 2014 at 6:29 PM, Tom Haws notifications@github.com wrote:
That cheatsheet is very cool, especially the ssh tips. How do you use the hourly and daily commands.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-36951105 .
Everything seems to be running right. I guess my original issue was probably that the "at" dependency wasn't addressed. That is fixed now, from what I understand, so I am closing the ticket. Thanks for everything, and hope to talk to you later.
Back at you Tom,
Thanks for your help.
Mike :)
On Tue, Mar 11, 2014 at 4:18 PM, Tom Haws notifications@github.com wrote:
Everything seems to be running right. I guess my original issue was probably that the "at" dependency wasn't addressed. That is fixed now, from what I understand, so I am closing the ticket. Thanks for everything, and hope to talk to you later.
Reply to this email directly or view it on GitHubhttps://github.com/grover66/kidtimer/issues/7#issuecomment-37344546 .
First, thanks for putting this at github. I will be happy to stick with you to resolve my issue.
I installed fresh Ubuntu 12.04 Precise. I installed gdm also. I installed and configured kidtimer to allow my son on through the 20 hour for 1 minute long on weekends. I then tried to log into his account at 22:50, and I was able to do that. Is there any way to determine what is going wrong?