Hi all,
On my laptop I use Fedora 38 with KDE Plasma on Wayland, amdgpu as GPU driver.
In Xorg I could manually configure the display, by adding in /etc/X11/xorg.conf.d/ file like that:
Section "Monitor"
Identifier "Default monitor"
DisplaySize 338 190 # Actual monitor size in millimeters
EndSection
But in KWin on Wayland these settings are certainly ignored, So, I have next output of xdpyinfo | grep -B2 resolution:
screen #0:
dimensions: 1920x1080 pixels (508x286 millimeters)
resolution: 96x96 dots per inch
Setting DPI or Scaling in Plasma Settings makes some apps look ugly (generally gigantic fonts in some apps, even if I set the appropriate font size manually).
Without that, I have wrong measurements in apps like LibreOffice or graphics editors, which build their interface based on screen size.
So, is it possible to manually set actual screen size in millimeters somewhere in KWin, Plasma or other config files?