Skip to content

LinearMouse.EventTapError error 0 - while opening the app the first time #1436

Open

Description

@Traiver

Hi,

I have the following problem when opening LinearMouse (doesn't matter if 0.11.4 or the newly released 0.12.0 version):

Image

Under the system settings Privacy & Security -> Device Controll and Data Access, the switch is already set to "on"

Image

After closing the app and switching the toggle off and on again and then opening the app again, everything works fine.

Do you know what causes this problem? Because the accessibility settings were set correctly.

macOS version: macOS Golden Gate 27.0.1
App version: 0.11.4 & 0.12.0

Thanks you

Activity

  1. carlheaton commented on Oct 6, 2026

    @carlheaton

    Also seen this after MacOS upgrade, it was a repeated (like once every 60 seconds) warning before it was enabled in Device Control and Data Access, now it still shows but only once per screen unlock.

  2. lujjjh commented on Oct 11, 2026

    @lujjjh
    Collaborator

    I’m not sure what’s causing this error, but I’ve improved error handling in v0.13.0-beta.4. Any additional details or feedback would be welcome.

  3. carlheaton commented on Oct 11, 2026

    @carlheaton

    Any additional details or feedback would be welcome.

    I'm unable to upgrade to the beta in my environment, but I've found the cause on my machine. macOS 27.0.1 (26A434), arm64, LinearMouse 0.12.0, MDM-managed.

    Permissions granted by PPPC profile: Accessibility allowed, ListenEvent user-settable, no PostEvent. Accessibility passes, so AXIsProcessTrustedWithOptions returns true. PostEvent is evaluated separately and denied:

    Evaluated composed authorization from kTCCServicePostEvent to parent service kTCCServiceAccessibility: Auth:Denied (System Set)

    CGEvent.tapCreate(.cghidEventTap, .defaultTap) then returns nil, giving EventTapError on every launch.

    Fix: added a PostEvent allow for com.lujjjh.LinearMouse to the PPPC profile. Error no longer appears.

    May differ from the original report (unmanaged Mac, fixed by toggling), just same error message.

  4. added
    bug
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions