Waybar: Electron-based apps' tray icons aren't showing up

Created on 25 Oct 2018  路  9Comments  路  Source: Alexays/Waybar

Tested Slack, Caprine, Discord and Keybase, no tray icon. Tried with XDG_CURRENT_DESKTOP=Unity, as suggested in several places, to force AppIndicators, but that doesn't help.

Just in case, my setup is right, I can see Telegram's tray.

bug

Most helpful comment

I just saw that, I may have an idea why, if I have time I'll do it tomorrow ;)

All 9 comments

I just saw that, I may have an idea why, if I have time I'll do it tomorrow ;)

I can't get the electron apps to use appindicator, if I use xembed-sni-proxy, they appear in the tray but it's buggy, XDG_CURRENT_DESKTOP no longer seems to work

Ok got it working, i need to install libappindicator-gtk3 (added to AUR package)
and launch eletron apps with env XDG_CURRENT_DESKTOP=Unity slack

Thanks, this has helped!

Hmm, launching Telegram crashes the bar now though :smile:

Yep if telegram was launched with XDG_CURRENT_DESKTOP=Unity it crashed.
I'll look

Ah, indeed, XDG_CURRENT_DESKTOP= telegram-desktop works fine. Looks like setting it to Unity makes Telegram use AppIndicator instead of StatusIcon:

https://github.com/telegramdesktop/tdesktop/blob/c7a4d67cfb63af74f6da6ca35aea9ad08cf65588/Telegram/SourceFiles/platform/linux/linux_desktop_environment.cpp#L118-L121

Now fixed on master @jeremejevs

Can confirm, thanks again!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexChalk picture AlexChalk  路  4Comments

ilpianista picture ilpianista  路  4Comments

piu130 picture piu130  路  4Comments

atomheartother picture atomheartother  路  3Comments

Maclanky picture Maclanky  路  5Comments