I can’t stand this… I removed windows border colors because it hurts my eyes, but icons auto coloring is just pure evil… HOW DO I TURN IT OFF please???
First of all, consider that icon tinting is considered a security feature.
To disable tinting of running app icons, modify /usr/lib/qubes/icon-receiver and change this line from:
icon_tinted = icon.tint(color)
to
icon_tinted = icon
Just backup the file before modifying it, modifying it requires sudo. And everytime qubes-gui-daemon receives and update, you have to do it again.
To disable tinting of Appmenu icons, modify /usr/lib/python3.13/site-packages/qubesappmenus/__init__.py and change this line from:
qubesimgconverter.tint(src_icon, dst_icon, vm.label.color)
to
img = qubesimgconverter.Image.load_from_file_pil(src_icon)
img.save_pil(dst_icon)
Finally run:
qvm-appmenus --all --force
Just backup the file before modifying it. Modifying it requires sudo. The change is case-sensitive. Everytime qubes-desktop-linux-common gets updated, you have to do it again. And the python version might be different on your system (not 3.13).
Thanks! But… I changed the
icon_tinted = icon.tint(color)
to
icon_tinted = icon
And now I see a qube icon(generic) of any application I launch… with color…
I want the icon of the app without any additional coloring
One more note. You have to restart your system.
p.s.: Python is extremely sensitive to indentation. The white space (blank spaces) before the new icon_tinted = icon should be exactly same as the previous one.
I marked the original line as a comment with the # and placed the exact same(in terms of indentation) thing under it… I think I did it right?
icon_tinted = icon.tint(color)
icon_tinted = icon
And yeah… I did the restart of course. Is it working for you though???
For my personal use (and some other users who are into testing new stuff), I have been working on new custom effects for a while. Here on my Github repo is a screenshot.
You can find other improvements (custom labels, Appmenu screenshots, …) in the repo. There is also a forum topic where I documented the development progress
Yeah but I really don’t wanna do that, sorry!
All I want is normal icons… can I just do that somehow???
The
icon_tinted = icon
should take care of it or do I need to do somethin else, because it’s obviously not workin
Should work. If it does not, you can change this line:
icon_tinted_data = self._convert_rgba_to_argb(icon_tinted.data)
to
icon_tinted_data = self._convert_rgba_to_argb(icon.data)
And you will have to restart
Just did that, but it didn’t help… it’s the same generic icon of a qube WITH a color…
It is working for me:
And also take note that it has no effect on XTerm. As its icon never gets transferred from qube and you will always see the generic qube icon for it. So you should test it with something else (e.g. xfce4-terminal)
YES!!! It is working now!!!
And yeah I’m aware of the xterm issue… I found your topic regarding it… did you figure out how do bring that icon by any chance?
AND THANK YOU ONE MORE TIME!!!
It is in my TODO list. Too many items in the list, not enough time. I am working on them as a hobby ![]()
Got it!
Thanks for the help! I appreciate your work on this. Good luck with your TODO list!
@alimirjamali I can’t make it work for 4.3 again !!! ![]()
Can you please look into it when you can?
I did exactly as you said before…
icon_tinted = icon
icon_tinted_data = self._convert_rgba_to_argb(icon.data)
I restarted the system twice and this didn’t help!
This is correct. But there has been an update just today or yesterday which would overwrite your modifications. Check again to assure your modifications persist.
I just applied it like 30 minutes ago and keep trying!
I remember it was something like that before too, but at the end I fixed it, but I don’t remember how!!! ![]()
4.3 fixes so many issues for me! xterm icon is working out of the box now etc!
But this thing just doesnt apply!!! I tried everything I could think of…
Maybe there’s something in addition I need to do now for the 4.3?
Does it work for you on 4.3 @alimirjamali ???
Yes. I am using my own patch (which provides many many effects in addition to tint). That is tint, untoched, thin-bornder, thick-border, overlay on color, inverted and some other.
hi
i also have this problem. i installed 4.3 with kde plasma and i tried to do as you said
first i tried to change only icon_tinted = icon and this did not work
secondly i tried to change both icon_tinted = icon and icon_tinted_data = self._convert_rgba_to_argb(icon.data) and this did not work too.
i restarted my system of course
i really do not like this. i have only placeholder qube instead of icon. help please.
i tried to get back to what it was and changed to icon_tinted = icon.tint(color) and icon_tinted_data = self._convert_rgba_to_argb(icon_tinted.data) and it remain qube placeholder instead of icon
and i restarted of course
