Skip to content

MacOs version does not detect the accessibility authorization on mac 15.7.2 #2573

Closed as duplicate

Description

@VictorFoxSub

Description

The brew or standalone binary does not detect that the authorization has been granted and the popup explaining how to do it is the only espanso part I can access.

I tried after a reboot.

With the brew version the only difference is that espanso does not appear in the list of the accessibility setting and I cannot access the /opt/homebrew/bin/espanso from the file selector of the "+" button while with the binary I can add it and then I'm still stucked.

If I close the app and restart it it does not change the behavior.

Steps to reproduce

Uninstall espanso
Remove authorization
Reboot
Check the authorization is still gone
Install epsanso (brew or binary)
Start espanso
Add the authorization (or try to for the brew case)

Expected behavior

The popup detects that the authorisation has been given and allow to actually start espanso

Screenshots

No response

Logs

No response

Your environment

  • MacOS 15.7.2
  • Espanso version current binary of 2025/11/12 and 2.3.0 with brew

Self-service

  • I'd be willing to fix this bug myself.

Activity

  1. added
    bug
    needs-triage
    on Nov 12, 2025
  2. n8henrie commented on Nov 12, 2025

    @n8henrie
    Collaborator

    #2562

    EDIT: Unless that is what you mean by "Remove authorization", which seems likely.

  3. n8henrie commented on Nov 12, 2025

    @n8henrie
    Collaborator

    MacOS won't prompt to give you authorization if you're running the binary directly. You need to follow those steps but either double click Espanso.app or from the terminal open /path/to/Espanso.app.

  4. philippswoboda commented on Nov 12, 2025

    @philippswoboda

    I got the same problem - today I upgraded from espanso v2.2.7 to v2.3.0 via homebrew (deleted the old version and installed new via Homebrew) on MacOS 14.7.4 and was not able to give permissions (it is checked, but nothing happens)...any suggestion or is the bug still "alive"?
    I already have this issue a while - see also #2444

  5. n8henrie commented on Nov 12, 2025

    @n8henrie
    Collaborator

    @philippswoboda --

    Hmm. I try to avoid homebrew these days. My first thought is to make sure you look through and follow #2562. If still not resolved, please open your own issue.

  6. mzfr commented on Nov 13, 2025

    @mzfr

    To add to this, what is suggested in #2562 doesn't work.

    I am on macOS 15.7, using espanso 2.3.0. I completely uninstalled espanso, made sure it wasn't in accessibility and then reinstalled(using brew or direct download makes no difference), and ran it, gave it accessibility permissions and it still doesn't work.

    The only way it works is if I manually leave espanso daemon in a terminal window and leave it running.

  7. n8henrie commented on Nov 13, 2025

    @n8henrie
    Collaborator

    @mzfr thanks for your report. Would you mind filing your own issue? That will give us the bench chance to collect data necessary to figure these out.

    It seems odd that the direct download isn't working in your case (I was thinking this was maybe a homebrew issue), and also odd that espanso daemon works fine.

    Can you try the same steps but also delete your espanso cache?

    I would recommend something like the following (order matters)

    1. shutdown espanso
    2. killall espanso to ensure no lingering processes
    3. pgrep espanso -- make sure espanso isn't automatically restarting itself (e.g. from the launchd agent), this should have no output
    4. remove Espanso from the Privacy & Security -> Accessibility settings
    5. install Espanso, enable accessibility

    actually -- I just realized, @AucaCoyan, did my fix from #2505 make it into a release? I think this was merged post 2.3.0, so I don't think so.

    If not, then the current release of Espanso is broken for macos users. Can you please cut a 2.3.1 hotfix release including that commit? And let's work together on getting macos signing into CI so that macos releases become as simple as pushing a tag!

  8. n8henrie commented on Nov 13, 2025

    @n8henrie
    Collaborator

    @VictorFoxSub can you run espanso daemon from the terminal have it work like @mzfr mentioned? Let me know if you need more detailed instructions.

  9. VictorFoxSub commented on Nov 13, 2025

    @VictorFoxSub
    Author

    @philippswoboda --

    Hmm. I try to avoid homebrew these days. My first thought is to make sure you look through and follow #2562. If still not resolved, please open your own issue.

    I thought I opened a new issue (this page) what should I do ?

  10. VictorFoxSub commented on Nov 13, 2025

    @VictorFoxSub
    Author

    @VictorFoxSub can you run espanso daemon from the terminal have it work like @mzfr mentioned? Let me know if you need more detailed instructions.

    It works like that, thanks a lot !

  11. n8henrie commented on Nov 13, 2025

    @n8henrie
    Collaborator

    @VictorFoxSub

    Okay, so this was fixed in #2505 -- you're just waiting for a new (signed) macos release (cc @AucaCoyan).

    I thought I opened a new issue (this page) what should I do ?

    You're good, take another look at that comment -- it was directed to another user.

  12. jaimejim commented on Nov 14, 2025

    @jaimejim

    I did this:

    I would recommend something like the following (order matters)

    1. shutdown espanso
    2. killall espanso to ensure no lingering processes
    3. pgrep espanso -- make sure espanso isn't automatically restarting itself (e.g. from the launchd agent), this should have no output
    4. remove Espanso from the Privacy & Security -> Accessibility settings
    5. install Espanso, enable accessibility

    But I also had to remove the old launch agent plist
    rm ~/Library/LaunchAgents/com.federicoterzi.espanso.plist

    I also removed "Auca Coyan Maillot" from Login Items. I think that macOS treats these as different apps, causing the infinite accessibility permission loop. Not sure though.

    It now works and the existing yml match file is preserved.

                        'c.          XXXX@EMB-V22LPQTC 
                     ,xNMM.          -------------------- 
                   .OMMMMo           OS: macOS 15.6.1 24G90 arm64 
                   OMMM0,            Host: Mac15,9 
         .;loddo:' loolloddol;.      Kernel: 24.6.0 
       cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 2 hours, 12 mins 
     .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 232 (brew) 
     XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: zsh 5.9 
    ;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 2056x1329 
    :MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua 
    .MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: Rectangle 
     kMMMMMMMMMMMMMMMMMMMMMMMMWd.    Terminal: WarpTerminal 
     .XMMMMMMMMMMMMMMMMMMMMMMMMMMk   CPU: Apple M3 Max 
      .XMMMMMMMMMMMMMMMMMMMMMMMMK.   GPU: Apple M3 Max 
        kMMMMMMMMMMMMMMMMMMMMMMd     Memory: 13022MiB / 65536MiB 
         ;KMMMMMMMWXXWMMMMMMMk.
           .cooc,.    .,coo:.                                
                                                             
    
  13. n8henrie commented on Nov 14, 2025

    @n8henrie
    Collaborator

    I also had to remove the old launch agent plist

    This is basically part of step 3, though I'm surprised rm worked for you (particularly if this was without a reboot); you normally would have had to use a few launchctl commands to stop the launchd process that auto-restarts the program (this situation can be made worse by removing the plist prior to stopping the daemon).

    There will definitely be some variations based on how people have installed / run espanso (direct download, nix, home-manager, homebrew, etc.).

  14. added
    MacOS
    RFNR
    and removed
    needs-triage
    on Nov 17, 2025
  15. self-assigned this
    on Nov 17, 2025
  16. n8henrie commented on Nov 17, 2025

    @n8henrie
    Collaborator

    Ultimately I think this is a duplicate of #2444 and affected users should be able to work around by using the 2.2.8 beta until we have our next 2.3 release out.

    https://github.com/espanso/espanso/releases/tag/v2.2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

MacOSRFNRbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions