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

Bruno Pagani bruno.n.pagani at gmail.com
Wed Aug 1 12:09:09 UTC 2018


Le 01/08/2018 à 13:58, Tyler a écrit :

>> Try setting the QT_SCREEN_SCALE_FACTORS per display like this for instance:
>> QT_SCREEN_SCALE_FACTORS=eDP-1=2;DP-1=1;HDMI-1=1;DP-2=1;HDMI-2=1;
> I didn't even know that was possible.
>
> I tried with: QT_SCREEN_SCALE_FACTORS=eDP1=2,DP1=1 to test but I am
> noticing it seems to be truncating to when I look at:
>
> env | grep QT_SCREEN_SCALE_FACTOR
> QT_SCREEN_SCALE_FACTORS=eDP1=2
>
> Thanks for the tip though!

The separator is a ; not a comma. ;) And it is likely {E,}DP-1, not
{E,}DP1. And you probably have to use quotes around the whole value,
like this:

QT_SCREEN_SCALE_FACTORS="eDP-1=2;DP-1=1;HDMI-1=1;DP-2=1;HDMI-2=1;"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20180801/7353a158/attachment.asc>


More information about the arch-general mailing list