bilelmoussaoui / bilelmoussaoui/Hardcode-Tray

Adding support for custom icon paths

Open
#690 0 comments 0 reactions 0 assignees View on GitHub
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:

![image](https://user-images.githubusercontent.com/42483897/116807050-4270e280-ab5b-11eb-9243-f78b3e1f45a2.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.