Usage with HIDPI screen

26 views
Skip to first unread message

Daniel Gorbe

unread,
Jan 23, 2020, 5:49:51 AM1/23/20
to qubes...@googlegroups.com
Hi!


How Qubes handles HIDPI (~144 DPI) screen todays?

I tried Qubes a year ago, the dom0 (maybe?, i dont remember the names
well) can handle, but the VMs dont.

The terminal of a VM is unreadable.


Best regards,

    g0rbe


signature.asc

Andrey Arapov

unread,
Jan 23, 2020, 4:57:37 PM1/23/20
to Daniel Gorbe, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Daniel,

> How Qubes handles HIDPI (~144 DPI) screen todays?

Qubes R4.0 uses XFCE 4.12 which doesn't support HiDPI out of a box.

XFCE 4.14 does support HiDPI.

There is probably some chance XFCE 4.14 will come to Qubes R4.1, see
https://github.com/QubesOS/qubes-issues/issues/5330#issuecomment-533280131

> The terminal of a VM is unreadable.

Here are some workarounds I am using on HiDPI monitors for now:

- - GTK

either: gsettings set org.gnome.desktop.interface text-scaling-factor 1.75
or: gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}]"

For this to work, you'd need gnome-settings-daemon which is used in the Fedora (30) template.
Debian (10) template is running xsettingsd, so there probably must be a way to disable it and install gnome-settings-daemon instead, I haven't done that yet.

- - Console: setfont latarcyrheb-sun32 -m 8859-2

- - QT:

Depending on the QT version and probably something else too, I am typically using:
export QT_SCALE_FACTOR=1.7

But there are more switches out there:

- - https://doc.qt.io/qt-5/highdpi.html
- - https://nixaid.com/hidpi-display-on-ubuntu-17-10-and-font-size/


- --
Andrey
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQRDMZ/b1AtG/U4LjuKQdtXmsxrpnAUCXioWhgAKCRCQdtXmsxrp
nBmxAP9QZwQ4+Sdh0fttviUdYtJ4fkEFDNMEFm/AxRnlgB9BMwEA2BHE3ycj82MX
GMvWLH5y9no9hCqg/rRReyGI7+OcwQ8=
=GsH5
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages