I am seeking to up-scale a single application in Ubuntu 17.04, Gnome Shell 3.24.
In my concrete case, the motivation is unstable zoom functionality in Franz, but another reason could be older apps not designed for scaling to high resolution displays.
This answer from superuser suggests using this script to up-scale. The script, however, minimally allows up-scaling by a factor 2, which is far too much. The script also makes use of the xrandr
package, which is deemed obsolete by apt-get
.
Is there a hack that will allow me to up-scale a single application window to, say, 120% of the original?
The run_scaled script provides the following option:
To change the scaling factor you need to run the script on the executable you wish to run scaled as e.g.
In Ubuntu 19.10, the following works for the application I now have in mind:
Possibly, one may also want to play around with the above in combination with
QT_AUTO_SCREEN_SCALE_FACTOR=1
andQT_AUTO_SCREEN_SCALE_FACTOR=0
.