SchizoDuckie / DuckieTV

A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
http://schizoduckie.github.io/DuckieTV/
Other
1.12k stars 277 forks source link

Add StartupWMClass to Desktop file #1425

Closed jlneder closed 3 weeks ago

jlneder commented 3 weeks ago

I am using the standalone version now. Nightly "202405111132" Linux

Hi, I made a derivation for nix for my personal use, to use DuckieTV in NixOS, after all the websql deprecation. I was having a problem with the icon in the dock in gnome. It didn't show unless I added: StartupWMClass=DuckieTV-Standalone To the desktop file. Or change the name of the desktop file to DuckieTV-Standalone.desktop, but I prefer the first option. The wm-class have to be the same as the name of the desktop file for gnome(and i guess maybe all desktops?) to match the icon with the window. Or use the line mentioned above.

I fix it in my "package" but maybe someone else is having the same problem.

garfield69 commented 3 weeks ago

Thanks for the info, maybe someone will find it useful.