Bug 222428 - Wish for KDE recognize/compute DPI settings by different plugged screens
Summary: Wish for KDE recognize/compute DPI settings by different plugged screens
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
: 374687 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-12 20:00 UTC by H.H.
Modified: 2019-12-11 08:07 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.H. 2010-01-12 20:00:05 UTC
Version:           Unbekannt (using 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)) "release 210", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31.5-0.1-desktop

Normally I have connected a big screen to my 12" notebook. When I use the notebook screen, the fonts are very small. I have to sudo some xorg conf screen size settings, to get expected results.

I don't know if it is possible to solve this in kde, but it would be nice.

plug&play hardware reports screensize (?) -> compute dpi sizes by resolution & screensize. would that be possible? or perhaps define dpi settings for different screens in systemsettings? (that would be more flexible, and won't change font sizes automatically, what some people perhaps would not like.)

I don't know how this should be handled with simultaneous monitor setup (don't use that much).
Comment 1 David 2010-09-16 16:22:09 UTC
Hey,

I would also like to see some possibility of having different DPI settings per screen and/or activity/desktop. In my particular case I have a huge resolution in one screen (I use 120 DPI) and when I attach a secondary screen with less resolution everything is just way to big!

Another possibility would be to assign DPI per application since after changing the settings only newly opened applications are affected (I sometimes open the applications for one screen, change the settings, and then open the remaining ones, thus having the right sizes).

Cheers!
Comment 2 Greg Varsanyi 2012-11-26 22:26:54 UTC
+1

Myself and many people I know work with laptops with HD screen (1600x900 or even 1080p full HD on 13" is becoming typical), but they still hook it up with big external screens.
Comment 3 Lukas 2013-01-30 08:01:26 UTC
+1 for per-screen dpi settings.
Comment 4 Gabriele Menna 2015-11-26 17:22:46 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Dmitry Bigunyak 2017-02-11 21:06:48 UTC
I hope this will be implemented one day...
Comment 6 Sebastian Kügler 2017-02-24 10:09:39 UTC
*** Bug 374687 has been marked as a duplicate of this bug. ***
Comment 7 Jesse Litton 2017-07-03 16:09:09 UTC
Laptops with 4k/retina displays are becoming much more common, and this is a major issue for those of us that dock them to use multimonitor non-hdpi setups.
Comment 8 timonoj 2018-07-20 06:34:21 UTC
Long gone are the times of <1080p screens. This trend is only going to get worse. A desktop environment trying to jump to the future...While ignoring basic support.
Comment 9 Christoph Feck 2018-08-03 09:43:19 UTC
Wayland has per-screen DPI, while X11 only supports a single DPI-value per server.
Comment 10 Zhang Jingqiang 2018-08-24 06:53:47 UTC
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.
Comment 11 Christoph Feck 2018-08-24 12:12:02 UTC
It won't help on non-Qt applications, but let's Plasma maintainers decide if we can configure scaling factors per screen.
Comment 12 Patrizio Bekerle 2018-08-27 16:46:17 UTC
I used this for my high-dpi and "normal" screen:
xrand --output DP-1 --auto --output DVI-I-1 --auto --scale 1.4x1.4 --right-of DP-1

The displays are working great that way, but I get a lot of plasmashell crashes with my Nvidia card, I'm currently testing if that really came from xrand.
Comment 13 Patrizio Bekerle 2018-08-29 09:49:20 UTC
While working two days without xrand I had almost no plasmashell crashes, so xrand seemed to be the problem.