You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, August 2nd 2006, 9:32pm

dual screen - 2nd screen size wrong - SOLVED

I have the following problem and I cannot figure out a way to fix it.

I succesfully set up my xorg.conf for dual monitor use.

I have a "Samsung X10plus" Laptop with a Nvidia 5200go and I am using the TFT of my Laptop as the primary Monitor and a LG 901B as the second Monitor (see line 154,123 of xorg.conf).

My Problem is !!!

The second screen is just too big.
My Desktop(KDE) does not fit in the monitor (LG 901B).

Isn't there any command that sets the width and higth of the monitor so the size of the desktop will fit in the window of the monitor?

I really hope somebody is able to help me very soon, otherwise I will go nuts...!

Thanks
Smooph

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
  FontPath "/usr/share/X11/fonts/misc"
  FontPath "/usr/share/X11/fonts/cyrillic"
  FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
  FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
  FontPath "/usr/share/X11/fonts/Type1"
  FontPath "/usr/share/X11/fonts/100dpi"
  FontPath "/usr/share/X11/fonts/75dpi"
  # path to defoma fonts
  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
  Load "i2c"
  Load "bitmap"
  Load "ddc"
  Load "extmod"
  Load "freetype"
  Load "int10"
  Load "type1"
  Load "vbe"
  load "glx"
  load "v4l"
EndSection

Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "kbd"
  option "CoreKeyboard"
  option "XkbRules" "xorg"
  option "XkbModel" "pc105"
  option "XkbLayout" "de"
  option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
  Identifier "Configured Mouse"
  Driver "mouse"
  option "CorePointer"
  option "Device" "/dev/input/mice"
  option "Protocol" "ExplorerPS/2"
  option "ZAxisMapping" "4 5"
  option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
  Identifier "Synaptics Touchpad"
  Driver "synaptics"
  option "SendCoreEvents" "true"
  option "Device" "/dev/psaux"
  option "Protocol" "auto-dev"
  option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "stylus"
  option "Device" "/dev/wacom"# Change to 
  option "Type" "stylus"
  option "ForceDevice" "ISDV4"# Tablet PC ONLY
  # /dev/input/event
  # for USB
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "eraser"
  option "Device" "/dev/wacom"# Change to 
  option "Type" "eraser"
  option "ForceDevice" "ISDV4"# Tablet PC ONLY
  # /dev/input/event
  # for USB
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "cursor"
  option "Device" "/dev/wacom"# Change to 
  option "Type" "cursor"
  option "ForceDevice" "ISDV4"# Tablet PC ONLY
  # /dev/input/event
  # for USB
EndSection

Section "ServerFlags"
  option "Xinerama" "true"
EndSection

Section "ServerLayout"
  Identifier "Dual Screen Home Layout"
  screen 0 "Samsung X10plus TFT Screen" 0 0
  screen 1 "LG 901B Screen" leftof "Samsung X10plus TFT Screen"
  InputDevice "Generic Keyboard"
  InputDevice "Configured Mouse"
  InputDevice "stylus" "SendCoreEvents"
  InputDevice "cursor" "SendCoreEvents"
  InputDevice "eraser" "SendCoreEvents"
  InputDevice "Synaptics Touchpad"
EndSection

Section "Device"
  identifier "NVIDIA Corporation NV34M [GeForce FX Go5200 32M/64M]"
  boardname "NVIDIA GeForce FX (generic)"
  busid "PCI:1:0:0"
  driver "nvidia"
  screen 0
  Option "UseDisplayDevice" "DFP"
  vendorname "NVIDIA"
EndSection

Section "Monitor"
  identifier "Samsung X10plus TFT"
  vendorname "Samsung"
  modelname "X10plus TFT"
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  gamma 1.0
EndSection

Section "Screen"
  Identifier "Samsung X10plus TFT Screen"
  Device "NVIDIA Corporation NV34M [GeForce FX Go5200 32M/64M]"
  Monitor "Samsung X10plus TFT"
  DefaultDepth 24
  SubSection "Display"
    depth 24
    modes "1024x768@60" "800x600@60" "640x480@60"
  EndSubSection
EndSection

Section "device" #                 
  identifier "CRT NVIDIA Corporation NV34M [GeForce FX Go5200 32M/64M]"
  boardname "NVIDIA GeForce FX (generic)"
  busid "PCI:1:0:0"
  driver "nvidia"
  screen 1
  Option "UseDisplayDevice" "CRT"
  vendorname "NVIDIA"
EndSection

Section "monitor" #                 
  identifier "LG 901B"
  vendorname "LG"
  modelname "901B"
  modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline  "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline  "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
  modeline  "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  gamma 1.0
EndSection

Section "screen" #                 
  identifier "LG 901B Screen"
  device "CRT NVIDIA Corporation NV34M [GeForce FX Go5200 32M/64M]"
  defaultdepth 24
  monitor "LG 901B"
  SubSection "Display"
    depth 24
    modes "1400x1050@75" "640x480@75" "800x600@75" "1152x864@75" "1024x768@75" "1280x960@75" "1280x1024@75" "1600x1200@75"
  EndSubSection
EndSection

Section "DRI"
  Mode 0666
EndSection

This post has been edited 2 times, last edit by "Smooph" (Aug 3rd 2006, 10:59pm)


2

Thursday, August 3rd 2006, 10:58pm

OK the answer is simply adding one line in the xorg.conf

Just add this line to the Section "Device" (the 1st one)

Source code

1
  Option "MetaModes" "1600x1200-1024x768"

and everything will run perfectly.

Of course this only works if your Display is able to run in 1600x1200 mode.