GDM HiDPI configuration

Create the following file

sudo vi /usr/share/glib-2.0/schemas/93_hidpi.gschema.override

with following content

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

After the file has been created, run the following

sudo glib-compile-schemas /usr/share/glib-2.0/schemas
  • Note: tested on Fedora 31, Fedora 32, Ubuntu 20.04, Ubuntu 22.04
  • Source: askubuntu.com