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

App Badge from Chromium ignored #2114

Open
rorymichele opened this issue Oct 26, 2023 · 1 comment
Open

App Badge from Chromium ignored #2114

rorymichele opened this issue Oct 26, 2023 · 1 comment

Comments

@rorymichele
Copy link

According to issue [#1964] Dash to Dock now respects apps badge counter, if the setting 'Application-provided counter overrides the notifications counter' is set:

image

We are writing a PWA that uses navigator.setAppBadge to set the badge counter. under macOS this successfully displays a badge next to App Icon, but under linux this is ignored (in both cases using Chromium as the browser running it). I am not sure if the error is in the chromium code, but as it works under Mac I would assume the bug is in how dash-to-dock reads the application-provided counter?

@JakobDev
Copy link

The implementation of Chromium is sadly a little broken. You need to install libunity to make it work. Chromium also checks for some reason if it's running under Unity or KDE before using the API. So you need to set XDG_CURRENT_SESSION=KDE and XDG_CURRENT_DESKTOP=KDE to make Chromium think it's running under KDE.

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

2 participants