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.

  • Bitrot@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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.

    • DiabloD3OP
      link
      fedilink
      arrow-up
      1
      ·
      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.