irokezer59

sivuch-2

Dec 18th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.43 KB | None | 0 0
  1. # *********************************************:v:*************************
  2. Section "Module"
  3. Load "dbe" # Double buffer extension
  4. SubSection "extmod"
  5. Option "omit xfree86-dga" # don't initialise the DGA extension
  6. EndSubSection
  7. Load "type1"
  8. Load "freetype"
  9. Load "glx"
  10. Load "dri"
  11.  
  12. EndSection
  13.  
  14. # **********************************************************************
  15. # Files section. This allows default font and rgb paths to be set
  16. # **********************************************************************
  17.  
  18. Section "Files"
  19. FontPath "/usr/share/fonts/X11/cyrillic/"
  20. FontPath "/usr/share/fonts/X11/misc/"
  21. FontPath "/usr/share/fonts/X11/TTF/"
  22. FontPath "/usr/share/fonts/X11/Type1/"
  23. FontPath "/usr/share/fonts/X11/75dpi/"
  24. FontPath "/usr/share/fonts/X11/100dpi/"
  25. EndSection
  26.  
  27. # **********************************************************************
  28. # Server flags section.
  29. # **********************************************************************
  30.  
  31. Section "ServerFlags"
  32.  
  33. # Uncomment this to cause a core dump at the spot where a signal is
  34. # received. This may leave the console in an unusable state, but may
  35. # provide a better stack trace in the core dump to aid in debugging
  36.  
  37. # Option "NoTrapSignals"
  38.  
  39. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  40. # (where n is 1 through 12). This allows clients to receive these key
  41. # events.
  42.  
  43. # Option "DontVTSwitch"
  44.  
  45. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  46. # This allows clients to receive this key event.
  47.  
  48. # Option "DontZap"
  49.  
  50. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  51. # sequences. This allows clients to receive these key events.
  52.  
  53. # Option "Dont Zoom"
  54.  
  55. # Uncomment this to disable tuning with the xvidtune client. With
  56. # it the client can still run and fetch card and monitor attributes,
  57. # but it will not be allowed to change them. If it tries it will
  58. # receive a protocol error.
  59.  
  60. # Option "DisableVidModeExtension"
  61.  
  62. # Uncomment this to enable the use of a non-local xvidtune client.
  63.  
  64. # Option "AllowNonLocalXvidtune"
  65.  
  66. # Uncomment this to disable dynamically modifying the input device
  67. # (mouse and keyboard) settings.
  68.  
  69. # Option "DisableModInDev"
  70.  
  71. # Uncomment this to enable the use of a non-local client to
  72. # change the keyboard or mouse settings (currently only xset).
  73.  
  74. # Option "AllowNonLocalModInDev"
  75.  
  76. EndSection
  77.  
  78. # **********************************************************************
  79. # Input devices
  80. # **********************************************************************
  81.  
  82. # **********************************************************************
  83. # Core keyboard's InputDevice section
  84. # **********************************************************************
  85.  
  86. Section "InputDevice"
  87.  
  88. Identifier "Keyboard1"
  89. Driver "kbd"
  90.  
  91. # For most OSs the protocol can be omitted (it defaults to "Standard").
  92. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  93. # uncomment the following line.
  94.  
  95. # Option "Protocol" "Xqueue"
  96.  
  97. Option "AutoRepeat" "500 30"
  98.  
  99. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  100. # Option "Xleds" "1 2 3"
  101.  
  102. # Option "LeftAlt" "Meta"
  103. # Option "RightAlt" "ModeShift"
  104.  
  105. # To customise the XKB settings to suit your keyboard, modify the
  106. # keyboard, you will probably want to use:
  107. # Option "XkbModel" "pc102"
  108. # If you have a US Microsoft Natural keyboard, you can use:
  109. # Option "XkbModel" "microsoft"
  110. #
  111. # Then to change the language, change the Layout setting.
  112. # For example, a german layout can be obtained with:
  113. # Option "XkbLayout" "de"
  114. # or:
  115. # Option "XkbLayout" "de"
  116. # Option "XkbVariant" "nodeadkeys"
  117. #
  118. # If you'd like to switch the positions of your capslock and
  119. # control keys, use:
  120. # Option "XkbOptions" "ctrl:swapcaps"
  121.  
  122. # These are the default XKB settings for Xorg
  123. # Option "XkbRules" "xorg"
  124. # Option "XkbModel" "pc101"
  125. # Option "XkbLayout" "us"
  126. # Option "XkbVariant" ""
  127. # Option "XkbOptions" ""
  128.  
  129. # Option "XkbDisable"
  130.  
  131. Option "XkbRules" "xorg"
  132. # Option "XkbModel" "pc105"
  133. # Option "XkbLayout" "us"
  134.  
  135. Option "XkbModel" "pc105"
  136. Option "XkbLayout" "us,ru"
  137. Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
  138. EndSection
  139.  
  140.  
  141. # **********************************************************************
  142. # Core Pointer's InputDevice section
  143. # **********************************************************************
  144.  
  145. Section "InputDevice"
  146.  
  147. # Identifier and driver
  148.  
  149. Identifier "Mouse1"
  150. Driver "mouse"
  151. Option "CorePointer"
  152. Option "Protocol" "ImPS/2"
  153. Option "Device" "/dev/psaux"
  154. Option "ZAxisMapping" "4 5"
  155.  
  156. # Mouse-speed setting for PS/2 mouse.
  157.  
  158. # Option "Resolution" "256"
  159.  
  160. # When using XQUEUE, comment out the above two lines, and uncomment
  161. # the following line.
  162.  
  163. # Option "Protocol" "Xqueue"
  164.  
  165. # Baudrate and SampleRate are only for some Logitech mice. In
  166. # almost every case these lines should be omitted.
  167.  
  168. # Option "BaudRate" "9600"
  169. # Option "SampleRate" "150"
  170.  
  171. # Emulate3Buttons is an option for 2-button Microsoft mice
  172. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  173.  
  174. # Option "Emulate3Buttons"
  175. # Option "Emulate3Timeout" "50"
  176.  
  177. # ChordMiddle is an option for some 3-button Logitech mice
  178.  
  179. # Option "ChordMiddle"
  180.  
  181. EndSection
  182.  
  183. # **********************************************************************
  184. # elo RS232 InputDevice sections
  185. #
  186. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  187. #
  188. # You need to setup multiple touchscreens by xrandr and
  189. # xinput tools.
  190. #
  191. # Example of the setting two touchscreens:
  192. #
  193. # 1. xrandr | grep " connected"
  194. # DVI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 509mm x 286mm
  195. # VGA-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
  196. #
  197. # 2. xinput --list
  198. # Virtual core pointer id=2 [master pointer (3)]
  199. # Virtual core XTEST pointer id=4 [slave pointer (2)]
  200. # Elo0 id=6 [slave pointer (2)]
  201. # Elo1 id=7 [slave pointer (2)]
  202. # Mouse1 id=8 [slave pointer (2)]
  203. # Virtual core keyboard id=3 [master keyboard (2)]
  204. # Virtual core XTEST keyboard id=5 [slave keyboard (3)]
  205. # Keyboard1 id=9 [slave keyboard (3)]
  206. #
  207. # 3. xinput map-to-output 6 DVI-0
  208. # xinput map-to-output 7 VGA-0
  209. #
  210. # See also:
  211. # man elo, man xinput, man xrandr
  212. #
  213. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  214. #
  215. # **********************************************************************
  216.  
  217. Section "InputDevice"
  218. Identifier "Elo0"
  219.  
  220. Driver "elo"
  221. Option "Device" "/dev/ttyS6"
  222.  
  223. Option "MinX" "280"
  224. Option "MaxX" "3819"
  225. Option "MinY" "280"
  226. Option "MaxY" "3794"
  227.  
  228. EndSection
  229.  
  230. Section "InputDevice"
  231. Identifier "Elo1"
  232.  
  233. Driver "elo"
  234. Option "Device" "/dev/ttyS7"
  235.  
  236. Option "MinX" "280"
  237. Option "MaxX" "3819"
  238. Option "MinY" "280"
  239. Option "MaxY" "3794"
  240.  
  241. EndSection
  242.  
  243. Section "InputDevice"
  244. Identifier "Elo2"
  245.  
  246. Driver "elo"
  247. Option "Device" "/dev/ttyS4"
  248.  
  249. Option "MinX" "280"
  250. Option "MaxX" "3819"
  251. Option "MinY" "280"
  252. Option "MaxY" "3794"
  253.  
  254. EndSection
  255.  
  256. Section "InputDevice"
  257. Identifier "Elo3"
  258.  
  259. Driver "elo"
  260. Option "Device" "/dev/ttyS5"
  261.  
  262. Option "MinX" "280"
  263. Option "MaxX" "3819"
  264. Option "MinY" "280"
  265. Option "MaxY" "3794"
  266.  
  267. EndSection
  268.  
  269. # **********************************************************************
  270. # Monitor section
  271. # **********************************************************************
  272. # Any number of monitor sections may be present
  273.  
  274. Section "Monitor"
  275. Identifier "Monitor 0"
  276. HorizSync 30 - 70
  277. VertRefresh 50-160
  278. Modeline "1024x768" 64.994 1024 1064 1200 1344 768 771 777 806 -HSync -VSync
  279. Modeline "1024x768@85" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync
  280. Modeline "1024x768@100" 115.5 1024 1056 1248 1440 768 771 781 802 -HSync -VSync
  281. Modeline "1920x1080" 148.550 1920 2048 2080 2200 1080 1096 1100 1125 +Hsync +Vsync
  282. EndSection
  283.  
  284. Section "Monitor"
  285. Identifier "Monitor 1"
  286. HorizSync 30 - 70
  287. VertRefresh 50-160
  288. Modeline "1024x768" 64.994 1024 1064 1200 1344 768 771 777 806 -HSync -VSync
  289. Modeline "1024x768@85" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync
  290. Modeline "1024x768@100" 115.5 1024 1056 1248 1440 768 771 781 802 -HSync -VSync
  291. Modeline "1920x1080" 148.550 1920 2048 2080 2200 1080 1096 1100 1125 +Hsync +Vsync
  292. EndSection
  293.  
  294.  
  295. # **********************************************************************
  296. # Graphics device section
  297. # **********************************************************************
  298.  
  299. # Device configured by xorgconfig:
  300.  
  301. Section "Device"
  302. Identifier "Device 0"
  303. Driver "radeon"
  304. BusID "PCI:195@0003:00:0"
  305.  
  306. EndSection
  307.  
  308. Section "Device"
  309. Identifier "Device 1"
  310. Driver "radeon"
  311. BusID "PCI:03@0000:00:0"
  312.  
  313. EndSection
  314.  
  315. # **********************************************************************
  316. # Screen sections
  317. # **********************************************************************
  318.  
  319. # Any number of screen sections may be present. Each describes
  320. # the configuration of a single screen. A single specific screen section
  321. # may be specified from the X server command line with the "-screen"
  322. # option.
  323. Section "Screen"
  324. Identifier "Screen 0"
  325. Device "Device 0"
  326. Monitor "Monitor 0"
  327. DefaultDepth 24
  328. Subsection "Display"
  329. Depth 8
  330. Modes "1024x768" "800x600" "640x480"
  331. ViewPort 0 0
  332. EndSubsection
  333. Subsection "Display"
  334. Depth 16
  335. # Modes "1024x768" "800x600"
  336. # Modes "800x600"
  337. Modes "1024x768"
  338. ViewPort 0 0
  339. EndSubsection
  340. Subsection "Display"
  341. Depth 24
  342. # Modes "1280x1024" "1024x768" "800x600" "640x480"
  343. ViewPort 0 0
  344. EndSubsection
  345. EndSection
  346.  
  347. Section "Screen"
  348. Identifier "Screen 1"
  349. Device "Device 1"
  350. Monitor "Monitor 1"
  351. DefaultDepth 24
  352. Subsection "Display"
  353. Depth 8
  354. Modes "1024x768" "800x600" "640x480"
  355. ViewPort 0 0
  356. EndSubsection
  357. Subsection "Display"
  358. Depth 16
  359. # Modes "1024x768" "800x600"
  360. # Modes "800x600"
  361. Modes "1024x768"
  362. ViewPort 0 0
  363. EndSubsection
  364. Subsection "Display"
  365. Depth 24
  366. # Modes "1280x1024" "1024x768" "800x600" "640x480"
  367. ViewPort 0 0
  368. EndSubsection
  369. EndSection
  370.  
  371. Section "Extensions"
  372. Option "Composite" "Enable"
  373. EndSection
  374.  
  375. Section "dri"
  376. Mode 0666
  377. EndSection
  378.  
  379. Section "ServerLayout"
  380. Identifier "Sivuch-2 Server Layout"
  381.  
  382. Screen "Screen 0"
  383. Screen "Screen 1" RightOf "Screen 0"
  384.  
  385. InputDevice "Mouse1" "CorePointer"
  386. InputDevice "Keyboard1" "CoreKeyboard"
  387.  
  388. InputDevice "Elo0" "SendCoreEvents"
  389. InputDevice "Elo1" "SendCoreEvents"
  390. InputDevice "Elo2" "SendCoreEvents"
  391. InputDevice "Elo3" "SendCoreEvents"
  392.  
  393. EndSection
Advertisement
Add Comment
Please, Sign In to add comment