Comment 5 for bug 1382291

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

There is a criterion to detect HiDPI for gtk/gnome based UI.

"GNOME currently enables hi-dpi support when the screen resolution is at least 192 dpi and the screen height (in device pixels) is at least 1200." excerpt from https://wiki.gnome.org/HowDoI/HiDpi.

I made a little script at https://github.com/fourdollars/scripts/blob/master/ubuntu/desktop-auto-scaliing.py able to be referred to.