ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] [RFC v3] Add xrandr support


From: Rob Paisley
Subject: Re: [RP] [RFC v3] Add xrandr support
Date: Mon, 21 Nov 2016 08:53:24 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

All:

I run three monitors, two vertical and 1 horizontal.

My login manager mirrors the two vertical monitors and ignores the horizontal
one.

Upon login, I open a shell in ratpoison (1.4.6), turn my head sideways
(improper rotation of monitors) and type "sh bin/rotate.sh && exit

rotate.sh is as follows:
xrandr  --output DisplayPort-0          --auto --rotate left    --primary \
        --output DVI-0                  --auto --rotate left    --right-of      
DisplayPort-0 \
        --output DisplayPort-1-1        --auto --rotate normal  --left-of       
DisplayPort-0

Then run ratpoison's newwm with ratpoison as the argument. This causes
ratpoison to re-detect the screens and I continue my workflow normally
with everything in harmony. ratpoison shows three screens, and I move
between them with nextscreen/prevscreen as usual.

This beta starts the same (as expected). The two vertical monitors are
mirrored and incorrectly rotated. I expected that when I ran my xrandr command
not to have to re-exec ratpoison to get directly to a correct setup. No
change.

I tried the newwm command and that seems to have decided that all three
screens were one really big screen.

Here's what I see from 'ratpoison -c sdump -c fdump' at various times.
before: Right after login
xrandr: After I've run xrandr from above
after: After I've issued "newwm ratpoison"

$ cat 1.4.6-before.txt 1.4.6-after.txt
0 0 0 1600 1200 1,1 0 0 1600 1200 0
(frame :number 0 :x 0 :y 0 :width 1600 :height 1200 :screenw 1600 :screenh 1200 
:window 16777217 :last-access 0 :dedicated 0),
0 1600 0 1200 1600 1,1 2800 0 1200 1600 0,2 0 0 1600 1200 0
(frame :number 0 :x 0 :y 0 :width 1200 :height 1600 :screenw 1200 :screenh 1600 
:window 16777217 :last-access 6 :dedicated 0),

$ cat before.txt xrandr.txt reexec.txt
0 0 0 1600 1200 1,1 0 0 1600 1200 0
(frame :number 0 :x 0 :y 0 :width 1600 :height 1200 :screenw 1600 :screenh 1200 
:window 18874369 :last-access 0 :dedicated 0),
0 0 0 1600 1200 1,1 0 0 1600 1200 0
(frame :number 0 :x 0 :y 0 :width 1600 :height 1200 :screenw 1600 :screenh 1200 
:window 18874369 :last-access 5 :dedicated 0),
0 0 0 4000 1600 1
(frame :number 0 :x 0 :y 0 :width 4000 :height 1600 :screenw 4000 :screenh 1600 
:window 18874369 :last-access 0 :dedicated 0)

Rob

On Mon, Nov 21, 2016 at 01:36:21AM +0100, Jeremie Courreges-Anglas wrote:
> Mathieu OTHACEHE <address@hidden> writes:
> 
> > Drop deprecated xinerama support and replace it with xrandr.
> >
> > Signed-off-by: Mathieu OTHACEHE <address@hidden>
> > ---
> >
> > Hi,
> >
> > Here is v3, to address Jeremie review and rebase patch on top of recent 
> > changes.
> 
> Thank you Mathieu.
> 
> I've prepared some snapshots:
> 
>   http://wxcvbn.org/~jca/distfiles/ratpoison-1.4.9-beta.tar.gz
>   http://wxcvbn.org/~jca/distfiles/ratpoison-1.4.9-beta.tar.xz
> 
> PGP signatures:
> 
>   http://wxcvbn.org/~jca/distfiles/ratpoison-1.4.9-beta.tar.gz.sig
>   http://wxcvbn.org/~jca/distfiles/ratpoison-1.4.9-beta.tar.xz.sig
> 
> It would be nice to get test reports from people with multiple screens
> setups.  The more reports I get the earlier we can publish a new
> release. ;)
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



> _______________________________________________
> Ratpoison-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ratpoison-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]