grover66 / kidtimer

Script to manage computer usage by time and schedule.
18 stars 23 forks source link

Suggestions for Xubuntu #21

Open macek333 opened 7 years ago

macek333 commented 7 years ago

I would like to give suggestions here from my Linux:

  1. Reset TTL file at nextday from WAKEUP, it has already been proposed earlier - add calling kidtimer daily to file /usr/lib/pm-utils/sleep.d/99zzkidtimer (chmod +x)
  2. More exact fair check for using PC - modify GO_CHECK and use loginctl user-status and grep for State=active
  3. Less drastic method at credit timeout - use loginctl lock-session instead kill :-)

If you want a sample of my implementation, I can upload, but it's only for my Xubuntu LTS 16 :-)

StoicTheVast commented 7 years ago

I'd be interested to see it... can you send a tgz?

On 11 October 2016 at 16:53, macek333 notifications@github.com wrote:

I would like to give suggestions here from my Linux:

  1. Reset TTL file at nextday from WAKEUP, it has already been proposed earlier - add calling kidtimer daily to file /usr/lib/pm-utils/sleep.d/99zzkidtimer (chmod +x)
  2. More exact fair check for using PC - modify GO_CHECK and use loginctl user-status and grep for State=active
  3. Less drastic method at credit timeout - use loginctl lock-session instead kill :-)

If you want a sample of my implementation, I can upload, but it's only for my Xubuntu LTS 16 :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grover66/kidtimer/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/AId5RDqPjpMhP4ys5VUrsr7Pfrr2Nu5Lks5qyyt0gaJpZM4KTSHe .

macek333 commented 7 years ago

OK, this is it :-) kidtimer.tar.gz

StoicTheVast commented 7 years ago

Thanks a lot. I'll merge it with all the changes I'd previously made and get it working when I do the update.

Cheers, DJK

On 17 October 2016 at 22:38, macek333 notifications@github.com wrote:

OK, this is it :-) kidtimer.tar.gz https://github.com/grover66/kidtimer/files/533381/kidtimer.tar.gz

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grover66/kidtimer/issues/21#issuecomment-254189443, or mute the thread https://github.com/notifications/unsubscribe-auth/AId5RHfuca4HhVjQL5Ac7qXK2b_iB4x8ks5q02U4gaJpZM4KTSHe .