[PATCH] When running on HiDPI monitors, scale anaconda by a factor of 2
Vratislav Podzimek
vpodzime at redhat.com
Thu Sep 18 14:56:31 UTC 2014
On Thu, 2014-09-18 at 09:43 -0400, David Shea wrote:
> 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.
Good catch. :)
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list