How To Enable HiDPI Fractional Scaling For Wayland Or X11 On Ubuntu 19.04 Disco Dingo

As many of you already know, GNOME 3.32 includes experimental HiDPI fractional scaling for Wayland, but what you might now be aware of is that thanks to Marco Trevisan, it’s also possible to use fractional scaling with the X11 session on Ubuntu 19.04 Disco Dingo. This article explains how to enable fractional scaling on Ubuntu 19.04 with GNOME 3.32 using both Wayland and X11 (default) sessions.