[BUG] Icons from ~/.local/share/icons and /usr/share/icons/HighContrast not displayed
Author: rileyophusCreated Aug 24, 2026Updated Aug 31, 2026
Labelsbug
Rofi version (rofi -v or git commit in case of build issue)
2.0.0
Configuration
https://gist.github.com/rileyophus/8cfdacbd2c2de6079f15565ee86fc13e
Theme
https://gist.github.com/rileyophus/7bbac9c6042eb9c329e9f75fde7ea188
Timing report
No response
Launch command
rofi -show drun
Step to reproduce
- Choose icon (in my case, a PNG) from
~/.local/share/icons/hicolor/<some resolution>/apps/ - Create .desktop file (in
~/.local/share/applications/) with the Icon field set to the basename of that icon file (minus file extension) - Run
rofi -show drun
Expected behavior
Icon is properly displayed
Actual behavior
Icon is not displayed
Additional information
If the procedure to reproduce is followed but ~/.local/share/icons/hicolor is replaced with /usr/share/icons/hicolor, the icon is properly displayed. If the Icon field is set to the full path of the icon, the icon is properly displayed. Icons from flatpaks, which are not located in ~/.local/share/icons/ but instead ~/.local/share/flatpak/app/<flatpak name>/current/active/files/share/icons/, are displayed properly.
I've checked if the issue exists in the latest stable release
- Yes, I have checked the problem exists in the latest stable version
Source: davatorium/rofi