[Feedback / Solution] WebApps showing generic gear icon on taskbar in Zorin OS (Wayland)
Hello Zorin Team and Community,
I would like to share a bug report and a verified technical solution regarding WebApps created with Google Chrome/Chromium under Zorin OS (Wayland session).
The Issue
When creating a web app via "Web Apps" (webapp-manager) with Google Chrome (such as YouTube Music):
- The icon appears fine in the Zorin Menu and Favorites.
- However, when opened, the running window does not combine with the launcher and instead displays a separate generic gear icon on the bottom taskbar.
Root Cause
- Wayland app_id mismatch: Modern Google Chrome running on Wayland ignores the
--classargument and sets the Waylandapp_idbased on its URL scheme (chrome-music.youtube.com__-Default). Because the.desktopfile specifiesStartupWMClass=WebApp-..., the taskbar cannot correlate the window to the launcher. - Icon theme search path: Default presets (such as
web-youtube) are stored in/usr/share/icons/Zorin/.../web/, whereas standard FreeDesktop application lookups queryapps/.
Verified Workaround / Solution
- In the
.desktopfile (~/.local/share/applications/):
SetStartupWMClass=chrome-<host>__-Default(e.g.chrome-music.youtube.com__-Default). - Ensure the icon asset is registered under the
appscontext in~/.local/share/icons/hicolor/<size>/apps/.
(Note: Do not create a symlink with the app_id name in applications/, as setting StartupWMClass alone avoids duplicate menu entries).
This completely resolves the gear icon issue and makes WebApps behave natively on the Zorin taskbar. Hopefully this can be integrated into future updates of the Zorin WebApp Manager package!