Shared histroty in dualboot setups

Hi everyone,
I have a dual boot setup with linux and windows. I use activity watch on both of them and I want to know if I can make the acrivity watch use same database/record files for accessiblity. My main purpose is to track the time overall and not seperately. Or alternatively, is there a way for me view the tracked time of other setup without booting into the other OS.

This seem possible to me if I can configure actiwity watch to put its db into a shared disk but I don’t know if activity watch supports something like this.

Best regards,

I think you could use a shared partition where both systems could read and write.

Hi, thank you for answering. How can I setup activitywatch to be used like this?

I don’t think you currently can do that. We’ll work on that. I’m also currently dual booting.

TBH I’m not sure, it’s just that recently I moved all my data to another PC and it copied all the ActivityWatch data, so my current installation has data from the old PC and the new one. That’s why it comes to my mind that maybe if two instances write to the same directory it may work as a solution to keep a shared history.

The main problem could be to make both installations point to the same data directory. Which I don’t know how to setup. But this could be address using links to the data directory on each OS so they point to the physical location.

For the shared partitions just use the same tools used for dual boot (GParted from a livecd) and create a partition in NTFS (readable by Windows and Linux)

=== Update==
DB on linux is on $HOME/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db

This is the file that should live in a shared partition and have links to it on their respective OS