KonsomeJona / OctoMouse

OctoMouse is an open-source application for MAC OSX that measures your mouse and keyboard activities.
MIT License
244 stars 23 forks source link

how to reset the app? #19

Open vimkim opened 6 years ago

vimkim commented 6 years ago

For those who wanna reset the app, here's my sneaky unofficial solution for it. Beware as I am not responsible for the side-effects.

cd ~/Library
find . -name '*octomouse*' | xargs -d '\n' rm

Explanation: the first 'find' command finds (probably) all files related to octomouse under ~/Library directory, then the second 'xargs' command applies 'rm' to each file.

At first I was looking for some xml, csv, json kinda data files inside octomouse package to reset the keystroke counter, but then I soon figured that OctoMouse uses something called 'NSUserDefaults' to store the keystroke count. I have no idea how this works so I just decided to delete everything related to 'octomouse' under ~/Library directory. Seems working for me.

The question is self-answered, so the owner of the repository can close this issue if he finds this solution causes no risk to his app.

BaksiLi commented 5 years ago

Got the same concern here, but it seems like the owner is no longer working on this.