[arch-general] xrandr with XPS 13" (3840x2160) HiDPI and 30" (2560x1600) LowDPI
Tyler
tylera at privatedemail.net
Thu Aug 2 12:12:07 UTC 2018
> 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"
SUCCESS! SUCCESS! SUCCESS!!
Now the font for Qt apps is correct on both screens using:
xrandr --output eDP1 --scale 1x1 --mode 3840x2160 --pos 5120x0 \
--output DP1 --scale 2x2 --mode 2560x1600 --pos 0x0
https://i.imgur.com/KB5UNxy.jpg
I have made a revision to the wiki to make that clear.
https://wiki.archlinux.org/index.php?title=HiDPI&type=revision&diff=532206&oldid=529558
Thanks all who have helped!
--
Tyler
More information about the arch-general
mailing list