-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
The (linux) desktop icon is hard-coded #851
Copy link
Copy link
Closed
Labels
Description
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
- Install the provided icon(s) to a freedesktop standard location.
- the Icon Theme Specification should be followed
- as well as the Icon Naming Specification
- The name
keepassxcseems to be ok, but location should be something like~/.local/share/icons[/hicolor]or/usr/share/icons[/hicolor]
- 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.pngto simplykeepassxc
- It can change from
Steps to Reproduce (for bugs)
- Install the snap:
sudo snap install keepassxc
- Install an icon theme (eg: Numix-Circle):
sudo add-apt-repository ppa:numix/ppa
sudo apt update
sudo apt install numix-icon-theme-circle
- Change the icon theme - this can be done with eg the Unity Tweak Tool:
sudo apt install unity-tweak-tool
- 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
Reactions are currently unavailable