Closed achalagarwal closed 4 years ago
Need to be able to read the /var/log file, what permissions are required for the script to be able to read that?
Is a better way to make logkeys generate a user-owned file?
Create a cron job and an endless loop detecting keypresses in the file (Watchdog):
class watchdog.events.PatternMatchingEventHandler(patterns=None, ignore_patterns=None, ignore_directories=False, case_sensitive=False)[source]
Created a tail follow subprocess instead of watchdog as its faster 11799f132d824f8abf5c7af60fc20d9f4ae3a4f4
Working -- basic daemon setup https://github.com/achalagarwal/keystrokes/commit/cb5f7f7b676286b481ca8a8c634aa953abedf753
Closing this issue, and creating a new issue (https://github.com/achalagarwal/keystrokes/issues/5) for live notifications
Need to make the script active/online so that other ideas like live detection and correction/suggestion are plausible, also need to show notifications for when making too many mistakes too often