HiDPI scale does not apply to login screen?

Hi there, I recently installed Fedora 34 with the default Gnome shell and am very happy so far.
I have my PC hooked up to a 4K TV and set the UI scaling factor to 200% from the Settings app, however the login screen is still being displayed at 100% and everything is tiny.
Is there a way to apply the same scaling factor to the login screen (greeter)?

After some careful reading I found a manual solution:

The GDM monitor configuration is stored in ~/.config/monitors.xml and as you can tell by the path it’s per-user. The solution is to copy the desired settings globally under /var/lib/gdm/.config/monitors.xml

Note that there are differences in the file between Wayland and Xorg, so the best way to do it is first create a known working configuration for the user, and then copy it and fix the permissions:

# cp ~/.config/monitors.xml /var/lib/gdm/.config/
# chown gdm:gdm /var/lib/gdm/.config/monitors.xml

The global configuration does not exist by default and I think a future update might break it, but for now it’s working.

2 Likes

Nice work, I just found another solution.

create file /usr/share/glib-2.0/schemas/93_hidpi.gschema.override with

[org.gnome.desktop.interface]
scaling-factor=2

And reinit schemas sudo glib-compile-schemas /usr/share/glib-2.0/schemas

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.