this post was submitted on 20 Sep 2023
9 points (100.0% liked)

Firefox

17929 readers
27 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

I've seen this not documented anywhere, so I'm just writing this down here. You'll need to know this so your .desktop file can set your wm/taskbar icon correctly.

The .desktop file that Nightly installs (when it asks you if you want it to become your default browser) isn't aware of Nightly, and incorrectly sets StartupWMClass to firefox, thus Nightly will get a generic icon.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

I’ve never seen it install a desktop file, always had to make my own. Pulse browser and many others have to do the same thing.

Can query WM_CLASS using xprop.

[–] DiabloD3 1 points 1 year ago

It will install one if you say "yes" when it asks if you want to make it your default browser. xprop cannot query apps that use Wayland natively.