View previous topic :: View next topic |
Author |
Message |
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 262
|
Posted: Fri Oct 04, 2024 11:49 am Post subject: Setting monitor geometry and physical size for KWin wayland |
|
|
How do I set the monitor layout, geometry and their physical size for a KWin/Plasma 6 Wayland session?
Especially, the physical size of each monitor is important to such that the DPI values are calculated correctly such that 100% scaling (e.g. a DIN-A4 page in LibreOffice or Inkscape) appears at the same size as a DIN-A4 page in the real world. With KWin/Plasma 5 on X.Org I had the following settings in my X.Org configuration. Code: | Section "Device"
Identifier "AMD RX 6600 (Navi23 Dimgrey Cavefish Family)"
Driver "amdgpu"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "Monitor-DisplayPort-0" "EIZO-0"
Option "Monitor-DisplayPort-1" "EIZO-1"
Option "Monitor-DisplayPort-2" "EIZO-2"
EndSection
Section "Monitor"
Identifier "EIZO-0"
DisplaySize 520 325
Option "PreferredMode" "1920x1200"
Option "Position" "3120 720"
Option "DPI" "94"
EndSection
Section "Monitor"
Identifier "EIZO-1"
DisplaySize 520 325
Option "Primary" "yes"
Option "PreferredMode" "1920x1200"
Option "Position" "1200 720"
Option "DPI" "94"
EndSection
Section "Monitor"
Identifier "EIZO-2"
DisplaySize 520 325
Option "PreferredMode" "1920x1200"
Option "Rotate" "left"
Option "Position" "0 0"
Option "DPI" "94"
EndSection |
Obviously, KWin 6 with Wayland doesn't use X.Org. Where do I put those settings instead? Preferably, there is a global setting (somewhere in /etc) as a default which applies to all new user which have never logged in before and those who have not personalized the setup. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Sat Oct 05, 2024 11:31 am Post subject: |
|
|
You may want to look into what kscreen-doctor can do for you, it is part of libkscreen.
Does your display size actually need changing? You can install wayland-utils and use wayland-info to query physical_width (as presumably reported by EDID). |
|
Back to top |
|
|
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 262
|
|
Back to top |
|
|
|