[kde] [Bug 222428] Wish for KDE recognize/compute DPI settings by different plugged screens

Zhang Jingqiang bugzilla_noreply at kde.org
Fri Aug 24 07:53:47 BST 2018


https://bugs.kde.org/show_bug.cgi?id=222428

Zhang Jingqiang <zh_jq at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |zh_jq at outlook.com
         Resolution|UPSTREAM                    |---

--- Comment #10 from Zhang Jingqiang <zh_jq at outlook.com> ---
I just found this in ~/.config/starupconfig
```
# kdeglobals KScreen ScreenScaleFactors ''
kdeglobals_kscreen_screenscalefactors='eDP-1=2;DP-1=2;HDMI-1=2;DP-2=2;HDMI-2=2;HDMI-3=2;'
```

And the values will be set to
```
QT_SCREEN_SCALE_FACTORS=eDP-1=2;DP-1=2;HDMI-1=2;DP-2=2;HDMI-2=2;HDMI-3=2;
```

Manually change the value of DP-2 to 1 is helpful for the DP-2 monitor to
shutoff HiDPI for qt applications.
And if set force font dpi to off in systemsettings, gtk applications will not
scale either.
These basically make DP-2 monitor work at the correct scale level (at least the
content), though not perfect.

It will help if we can set different scale level for different monitors through
the qt QT_SCREEN_SCALE_FACTORS env var on X11.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list