Lenovo/xorg.conf

De dieudo.fr
Sauter à la navigation Sauter à la recherche


  1. /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. This file was generated by dexconf, the Debian X Configuration tool, using
  3. values from the debconf database.
  4. Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  5. (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  6. This file is automatically updated on xserver-xorg package upgrades *only*
  7. if it has not been modified since the last upgrade of the xserver-xorg
  8. package.
  9. If you have edited this file but would like it to be automatically updated
  10. again, run the following command:
  11. 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" FontPath "/usr/share/fonts/X11/misc" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection

Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri"

  1. Disable "dri"

Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection

Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" Option "XkbOptions" "lv3:ralt_switch" EndSection

Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "HorizScrollDelta" "0" Option "Emulate3Buttons" "true" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" EndSection

Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/ttyS0" # Change to

  1. /dev/input/event
  2. for USB

Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "KeepShape" "on"

  1. Option "DebugLevel" "10"

Option "TPCButton" "off" EndSection

Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/ttyS0" # Change to

  1. /dev/input/event
  2. for USB

Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "KeepShape" "on"

  1. Option "DebugLevel" "10"

EndSection

Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/ttyS0" # Change to

  1. /dev/input/event
  2. for USB

Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "KeepShape" "on"

  1. Option "DebugLevel" "10"

EndSection


Section "Device" Identifier "Intel Controller 0"

  1. Driver "i810"

Driver "intel" BusID "PCI:0:2:0" Screen 0 Option "MonitorLayout" "CRT,LFP" EndSection

  1. External VGA device
  2. Section "Device"
  3. Identifier "Intel Controller 1"
  4. Driver "intel"
  5. BusID "PCI:0:2:0"
  6. Screen 1
  7. EndSection


Section "Monitor" Identifier "LCD Monitor" Option "DPMS" DisplaySize 245 184 HorizSync 30-67 VertRefresh 50-75 EndSection

  1. Section "Monitor"
  2. Identifier "External Monitor"
  3. Option "DPMS"
  4. HorizSync 28-75
  5. VertRefresh 43-100
  6. EndSection


  1. Section "Screen"
  2. Identifier "External Screen"
  3. Device "Intel Controller 1"
  4. Monitor "External Monitor"
  5. DefaultDepth 24
  6. SubSection "Display"
  7. Depth 24
  8. Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
  9. Virtual 2432 1824
  10. EndSubSection
  11. EndSection

Section "Screen" Identifier "LCD Screen" Device "Intel Controller 0" Monitor "LCD Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"

  1. Virtual 2432 1824
  2. This size would be nice, but it degrades performance :(
  3. Virtual 2688 2080

EndSubSection EndSection


Section "ServerLayout" Identifier "Default Layout" Screen 0 "LCD Screen" 0 0

InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection


Section "DRI" Mode 0666 EndSection