Xterm's icon

Sup folks!

I read the forum and know it’s not only me, but can you like explain maybe why this is happens like why I can’t see any icon of the xterm in task manager? I tried bunch of things including creating .desktop file with xpm icon and nothing
I really like xterm and used to it during the years and don’t wanna give up on it, but the missing icon is pissing me off

1 Like

can someone from the devs look into it? why is there no support for basics things like this

1 Like

Hi and welcome to the forum.

This issue has been on my personal TODO list (but I did not have enough time to work on it). The reason Xterm Icon is not sent from the Qubes to the GUIVM (usually dom0) is because how it shows its icon.

Usually in each qube, a process called icon-sender runs in the background and send window icons to GUIVM. It is a part of qubes-gui-agent package. Its source is here.

In GUIVM (dom0 by default), just one process called icon-receiver receives the icons from individual qubes, tints them and then attaches them to their respective windows. Its source is here.

Here the problem is most probably with the IconRetriever.get_icons method. I will try to take a look into it next week.

2 Likes

Alright, thanks… looking forward to it

1 Like

Current progress with xterm, xcalc, xeyes and xlogo (cc @Eleanorrais ):

4 Likes

Ok everyone. Xedit icon is lost in history. But we have the icons for the rest of X11 Applications.

2 Likes

How did you fix that though? Do I need to tweak something ?

1 Like

Here is the Github issue I opened on Qubes Issues tracking system for this particular problem. And here is the particular PR patch I submitted to fix the issue. The patched file is in the template at /usr/lib/qubes/icon-sender. It is the process responsible for sending icon of running qube programs to the GUIVM (dom0 by default).

The PR is currently being evaluated by the Qubes OS core team (I am a community developer and not a part of the core team). Then if it is approved, it will be merged to the main branch of gui-agent-linux and will be released to testing users of Qubes OS r4.3 release candidate. After it is thoroughly tested, then it will be pushed to Qubes OS r4.2 testing repository. And finally to Qubes OS r4.2 stable repository for all users. This process could take some time.

If you do not want to wait and you know python and you are comfortable with my Patch, then you can manually apply the patch to your templates. Otherwise, if you want to accelerate its review and release process, you could give the Github issue and/or PR a thumbs up (if you have a Github account). So its review and release would be accelerated.

1 Like

Thanks man, but I copied the file qubes-gui-agent-linux/window-icon-updater/icon-sender at 39f67636b2002a9ae313b1a97b2edeedb2b1e35e · QubesOS/qubes-gui-agent-linux · GitHub to the template and restarted it, but now it doesn’t show any icon at all even for thunar

1 Like

Thanks for the feedback. You may do the following:

  1. You may restore the file from original repo or reinstall qubes-gui-aget via sudo dnf reinstall qubes-gui-aget in the template to restore it (or similar command for apt based templates).
  2. You may start a qube based that template. Observer icons are properly updated.
  3. Kill the original icon-sender process: killall icon-sender
  4. Run the new one from command line. Observe if you see any errors. Start some other programs (ordinary ones and X ones e.g. xterm). Observe if their icons are properly updated or not. Then send feedback if you see errors.

BTW, here is a video of automated tests, showing the patch working in action: Qubes OS openQA: Video

1 Like