Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # *********************************************:v:*************************
- Section "Module"
- Load "dbe" # Double buffer extension
- SubSection "extmod"
- Option "omit xfree86-dga" # don't initialise the DGA extension
- EndSubSection
- Load "type1"
- Load "freetype"
- Load "glx"
- Load "dri"
- EndSection
- # **********************************************************************
- # Files section. This allows default font and rgb paths to be set
- # **********************************************************************
- Section "Files"
- FontPath "/usr/share/fonts/X11/cyrillic/"
- FontPath "/usr/share/fonts/X11/misc/"
- FontPath "/usr/share/fonts/X11/TTF/"
- FontPath "/usr/share/fonts/X11/Type1/"
- FontPath "/usr/share/fonts/X11/75dpi/"
- FontPath "/usr/share/fonts/X11/100dpi/"
- EndSection
- # **********************************************************************
- # Server flags section.
- # **********************************************************************
- Section "ServerFlags"
- Option "AutoAddDevices" "False"
- # Uncomment this to cause a core dump at the spot where a signal is
- # received. This may leave the console in an unusable state, but may
- # provide a better stack trace in the core dump to aid in debugging
- # Option "NoTrapSignals"
- # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
- # (where n is 1 through 12). This allows clients to receive these key
- # events.
- # Option "DontVTSwitch"
- # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
- # This allows clients to receive this key event.
- # Option "DontZap"
- # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
- # sequences. This allows clients to receive these key events.
- # Option "Dont Zoom"
- # Uncomment this to disable tuning with the xvidtune client. With
- # it the client can still run and fetch card and monitor attributes,
- # but it will not be allowed to change them. If it tries it will
- # receive a protocol error.
- # Option "DisableVidModeExtension"
- # Uncomment this to enable the use of a non-local xvidtune client.
- # Option "AllowNonLocalXvidtune"
- # Uncomment this to disable dynamically modifying the input device
- # (mouse and keyboard) settings.
- # Option "DisableModInDev"
- # Uncomment this to enable the use of a non-local client to
- # change the keyboard or mouse settings (currently only xset).
- # Option "AllowNonLocalModInDev"
- EndSection
- # **********************************************************************
- # Input devices
- # **********************************************************************
- # **********************************************************************
- # Core keyboard's InputDevice section
- # **********************************************************************
- Section "InputDevice"
- Identifier "Keyboard1"
- Driver "kbd"
- # For most OSs the protocol can be omitted (it defaults to "Standard").
- # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
- # uncomment the following line.
- # Option "Protocol" "Xqueue"
- Option "AutoRepeat" "500 30"
- # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
- # Option "Xleds" "1 2 3"
- # Option "LeftAlt" "Meta"
- # Option "RightAlt" "ModeShift"
- # To customise the XKB settings to suit your keyboard, modify the
- # keyboard, you will probably want to use:
- # Option "XkbModel" "pc102"
- # If you have a US Microsoft Natural keyboard, you can use:
- # Option "XkbModel" "microsoft"
- #
- # Then to change the language, change the Layout setting.
- # For example, a german layout can be obtained with:
- # Option "XkbLayout" "de"
- # or:
- # Option "XkbLayout" "de"
- # Option "XkbVariant" "nodeadkeys"
- #
- # If you'd like to switch the positions of your capslock and
- # control keys, use:
- # Option "XkbOptions" "ctrl:swapcaps"
- # These are the default XKB settings for Xorg
- # Option "XkbRules" "xorg"
- # Option "XkbModel" "pc101"
- # Option "XkbLayout" "us"
- # Option "XkbVariant" ""
- # Option "XkbOptions" ""
- # Option "XkbDisable"
- Option "XkbRules" "xorg"
- # Option "XkbModel" "pc105"
- # Option "XkbLayout" "us"
- Option "XkbModel" "pc105"
- Option "XkbLayout" "us,ru"
- Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
- EndSection
- # **********************************************************************
- # Core Pointer's InputDevice section
- # **********************************************************************
- Section "InputDevice"
- # Identifier and driver
- Identifier "Mouse1"
- Driver "mouse"
- Option "CorePointer"
- Option "Protocol" "ImPS/2"
- Option "Device" "/dev/psaux"
- Option "ZAxisMapping" "4 5"
- # Mouse-speed setting for PS/2 mouse.
- # Option "Resolution" "256"
- # When using XQUEUE, comment out the above two lines, and uncomment
- # the following line.
- # Option "Protocol" "Xqueue"
- # Baudrate and SampleRate are only for some Logitech mice. In
- # almost every case these lines should be omitted.
- # Option "BaudRate" "9600"
- # Option "SampleRate" "150"
- # Emulate3Buttons is an option for 2-button Microsoft mice
- # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
- # Option "Emulate3Buttons"
- # Option "Emulate3Timeout" "50"
- # ChordMiddle is an option for some 3-button Logitech mice
- # Option "ChordMiddle"
- EndSection
- # **********************************************************************
- # elo USB InputDevice sections
- #
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- #
- # You need to setup multiple touchscreens by xrandr and
- # xinput tools.
- #
- # Example of the setting two touchscreens:
- #
- # 1. xrandr | grep " connected"
- # DVI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 509mm x 286mm
- # VGA-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
- #
- # 2. xinput --list
- # Virtual core pointer id=2 [master pointer (3)]
- # Virtual core XTEST pointer id=4 [slave pointer (2)]
- # Elo0 id=6 [slave pointer (2)]
- # Elo1 id=7 [slave pointer (2)]
- # Mouse1 id=8 [slave pointer (2)]
- # Virtual core keyboard id=3 [master keyboard (2)]
- # Virtual core XTEST keyboard id=5 [slave keyboard (3)]
- # Keyboard1 id=9 [slave keyboard (3)]
- #
- # 3. xinput map-to-output 6 DVI-0
- # xinput map-to-output 7 VGA-0
- #
- # See also:
- # man elo, man xinput, man xrandr
- #
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- #
- # **********************************************************************
- Section "InputDevice"
- Identifier "Elo0"
- Driver "elo"
- EndSection
- Section "InputDevice"
- Identifier "Elo1"
- Driver "elo"
- EndSection
- # **********************************************************************
- # Monitor section
- # **********************************************************************
- # Any number of monitor sections may be present
- Section "Monitor"
- Identifier "Monitor 0"
- HorizSync 30 - 70
- VertRefresh 50-160
- Modeline "1024x768" 64.994 1024 1064 1200 1344 768 771 777 806 -HSync -VSync
- Modeline "1024x768@85" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync
- Modeline "1024x768@100" 115.5 1024 1056 1248 1440 768 771 781 802 -HSync -VSync
- Modeline "1920x1080" 148.550 1920 2048 2080 2200 1080 1096 1100 1125 +Hsync +Vsync
- EndSection
- Section "Monitor"
- Identifier "Monitor 1"
- HorizSync 30 - 70
- VertRefresh 50-160
- Modeline "1024x768" 64.994 1024 1064 1200 1344 768 771 777 806 -HSync -VSync
- Modeline "1024x768@85" 98.9 1024 1056 1216 1408 768 782 788 822 -HSync -VSync
- Modeline "1024x768@100" 115.5 1024 1056 1248 1440 768 771 781 802 -HSync -VSync
- Modeline "1920x1080" 148.550 1920 2048 2080 2200 1080 1096 1100 1125 +Hsync +Vsync
- EndSection
- # **********************************************************************
- # Graphics device section
- # **********************************************************************
- # Device configured by xorgconfig:
- Section "Device"
- Identifier "Device 0"
- Driver "radeon"
- BusID "PCI:195@0003:00:0"
- EndSection
- Section "Device"
- Identifier "Device 1"
- Driver "radeon"
- BusID "PCI:03@0000:00:0"
- EndSection
- # **********************************************************************
- # Screen sections
- # **********************************************************************
- # Any number of screen sections may be present. Each describes
- # the configuration of a single screen. A single specific screen section
- # may be specified from the X server command line with the "-screen"
- # option.
- Section "Screen"
- Identifier "Screen 0"
- Device "Device 0"
- Monitor "Monitor 0"
- DefaultDepth 24
- Subsection "Display"
- Depth 8
- Modes "1024x768" "800x600" "640x480"
- ViewPort 0 0
- EndSubsection
- Subsection "Display"
- Depth 16
- # Modes "1024x768" "800x600"
- # Modes "800x600"
- Modes "1024x768"
- ViewPort 0 0
- EndSubsection
- Subsection "Display"
- Depth 24
- # Modes "1280x1024" "1024x768" "800x600" "640x480"
- ViewPort 0 0
- EndSubsection
- EndSection
- Section "Screen"
- Identifier "Screen 1"
- Device "Device 1"
- Monitor "Monitor 1"
- DefaultDepth 24
- Subsection "Display"
- Depth 8
- Modes "1024x768" "800x600" "640x480"
- ViewPort 0 0
- EndSubsection
- Subsection "Display"
- Depth 16
- # Modes "1024x768" "800x600"
- # Modes "800x600"
- Modes "1024x768"
- ViewPort 0 0
- EndSubsection
- Subsection "Display"
- Depth 24
- # Modes "1280x1024" "1024x768" "800x600" "640x480"
- ViewPort 0 0
- EndSubsection
- EndSection
- Section "Extensions"
- Option "Composite" "Enable"
- EndSection
- Section "dri"
- Mode 0666
- EndSection
- Section "ServerLayout"
- Identifier "Sivuch-2 Server Layout (Elographics USB touchscreens x2)"
- Screen "Screen 0"
- Screen "Screen 1" RightOf "Screen 0"
- InputDevice "Mouse1" "CorePointer"
- InputDevice "Keyboard1" "CoreKeyboard"
- InputDevice "Elo0" "SendCoreEvents"
- InputDevice "Elo1" "SendCoreEvents"
- EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement