Per application scaling

Is there a way to either set a per application scaling in wayland or to programtically turn scaling off when a specific program is launched?

2 Likes

No there isn’t an easy way to do so. What’s the actual problem you’re trying to solve?

Thanks I didn’t think there actually was but thought I’d ask. I was looking at a program from mulesoft written Java which does not scale nicely at all, the icons are all the wrong size panels don’t behave stuff like that. But it I change my scaling back to 100% it works. It’s a pain but I can live with it thanks.

For some Java applications you can force the ui scale, you have to dig online for it though to see if it’s supported. I run a lot of JetBrains IDEs and I sometimes have to force the scaling since their native Wayland support hasn’t been released yet

Thanks I’ll keep looking to see if I can find how to scale it

Is there any way to do that nowadays?

At some time in the past some applications worked with GDK_DPI_SCALE=1.25 QT_SCALE_FACTOR=1.25 /bin/application

The one offender right now is reaper. That is some damn stubbornly small resolution application. Most people use it on MAC with the OS per-application scaling accessibility feature.

edit:
actually, reaper can be scaled How do I change the text size in menus / dialogs? - Cockos Incorporated Forums

Yeah as you’ve seen, it’s only if the toolkit exposes it like Qt that you may do per-application scaling currently.

2 Likes