monitor arrangement

John M Cavallo johnc0102 at verizon.net
Fri Nov 28 12:00:52 UTC 2014


On Thursday, November 27, 2014 03:08:11 PM Steven Stern wrote:
> I just plugged in a 2nd monitor and it's working very nicely. I have it
> set so monitor #1 (primary) is on the right and monitor #2 (secondary)
> is on the left. I set this from ALL SETTINGS -> DISPLAYS.
> 
> On reboot, the system comes up with #1 on the left and #2 on the right,
> not physically, but virtually. I have to move the mouse to the right on
> the primary monitor to get it on the secondary monitor to the left.
> 
> How can I force the settings to be saved across sessions and boots?

The solution that I use is to add an initialization file to X, 
/etc/X11/xinit/xinitrc.d/99-xrandr, with my setup. I have one screen rotated 
by 90 degrees and offset vertically. So the contents of the file are:

#!/bin/bash

xrandr --output DVI-I-2 --rotate left
xrandr --output DVI-I-1 --pos 0x350

The file needs to be executable.

John.



More information about the users mailing list