Am 02.08.2018 um 10:10 schrieb Tyler:
Small fonts on external screen with Qt5.
xrandr --output eDP1 --scale 1x1 --mode 3840x2160 --pos 5120x0 \
--output DP1 --scale 2x2 --mode 2560x1600 --pos 0x0 --primary
Small fonts on laptop using Qt5. So it seems tied to Primary switch as
to which screen it scales for. Fortunately when using dual monitors I
basically never use virtualbox, wireshark or nvim-qt on the laptop screen.
Incidentally if no primary switch is used the eDP1 becomes primary.
As far as I understand, QT_SCREEN_SCALE_FACTORS needs an entry for each
screen. The primary screen will get the first factor, then second screen
the second factor, so you can try this:
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_SCREEN_SCALE_FACTORS="2;2"