Skip to content

ActivityWatch marks Steam games as AFK when using a controller #1215

@jerto2002

Description

@jerto2002

When playing Steam games with a controller on Pop!_OS (X11), ActivityWatch marks the session as AFK even though the game window is active and being used.

The window watcher correctly detects the game and records window activity (e.g., ŌKAMI HD), but the AFK timeline still shows the time as idle. This appears to happen because controller input does not generate keyboard or mouse events that ActivityWatch’s AFK watcher detects.

I attempted to configure exceptions in aw-watcher-afk.toml so the game would not be considered AFK, but it did not change the behavior.

I tested with the following entries in the “ignore titles / don’t mark as AFK” configuration:

okami hd
steam_app_587620
ŌKAMI HD
steam_app_587620
.*steamapp_.*
.*Steam.*
.*steamwebhelper.*

Even with these patterns configured, gameplay time is still recorded as AFK while the game window is active.

This occurs with Steam games launched through Proton and controlled via a gamepad, where no keyboard or mouse input is generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions