Is anyone else on GNOME having issues with the discord-canary.desktop icon breaking in the dock? The running binary hardcodes its window class to discord, so the DE loses track of it.
You can fix it instantly by appending the mapping to the desktop entry with this one-liner:
sudo python3 -c "f=open('/usr/share/applications/discord-canary.desktop', 'r+'); text=f.read(); f.seek(0); f.write(text.replace('StartupWMClass=discord-canary', 'StartupWMClass=discord')); f.truncate()"
Pinned Comments
sunwukonga commented on 2023-12-07 01:27 (UTC)
For anyone who hasn't discovered this already, you can ameliorate the impact of delayed AUR version updates by setting the following in your
~/.config/discordcanary/settings.jsonfile: