[PATCH] When running on HiDPI monitors, scale anaconda by a factor of 2
David Shea
dshea at redhat.com
Thu Sep 18 13:43:09 UTC 2014
On 09/17/2014 11:15 AM, David Shea wrote:
> + if monitor_height_px >= 1200 and monitor_dpi_x > 192 and monitor_dpi_y > 192:
> + display.set_window_scale(2)
> +
> @property
> def tty_num(self):
> return 6
One more tweak: we should add os.environ["GDK_SCALE"] = "2" in addition
to set_window_scale, so that programs launched by anaconda
(nm-connection-editor) are also scaled.
More information about the anaconda-patches
mailing list