Skip to content

The (linux) desktop icon is hard-coded #851

@mrmeszaros

Description

@mrmeszaros

I installed an Icon theme (Numix) but the icon does not change.
This is due to the fact that the Icon line of the desktop entry snap package is hard-coded.

Expected Behavior

The desktop icon should change, when the user changes the icon theme.

Current Behavior

The desktop icon remains the package provided, despite the theme changes.

Possible Solution

  1. Install the provided icon(s) to a freedesktop standard location.
  2. After that, the icon can be referenced by name in the desktop file
    • It can change from /snap/keepassxc/23/share/icons/hicolor/256x256/apps/keepassxc.png to simply keepassxc

Steps to Reproduce (for bugs)

  1. Install the snap:
sudo snap install keepassxc
  1. Install an icon theme (eg: Numix-Circle):
sudo add-apt-repository ppa:numix/ppa
sudo apt update
sudo apt install numix-icon-theme-circle
  1. Change the icon theme - this can be done with eg the Unity Tweak Tool:
sudo apt install unity-tweak-tool
  1. The desktop entry does not change icon (although the theme provides it!)

Context

It is a minor tweak, but enables people to use the icon from their favorite icon theme.

Debug Info

KeePassXC - 2.2.0
Revision: 23

Libraries:

  • None

Operating system: Ubuntu 16.04
CPU architecture: x86_64 (64-bit)
Kernel: Linux 4.10.0-30-generic

Enabled extensions:

  • None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions