Skip to content

teams-for-linux: Appears as electron after launch #512444

Description

@emilioziniades

Nixpkgs version

  • Unstable (26.05)

Describe the bug

I am using Gnome with wayland on NixOS. After launching teams-for-linux, the incorrect icon is used for Teams in the system tray, and the application is named 'electron'.

This is sort of related to #505078, but it's slightly different because it's not a version mismatch. Both nixpkgs and upstream use electron v41. Rather, I believe it is because upstream is missing desktopName in its package.json.

Unlike the obsidian case, where upstream refused to fix (and rightly so because it was a packaging issue), here the solution might be to fix it upstream.

Alternatively we could go the route of #505535 and patch the package.json when we package the application.

Steps to reproduce

nix run nixpkgs#teams-for-linux. Observe the icon and app name in the system tray.

Expected behaviour

there should be the teams logo and the application should be named 'Teams for Linux'.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.18.22, NixOS, 26.05 (Yarara), 26.05.20260414.4bd9165
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.6
  • nixpkgs: /nix/store/0d1kf07ph2ply64i1y247f9q2an9cw00-source

Notify maintainers

@muscaln
@qjoly
@chvp
@khaneliman
@HarisDotParis


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions