I would like to give suggestions here from my Linux:
- 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)
- More exact fair check for using PC - modify GO_CHECK and use
loginctl user-status and grep for State=active
- 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 :-)
I would like to give suggestions here from my Linux:
kidtimer dailyto file /usr/lib/pm-utils/sleep.d/99zzkidtimer (chmod +x)loginctl user-statusand grep forState=activeloginctl lock-sessioninstead kill :-)If you want a sample of my implementation, I can upload, but it's only for my Xubuntu LTS 16 :-)