When I moved from Windows to Linux, I really missed the notification badge, which contains how many new messages you have.
Of course, I installed libunity, but nothing worked. I tested both Discord Stable and Canary, but on both it did not worked.
So I took a look on DBUS events, and find out, instead of using application://discord-canary.desktop, it uses just application://discord.desktop.
(NOTE: I use only discord-canary, I don't know what issue is with Discord Stable). This Python script listens for those signals, and if any discord.desktop signal is received,
it creates same signal but with discord-canary.desktop app id.
Requirements:
- libunity (
libunityon AUR,libunity-devon Debian/Ubuntu) - Python3
- pygobject (installed through pip)
Run:
python3 discord-linux-notification-badge-fix.pyTo be done...
