Tray icons not showing for some apps I use
Compositor
- [x] niri
Distribution
Arch / CachyOS
dms version
v0.6.2
Description
Tray icons not showing some apps i.e solaar (https://github.com/pwr-Solaar/Solaar) and udiskie (https://github.com/coldfix/udiskie)
Expected Behavior
Tray icons showing for those apps
Solution
Solution I found was installing libappindicator-gtk3
sudo pacman -S libappindicator-gtk3
Maybe this should be included in DMS? if not maybe add information on wiki, or maybe other people find better solution
I think it should be added to the docs or as a dependency in the repos yea
Adding libappindicator-gtk3 in nix didn't seem to work for me... adwaita-icon-theme worked for udiskie in waybar, but not with dms
I forgot exact steps on how I tried to solve system tray in DMS, but maybe these would help @dlip
- I toggled the
systemTraytotruein theshowOnLastDisplaysetting in thesettings.json, not sure how it got toggled tofalsebefore."showOnLastDisplay": { "osd": true, "toast": true, "systemTray": true, "notepad": true, "dock": true, "notifications": false } - In CachyOS/Archlinux when I investigate the udiskie service with
systemctl status udisks2.serviceI saw it was looking forlibappindicator-gtk3after installing it myself the icons that previously not showing now showing. I also hadlibayatana-indicatorandlibayatana-appindicatorinstalled, some app had them as optional deps, not sure if they affect anything.
@indralukmana Thanks for the suggestions. I cant see anything in the udiskie logs, the dms only service shows this:
WARN: Could not load icon "drive-removable-media" at size QSize(14, 14) from request
I installed libappindicator-gtk3, libayatana-indicator and libayatana-indicator but it didn't seem to help. Maybe there is something else needed to put it in a path that is exposed to dms in nixos?