0

I use zoom on Gnome Wayland in NixOS (dotfiles). The problem I’m trying to solve is that while I can see the zoom icon in the launcher/overview:

screenshot of Zoom icon in Gnome overlay

I get the default application icon everywhere else:

default application icon used for Zoom in Gnome taskbar

I had a similar problem with foot, because the desktop entry was missing the line StartupWMClass = foot. I wrote a custom desktop entry, and that resolved the problem.

Now, the default Zoom.desktop file already contains StartupWMClass = zoom:

[Desktop Entry]
Name=Zoom
Comment=Zoom Video Conference
Exec=/nix/store/v651rqca7bjrbvgc1760qcskj7lcgapn-zoom-5.15.2.4260/bin/zoom %U
Icon=Zoom
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
StartupWMClass=zoom
MimeType=x-scheme-handler/zoommtg;x-scheme-handler/zoomus;x-scheme-handler/tel;x-scheme-handler/callto;x-scheme-handler/zoomphonecall;application/x-zoom
X-KDE-Protocols=zoommtg;zoomus;tel;callto;zoomphonecall;
Name[en_US]=Zoom

I've tried changing the capitalization (i.e. StartupWMClass=Zoom), but that doesn't solve the problem.

Also, running desktop-file-validate on Zoom.desktop (see this question) warns of a couple deprecations, but gives no errors. Similarly, I see no errors in ~/.xsession-errors.

In addition, looking glass (i.e. Alt + F2 “lg”) doesn’t report a known wmclass nor that Gnome used Zoom.desktop to launch zoom.

Gnome Looking Glass reports no wmclass or desktop entry for zoom.

What is going on here, and how can I consistently use the zoom icon throughout Gnome?

2
  • Have you tried restarting GNOME entirely? I have consistent Zoom icons in the places you mention.
    – l0b0
    Commented Jul 25, 2023 at 20:57
  • @l0b0 - Good idea, but it doesn't seem to be the problem here. I have logged out and back in and rebooted several times. I have also reapplied my system configuration (i.e. sudo nixos-rebuild switch --flake .#) several times, but the issue remains.
    – joshrule
    Commented Jul 25, 2023 at 22:10

0

You must log in to answer this question.

Browse other questions tagged .