[arch-general] xrandr with XPS 13" (3840x2160) HiDPI and 30" (2560x1600) LowDPI

ProgAndy admin at progandy.de
Thu Aug 2 11:03:41 UTC 2018


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"


More information about the arch-general mailing list