Gentoo Archives: gentoo-user

From: Aleksey Kunitskiy <alexey.kv@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Changing primary monitor on dual-monitor X.org setup
Date: Wed, 06 Jun 2007 16:55:11
Message-Id: 200706061942.59624.alexey.kv@gmail.com
1 Hi Gentoo community,
2
3 I'm new to dual-monitor setups and I have one question to you:
4 I have Geforce 7950GT graphics card with two independent DVI-I outputs and two
5 monitors connected to each DVI out. I configured X.org to use two screens
6 separate on these two monitors.
7 Question: How can I interchange screens between those two monitors? I've
8 primary screen always on "first" DVI-out and I want to change it(I want the
9 primary screen to be on "second" DVI-out)
10
11 Here is my xorg.conf:
12
13 /*******************/
14 Section "Files"
15 RgbPath "/usr/share/X11/rgb"
16 ModulePath "/usr/lib64/xorg/modules"
17 FontPath "/usr/share/fonts/misc/"
18 FontPath "/usr/share/fonts/TTF/"
19 FontPath "/usr/share/fonts/OTF"
20 FontPath "/usr/share/fonts/Type1/"
21 FontPath "/usr/share/fonts/CID/"
22 FontPath "/usr/share/fonts/100dpi/"
23 FontPath "/usr/share/fonts/75dpi/"
24 FontPath "/usr/share/fonts/terminus"
25 FontPath "/usr/share/fonts/corefonts"
26 EndSection
27
28 Section "Module"
29 # Load "dri"
30 Load "dbe"
31 # Load "record"
32 # Load "xtrap"
33 Load "glx"
34 # Load "extmod"
35 Load "freetype"
36 # Load "type1"
37 EndSection
38
39 Section "InputDevice"
40 Identifier "Keyboard0"
41 Driver "kbd"
42 Option "XkbRules" "xorg"
43 Option "XkbModel" "pc105"
44 Option "XkbLayout" "us,ru(winkeys)"
45 Option "XkbOptions" "grp:caps_toggle,grp_led:scroll"
46 EndSection
47
48 Section "InputDevice"
49 Identifier "Mouse0"
50 Driver "mouse"
51 Option "Protocol" "auto"
52 Option "Device" "/dev/input/mice"
53 Option "ZAxisMapping" "4 5 6 7"
54 EndSection
55
56 Section "Monitor"
57 Identifier "Monitor0"
58 VendorName "Samsung"
59 ModelName "SyncMaster 971P"
60 EndSection
61
62 Section "Monitor"
63 Identifier "Monitor1"
64 VendorName "Samsung"
65 ModelName "SyncMaster 971P"
66 EndSection
67
68
69 Section "Device"
70 Identifier "Card1"
71 Driver "nvidia"
72 VendorName "nVidia Corporation"
73 BoardName "ASUS EN7950GT"
74 Option "RenderAccel" "true"
75 BusID "PCI:1:0:0"
76 Screen 0
77 EndSection
78
79 Section "Device"
80 Identifier "Card0"
81 Driver "nvidia"
82 VendorName "nVidia Corporation"
83 BoardName "ASUS EN7950GT"
84 Option "RenderAccel" "true"
85 BusID "PCI:1:0:0"
86 Screen 1
87 EndSection
88
89
90 Section "Screen"
91 Identifier "Screen0"
92 Device "Card0"
93 Monitor "Monitor0"
94 DefaultDepth 24
95 SubSection "Display"
96 Modes "1280x1024"
97 Depth 24
98 EndSubSection
99 EndSection
100
101 Section "Screen"
102 Identifier "Screen1"
103 Device "Card1"
104 Monitor "Monitor1"
105 DefaultDepth 24
106 SubSection "Display"
107 Modes "1280x1024"
108 Depth 24
109 EndSubSection
110 EndSection
111
112 Section "ServerLayout"
113 Identifier "Layout 1"
114 Screen 0 "Screen0" 0 0
115 Screen 1 "Screen1" LeftOf "Screen0"
116 InputDevice "Keyboard0" "CoreKeyboard"
117 InputDevice "Mouse0" "CorePointer"
118 EndSection
119 /*******************/
120
121 --
122 best regards,
123 Aleksey V. Kunitskiy
124 --
125 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Changing primary monitor on dual-monitor X.org setup Dan Farrell <dan@×××××××××.cx>