Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start showing a bouncing icon in the Dock #2

Open
probonopd opened this issue Oct 24, 2020 · 3 comments
Open

Start showing a bouncing icon in the Dock #2

probonopd opened this issue Oct 24, 2020 · 3 comments

Comments

@probonopd
Copy link
Member

probonopd commented Oct 24, 2020

Start showing an animated icon in the Dock from the time launch is about to start the application onwards.

The Dock is then responsible for stopping the animated icon and show the regular application icon in case the app has launched, or just remove the animated icon altogether after a timeout, or in case the application exits.

Is there already a protocol/standard for this?

@probonopd
Copy link
Member Author

probonopd commented Jan 10, 2021

https://www.freedesktop.org/wiki/Specifications/startup-notification-spec/

Still at 0.1 after 18 years!
https://specifications.freedesktop.org/startup-notification-spec/startup-notification-0.1.txt

It uses "X messages", a mechanism for sending text strings between X
clients without the need for D-Bus. Interesting!

In the language of that spec, the launch command is called a "Launcher".

The startup notification protocol involves sending X messages with the
message_type atom _NET_STARTUP_INFO_BEGIN/_NET_STARTUP_INFO to the
root window.

@probonopd
Copy link
Member Author

@probonopd
Copy link
Member Author

There is even a whole library for it:
https://github.com/freedesktop/startup-notification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant