This isn't a "problem", but an xrandr solution for a
problem with gnome desktop preferences.  

*** The problem:

gnome "system/preferences/Hardware/Displays" rotates
paired screens improperly.

***  The setup:

I have two ancient Planar 1910M monitors (1280x1024)
fed by a "two DVI port" video card.  The left monitor
is rotated left, the right monitor is rotated right,
so the skinny "tops" of the screens are side by side.

***  The problem in detail:

When I use the gnome menu to rotate the displays, the
two patches of screen pixels are separated by a hidden
256-pixel-wide undisplayed strip.  Dragging a window
between screens works, except that a strip in the
middle of the window is hidden.

***  The solution:

After duckducking the intertubes, I found some ideas,
which became a three line script (~/bin/twoscreen) run
by .bashrc after login:

-----------------------------------------------------------
#!/bin/bash
xrandr --output DVI-I-1 --rotate left  --pos 0x0           \
       --output DVI-I-2 --rotate right --right-of DVI-I-1
-----------------------------------------------------------

The important part is the "--right-of DVI-I-1" for screen two.
The gnome "video game" doesn't offer a way to do this.

Your screen names will vary;

xrandr | grep connected

... in an xterm will tell you what your screens are.

After rotating and joining, my screens are:

DVI-I-1 connected primary 1024x1280+0+0 left (normal left inverted right x axis 
y axis) 380mm x 300mm
DVI-I-2 connected 1024x1280+1024+0 right (normal left inverted right x axis y 
axis) 380mm x 300mm

Keith

P.S. Full Disclosure:  I use the "mate" fork of gnome2.
Perhaps gnome3 joins screens automatically, but I avoid
it because of the Many Many Other Really STUPID Things
gnome3 does automatically, in the quest to turn a 
production desktop into a handwaving video game for
knuckledragging morons.  Useless for spastic seniors.

I can phrase that less diplomatically if requested, but
impressionable youths under 30 read this list.  Don't
get me started on text (mis)rendering by Way(ste)land.

P.P.S. - get off my lawn.

-- 
Keith Lofstrom          kei...@keithl.com

Reply via email to