just installed activitywatch on linux, but all the apps say unknown
This is likely due to Wayland, you can try using a different window watcher.
See the FAQ