You are not logged in.

#1 2023-04-12 19:58:03

natan
Member
Registered: 2022-05-19
Posts: 8

XRandR physical monitor sizes

I have two monitors - the inbuilt 1920x1080 14" laptop monitor, and one external 1440x900 19", in this configuration: https://i.imgur.com/kfAEcjO.png
The monitors in XRandR aren't sized the same as they are in real life: https://i.imgur.com/QWfzKLa.png
This is an issue, because when the cursor moves between them, where it pops up on the other monitor isn't very predictable, kind of like this: https://i.imgur.com/MHNtSar.png

What is interesting though, is that the reported display sizes in `xrandr` seem to be correct, but the pixel values are used for the sizing (output shortened for clarity):

$ xrandr
eDP-1 connected 1920x1080+1440+0 (normal left inverted right x axis y axis) 308mm x 173mm
   1920x1080     60.01*+  60.01    59.97    59.96    59.93    40.00  
   ...
DP-2-2 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 410mm x 257mm
   1440x900      59.90 +  74.98* 
   ...

How can I adjust the xrandr monitor sizes to match what is actually used?

Last edited by natan (2023-04-13 12:14:01)

Offline

#2 2023-04-12 21:00:18

seth
Member
Registered: 2012-09-03
Posts: 60,813

Re: XRandR physical monitor sizes

xrandr --output … --pos …
xrandr --help

https://wiki.archlinux.org/title/Multih … oordinates

Last edited by seth (2023-04-12 21:01:37)

Offline

#3 2023-04-13 12:16:33

natan
Member
Registered: 2022-05-19
Posts: 8

Re: XRandR physical monitor sizes

Oh, I'm sorry, it was kind of late when I wrote this. I meant they are not sized correctly. The laptop screen is supposed to be smaller, but in the configuration it is disproportionately big. Edited the question to match this.

Offline

#4 2023-04-13 12:20:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,252

Re: XRandR physical monitor sizes

X tends to use DPI to calculate physical sizes and atleast your laptop screen appears to use a high dpi value.

See https://wiki.archlinux.org/title/HiDPI


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB