[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    getting individual screen resoutions
From:       Riza Dindir <riza.dindir () gmail ! com>
Date:       2022-08-02 13:19:57
Message-ID: CA+ek4BF1KykVUWZ=fCrjS3E=N7u1TN7f70=UvP8iU5rWMk5Lqw () mail ! gmail ! com
[Download RAW message or body]

Hello All,

I am using xorg Server 1.20.14 with X protocol version 11, revision 0.

I have a laptop that has a monitor connected to it. The laptop monitor
is 1366x768 and the external monitor has 1440x900 resolution.

I am using TWM.

Based on xrandr output, there is only one screen, screen 0. The laptop
monitor has geometry 1366x768+0+0 and the external monitor has
geometry 1440x900+1366+0.

Is it possible using xlib to get the geometry or positions of these
screens and maybe open x application windows on one of these monitors?

Is it possible to address individual monitors with :0.0 and :0.1? How?

My xrandr output is given below.

Screen 0: minimum 320 x 200, current 2806 x 900, maximum 16384 x 16384
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x
axis y axis) 344mm x 193mm
1366x768      60.02*+
... clipped rest of resolutions.
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1440x900+1366+0 (normal left inverted right x axis y
axis) 410mm x 256mm
1440x900      59.89*+  74.98
-- clipped rest of resolutions

Any help would be appreciated.

Kind Regards,
Riza Dindir
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic