[PATCH] When running on HiDPI monitors, scale anaconda by a factor of 2
David Shea
dshea at redhat.com
Wed Sep 17 15:35:40 UTC 2014
On 09/17/2014 11:24 AM, Chris Lumens wrote:
>> diff --git a/data/liveinst/console.apps/liveinst b/data/liveinst/console.apps/liveinst
>> index 073b39c..e9067fb 100644
>> --- a/data/liveinst/console.apps/liveinst
>> +++ b/data/liveinst/console.apps/liveinst
>> @@ -5,4 +5,5 @@ SESSION=true
>> STARTUP_NOTIFICATION_NAME="Starting Install to Hard Drive"
>> DOMAIN=anaconda
>> # DBus session connections fail when running setuid unless we pass DBUS_SESSION_BUS_ADDRESS through
>> -KEEP_ENV_VARS=DBUS_SESSION_BUS_ADDRESS,LIVECMD
>> +# Keep the Gdk scale settings from the user environment
>> +KEEP_ENV_VARS=DBUS_SESSION_BUS_ADDRESS,LIVECMD,GDK_SCALE,GDK_DPI_SCALE
> GDK_DPI_SCALE isn't used anywhere in the rest of the patch, so maybe
> it doesn't need to be mentioned here too?
>
>
Yeah, I think we can remove that. I was looking at
https://developer.gnome.org/gtk3/stable/gtk-x11.html mentioning the use
of GDK_DPI_SCALE in conjunction with GDK_SCALE, but reading it again
that appears more intended for use by applications and not users, so I
think it's safe for our application to ignore it.
More information about the anaconda-patches
mailing list