Replies: 2 comments 3 replies
|
Thank you, it's kinda work, but it started to track all apps except for browsers(usage of chrome safari etc do not logged at all). and i started to get input problems(was unavailable to type anything in different apps and browsers until reboot). So solution not ideal |
0 replies
|
under macOS Catalina I don't have "bluetooth" under permissions. Is there an another way to get csreq? I tried other settings, but there ist no ActivityWatch in the database. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Since
aw-watcher-windowrequires the Automation permission in order to work on macOS, but the app won't require it dynamically. The fix is to add the permission manually by directly editing the TCC permission database.Preparation
Procedure
cp ~/Library/Application\ Support/com.apple.TCC/TCC.db ~/TCC.bk.db~/Library/Application Support/com.apple.TCC, open this folder usingopen ~/Library/Application\ Support/com.apple.TCCaccesstableservice, fillkTCCServiceAppleEventsclient:net.activitywatch.ActivityWatch0,2,3,1csreqcolumn, filter inclientcolumn with keywordnet.activitywatch.ActivityWatch, you should see another entry (this is from the "Bluetooth" permission added before), simply copy thecsreqfrom that entry to the newly created one, just remember to set the Mode to Binaryindirect_object_identifier_type:0indirect_object_identifier:com.apple.systemeventsindirect_object_code_identity, filterindirect_object_identifiercolumn with keywordcom.apple.systemevents, then copy the binary, just likecsreqAll reactions