Volume, sven and glipper tray icons stay very small, is there a way to force them to scale, or is it decided at compile time? With ever increasing screen resolutions those icons will be unseeable.
tray icons NOT scaling
Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators
-
- Posts: 561
- Joined: Thu Aug 13, 2020 9:55 am
- Has thanked: 60 times
- Been thanked: 206 times
- Contact:
Re: tray icons NOT scaling
stemsee wrote: Mon Jan 23, 2023 9:53 amVolume, sven and glipper tray icons stay very small, is there a way to force them to scale, or is it decided at compile time? With ever increasing screen resolutions those icons will be unseeable.
I suspect lxqt-panel only scales icons if it can find a scalable (svg) versior for the icon file. Scalable icons, if any, can be found in /usr/share/icons/THEME/scalable, where THEME is a theme name configured in ~/.config/lxqt/lxqt.conf either directly or via GUI "Control Panel > Appearance > Qt5 Settings > Icon Theme".
For instance, I use an icon theme that includes a bunch of icons named 'audio-volume-'*.svg in .../THEME/scalable/status/; they all reflect into various states of the volume control icon in the panel. More importantly, the volume control icon scales up and down just fine, because the underlying icons are scalable.
To scale panel icons right click the panel in an empty area, choose Configure Panel, and change Size and Icons size as desired.
As for glipper's icon, I suspect it doesn't scale because it's a fixed size icon: /usr/share/pixmaps/glipper-lite.png (22x22). You could try to see if placing a scalable version of that icon (glipper-lite.svg or maybe even glipper.svg) in /usr/share/icons/THEME/scalable/apps/ and restarting X helps.
Sven's icon could be a different story, I'm not sure. There's /usr/share/pixmaps/sven_keyboard128.png (128x128) in the system, but I don't think sven loads that icon. I could be wrong, without looking at the source code I can't be sure.