How to Fix Ubuntu Gnome Login Screen Scaling
What’s happening on Ubuntu is rather simple. While the actual resolution of the screen is 4k or even 8k, users are asking for high definition 1080p UI. From my experience, Ubuntu 22.04 did have resolution independence settings, but the settings did not apply all the way through login screen.
- Edit the following document using this command:
sudo nano /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
- Search for “scaling-factor” (ctrl+w) and change the value to “2”.
<key name="scaling-factor" type="u"> <default>2</default>
- Run following command to apply:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
- Reboot or logout to check the change has been made on login page.
I can guess where the issue must be coming from. If the high DPI mode has been applied only on the user levels, it would make sense the login page to keep its original 1:1 ratio. Aside from the obvious issues in hand, I’m not sure why the fallback resolution is set to be highest a monitor can provide. Setting it lower may not look pretty, but it is usable; whereas, the converse gives us fine prints shenanigans.