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 |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since
aw-watcher-window
requires 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.TCC
access
tableservice
, fillkTCCServiceAppleEvents
client
:net.activitywatch.ActivityWatch
0
,2
,3
,1
csreq
column, filter inclient
column with keywordnet.activitywatch.ActivityWatch
, you should see another entry (this is from the "Bluetooth" permission added before), simply copy thecsreq
from that entry to the newly created one, just remember to set the Mode to Binaryindirect_object_identifier_type
:0
indirect_object_identifier
:com.apple.systemevents
indirect_object_code_identity
, filterindirect_object_identifier
column with keywordcom.apple.systemevents
, then copy the binary, just likecsreq
Beta Was this translation helpful? Give feedback.
All reactions