Re: xrandr with XPS 13" (3840x2160) HiDPI and 30" (2560x1600) LowDPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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"



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux