Add Support for Changing the Tray Icon on Linux

The proposed change adds support for changing the tray icon in the Linux version.

The current icon used for the tray is the same as the application’s icon which has a blue background, this does not match other tray icons on most common Linux desktop themes which are monochromatic.

Electron does not provide an easy way to specify an icon that can be adapted to the current theme in Linux, so this allows the user to pick an icon that matches their desktop theme.

Getting the icon to look half-way decent is still a problem due to the lack of SVG support in Electron.

In the settings window there will be a new drop-down labeled ‘Tray Icon’ with default, light and dark options.

There are a few other posts relating to the tray icon appearance:

Pull requests:

1 Like

Thanks @gareth! I moved this to the GitHub contributions section so we can engage our engineering and UI/UX folks :+1:

I’m about to switch from 1Password and this icon is really the only one on my Linux laptop that is so distractful - @tgreer , is there any updates on this, please!? :slight_smile:

@tgreer , gentle reminder

He unfortunately has left Bitwarden quite some time ago and wandered of to where the grass seems to be greener.

:trophy: for being extraordinary polite! :slight_smile:

1 Like

@Peter_H , thank you :slight_smile:

Hope he will find the best grass for his journey!

Do you have any information on this issue or the github issue to vote / follow / etc?

1 Like

Sorry, I don’t. I am not working for Bitwarden, but just another user.

1 Like

Thanks for following up all, I’ll review the state of this one Monday morning :+1:

1 Like

Thank you, looking forward for some news here :slight_smile:

Hey @gareth due to a repo reorganization (moved to a mono repo) the PR had been closed, you are free to reopen it here: GitHub - bitwarden/clients: Bitwarden client applications (web, browser extension, desktop, and cli)