该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
再接再励,补完余下的.
_________________________________________________:
#以上代码配置鼠标和键盘
120 #Keyboard0和mouse0是一对配套使用的键盘和鼠标
121 #注意鼠标的driver有“mouse”和“evdev”两种,我的用“mouse”可以正常工作
122 #注意鼠标中Option “Protocol” “auto”
123 #的“auto”改为 “ExplorerPS/2″,鼠标滚轮才可正常工作
124 #可以用命令:ls /dev/input/mouse*列出所有鼠标
125 #命令:more /proc/bus/input/devices 列出所有键盘鼠标及 键盘的event 的ID 。
126
127 #****************************显示器*******************Section “Monitor”
128 # HorizSync source: xconfig, VertRefresh source: xconfig
129 Identifier “Monitor0”
130 VendorName “Unknown”
131 ModelName “CRT-0”
132 HorizSync 30.0 – 75.0
133 VertRefresh 45.0 – 100.0
134 Option “DPMS”
135 EndSection
136
137 Section “Monitor”
138 # HorizSync source: edid, VertRefresh source: edid
139 Identifier “Monitor1”
140 VendorName “Unknown”
141 ModelName “AOC 2217”
142 HorizSync 31.0 – 80.0
143 VertRefresh 56.0 – 75.0
144 Option “DPMS”
145 EndSection
146
147 #************
148 #上面是显示器的配置,对于crt显示器来说可以在上面的配置中更改刷新率。
149
150 #**下面是显卡的配置,默认即可
151
152 Section “Device”
153 Identifier “Device0”
154 Driver “nvidia”
155 VendorName “NVIDIA Corporation”
156 BoardName “GeForce 8200”
157 BusID “PCI:2:0:0”
158 EndSection
159
160 Section “Device”
161 Identifier “Device1”
162 Driver “nvidia”
163 VendorName “NVIDIA Corporation”
164 BoardName “GeForce 9500 GT”
165 BusID “PCI:3:0:0”
166 EndSection
167
168 #下面是屏幕的设置,有两个显示
169
170 Section “Screen”
171 Identifier “Screen0”
172 Device “Device0”
173 Monitor “Monitor0”
174 DefaultDepth 24
175 Option “TwinView” “0”
176 Option “metamodes” “CRT: 1024x768_85 +0+0; CRT: nvidia-auto-select +0+0”
177 SubSection “Display”
178 Depth 24
179 EndSubSection
180 EndSection
181
182 Section “Screen”
183 Identifier “Screen1”
184 Device “Device1”
185 Monitor “Monitor1”
186 DefaultDepth 24
187 Option “TwinView” “0”
188 Option “metamodes” “1680x1050_60 +0+0”
189 SubSection “Display”
190 Depth 24
191 EndSubSection
192 EndSection
193
194 #下面的配置是最终的终端与屏幕,键盘鼠标的搭配
195
196 Section “ServerLayout”
197 Identifier “Layout0”
198 Screen 0 “Screen0” 0 0
199 InputDevice “Keyboard0” “CoreKeyboard”
200 InputDevice “Mouse0” “CorePointer”
201 Option “Xinerama” “0”
202 Option “Clone” “off”
203 Option “AutoAddDevices” “off”
204 EndSection
205
206 Section “ServerLayout”
207 Identifier “Layout1”
208 Screen 1 “Screen1” 0 0
209 InputDevice “Keyboard1” “CoreKeyboard”
210 InputDevice “Mouse1” “CorePointer”
211 Option “Xinerama” “0”
212 Option “Clone” “off”
213 Option “AutoAddDevices” “off”
214 EndSection
其次是kdmrc文件,配置如下:
01 #/usr/share/kde4/config/kdm/kdmrc
02
03 [General]
04 ConfigVersion=2.4
05 SUSEConfigVersion=2
06 StaticServers=:0,:1
07 ReserveServers=:2,:3
08 ServerVTs=-7
09 ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
10
11 [Xdmcp]
12
13 [Shutdown]
14
15
16 [X-*-Core]
17 ClientLogFile=.xsession-errors-%d
18
19 [X-*-Greeter]
20 LogoPixmap=/usr/share/kde4/apps/kdm/pics/kdelogo.png
21 MinShowUID=500
22 MaxShowUID=65000
23 ForgingSeed=1268675635
24 UseTheme=true
25
26 [X-:*-Core]
27
28 [X-:*-Greeter]
29 PreselectUser=Previous
30 FocusPasswd=true
31 LoginMode=DefaultLocal
32 AllowClose=false
33
34 #主要是下面两个设置,有仔细解说了
35 [X-:0-Core]
36 TerminateServer=true
37 ClientLogFile=.xsession-errors
38 ServerArgsLocal=-nolisten tcp -layout Layout0 -sharevts -novtswitch
39
40 [X-:1-Core]
41 TerminateServer=true
42 ClientLogFile=.xsession-errors
43 ServerArgsLocal=-nolisten tcp -layout Layout1 -sharevts -novtswitch
44
45 [X-:93-Core]
46 TerminateServer=true
47
48 [X-:0-Greeter]
文章知识点与官方知识档案匹配,可进一步学习相关知识CS入门技能树Linux入门初识Linux24991 人正在系统学习中 相关资源:凯利公司 KDZ 系列有刷串励、永磁、他励电机控制器设置软件.rar
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!