Is it possible to modify for example the Info.plist
to prevent a certain app from making its Dock icon jump using -[NSApplication requestUserAttention:]
? There is a system-wide setting no-bouncing
which allows to disable the bouncing behavior completely, but that's not what I want.
Can I disable the Dock icon bouncing behavior of a particular OS X app?
Asked Answered
instead of modifying the Info.plist directly, try
defaults delete com.example.appname NSUserNotificationAlertStyle
And then logout to refresh. This will set its notification style to None, which should prevent icon bounce when requesting attention. This still fails if the app uses a custom implementation for that.
Not sure if this works, cause I can't test it. But I awarded points to you, just cause you provided at least something to solve this :) –
Veronica
© 2022 - 2025 — McMap. All rights reserved.
Info.plist
give access to conf data of the application like permission, icon etc., but not to app behavior. There isn't an API opened by macOS to create those changes directly, so the only options left are changing the app code to ignorerequestUserAttention
which you need the source code for, or being good at reverse eng'. Another is playing somehow with the OS code, and the last are using tools likeHammerspoon
which doesn't offer this specific option but with few twicks you might get something. – DependableequestUserAttention
is not used at all. – Veronica