bilelmoussaoui / bilelmoussaoui/Hardcode-Tray
Adding support for custom icon paths
- Dominant language
- Python
- Stars
- 890
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
### Specifications
- Hardcode-Tray version : 4.3
- Distribution : openSUSE Tumbleweed
- Gtk version : 3.24
- Desktop: KDE Plasma 5.21.4
When I run Hardcode-Tray in my laptop, it log a message `No app to fix!` and do nothing.
After debugging the code, I notice that the theme object only look for icon in these paths:

In KDE, the folder for installed icons is: `/home//.local/share/icons`
Adding the folder to the theme object using `prepend_search_path` fix the issue.
Not sure if I am missing any runtime dependencies for the script to work correctly or custom path should be supported?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining the theme object and its configured icon search paths, then reproduce the issue in the KDE environment described. Verify that icons installed under ~/.local/share/icons are found without a manual runtime change, and confirm that Hardcode-Tray no longer reports “No app to fix!”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100