Changing X11 scaling option using script/code?

image

This thing is good for some apps like Android Studio, but bad for other apps like Krita, which has no in-built scaling option. As far as I have researched, there is NO WAY to customise this setting per app. But is there at least a way to change this setting more easily with using script or something? That is, I want to change the setting to “Scaled by the system” automatically before launching Krita.

Perhaps this page contains what you’re looking for:

https://wiki.archlinux.org/title/HiDPI

If there is a config file that gets written to maybe you can edit that and change it that way.

Yes, switch from Wayland back to X11 :joy: