Différences entre les versions de « Lenovo/xorg.conf »
(http://ubuntuforums.org/showpost.php?p=5309411&postcount=2) |
(http://luke.no-ip.org/x60tablet/examples/xorg.conf) |
||
Ligne 1 : | Ligne 1 : | ||
# /etc/X11/xorg.conf (xorg X Window System server configuration file) | # /etc/X11/xorg.conf (xorg X Window System server configuration file) | ||
# | # | ||
Ligne 4 : | Ligne 6 : | ||
# values from the debconf database. | # values from the debconf database. | ||
# | # | ||
# Edit this file with caution, and see the xorg.conf | # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. | ||
# (Type "man xorg.conf" at the shell prompt.) | # (Type "man /etc/X11/xorg.conf" at the shell prompt.) | ||
# | # | ||
# This file is automatically updated on xserver-xorg package upgrades *only* | # This file is automatically updated on xserver-xorg package upgrades *only* | ||
Ligne 13 : | Ligne 15 : | ||
# If you have edited this file but would like it to be automatically updated | # If you have edited this file but would like it to be automatically updated | ||
# again, run the following command: | # again, run the following command: | ||
# sudo dpkg-reconfigure -phigh xserver-xorg | # sudo dpkg-reconfigure -phigh xserver-xorg | ||
Section "Files" | Section "Files" | ||
FontPath "/usr/share/fonts | FontPath "/usr/share/X11/fonts/misc" | ||
FontPath "/usr/share/fonts | FontPath "/usr/share/X11/fonts/cyrillic" | ||
FontPath "/usr/share/fonts | FontPath "/usr/share/X11/fonts/100dpi/:unscaled" | ||
FontPath "/usr/share/fonts | FontPath "/usr/share/X11/fonts/75dpi/:unscaled" | ||
FontPath "/usr/share/fonts | FontPath "/usr/share/X11/fonts/Type1" | ||
FontPath "/usr/share/fonts/X11/ | FontPath "/usr/share/X11/fonts/100dpi" | ||
FontPath "/usr/share/fonts/X11/ | FontPath "/usr/share/X11/fonts/75dpi" | ||
# path to defoma fonts | FontPath "/usr/share/fonts/X11/misc" | ||
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" | # path to defoma fonts | ||
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" | |||
EndSection | EndSection | ||
Section "Module" | Section "Module" | ||
Load "i2c" | Load "i2c" | ||
Load "bitmap" | Load "bitmap" | ||
Load "ddc" | Load "ddc" | ||
Load "dri" | Load "dri" | ||
Load "extmod" | # Disable "dri" | ||
Load "freetype" | Load "extmod" | ||
Load "glx" | Load "freetype" | ||
Load "int10" | Load "glx" | ||
Load " | Load "int10" | ||
Load "type1" | |||
Load " | Load "vbe" | ||
EndSection | EndSection | ||
Section "InputDevice" | Section "InputDevice" | ||
Identifier "Generic Keyboard" | Identifier "Generic Keyboard" | ||
Driver "kbd" | Driver "kbd" | ||
Option "CoreKeyboard" | Option "CoreKeyboard" | ||
Option "XkbRules" "xorg" | Option "XkbRules" "xorg" | ||
Option "XkbModel" " | Option "XkbModel" "pc104" | ||
Option "XkbLayout" "us" | Option "XkbLayout" "us" | ||
Option "XkbOptions" "lv3:ralt_switch" | |||
EndSection | EndSection | ||
Section "InputDevice" | Section "InputDevice" | ||
Identifier "Configured Mouse" | Identifier "Configured Mouse" | ||
Driver "mouse" | Driver "mouse" | ||
Option "CorePointer" | Option "CorePointer" | ||
Option "Device" "/dev/input/mice" | Option "Device" "/dev/input/mice" | ||
Option "Protocol" "ExplorerPS/2" | Option "Protocol" "ExplorerPS/2" | ||
Option "ZAxisMapping" "4 5" | |||
Option " | Option "HorizScrollDelta" "0" | ||
Option "Emulate3Buttons" "true" | Option "Emulate3Buttons" "true" | ||
Option "EmulateWheel" "true" | |||
Option "EmulateWheelButton" "2" | |||
EndSection | EndSection | ||
Section "InputDevice" | Section "InputDevice" | ||
Driver "wacom" | |||
Identifier "stylus" | |||
Option "Device" "/dev/ttyS0" # Change to | |||
# /dev/input/event | |||
# for USB | |||
Option "Type" "stylus" | |||
Option "ForceDevice" "ISDV4" # Tablet PC ONLY | |||
Option "KeepShape" "on" | |||
# Option "DebugLevel" "10" | |||
Driver "wacom" | |||
Identifier "stylus" | |||
Option "Device" "/dev/ttyS0" | |||
# | |||
Option "Type" "stylus" | |||
Option " | |||
Option "KeepShape" "on" | |||
# Option " | |||
Option "TPCButton" "off" | Option "TPCButton" "off" | ||
EndSection | EndSection | ||
Section "InputDevice" | Section "InputDevice" | ||
Driver "wacom" | Driver "wacom" | ||
Identifier "eraser" | Identifier "eraser" | ||
Option "Device" "/dev/ttyS0" | Option "Device" "/dev/ttyS0" # Change to | ||
# | # /dev/input/event | ||
Option "Type" "eraser" | # for USB | ||
Option | Option "Type" "eraser" | ||
Option "ForceDevice" "ISDV4" # Tablet PC ONLY | |||
Option "KeepShape" "on" | |||
# Option "DebugLevel" "10" | |||
Option "KeepShape" "on" | |||
Option " | |||
EndSection | EndSection | ||
Section "InputDevice" | Section "InputDevice" | ||
Driver "wacom" | Driver "wacom" | ||
Identifier " | Identifier "cursor" | ||
Option "Device" "/dev/ttyS0" # | Option "Device" "/dev/ttyS0" # Change to | ||
# | # /dev/input/event | ||
Option "Type" " | # for USB | ||
Option "Type" "cursor" | |||
Option "ForceDevice" "ISDV4" # Tablet PC ONLY | Option "ForceDevice" "ISDV4" # Tablet PC ONLY | ||
Option "KeepShape" "on" | |||
# Option "DebugLevel" "10" | |||
EndSection | EndSection | ||
Section "Device" | Section "Device" | ||
Identifier "Intel | Identifier "Intel Controller 0" | ||
Driver " | # Driver "i810" | ||
Driver "intel" | |||
BusID "PCI:0:2:0" | |||
Screen 0 | |||
Option "MonitorLayout" "CRT,LFP" | |||
EndSection | EndSection | ||
# External VGA device | |||
#Section "Device" | |||
# Identifier "Intel Controller 1" | |||
# Driver "intel" | |||
# BusID "PCI:0:2:0" | |||
# Screen 1 | |||
#EndSection | |||
Section "Monitor" | Section "Monitor" | ||
Identifier " | Identifier "LCD Monitor" | ||
Option "DPMS" | Option "DPMS" | ||
HorizSync | DisplaySize 245 184 | ||
VertRefresh | HorizSync 30-67 | ||
VertRefresh 50-75 | |||
EndSection | EndSection | ||
#Section "Monitor" | |||
# Identifier "External Monitor" | |||
# Option "DPMS" | |||
# HorizSync 28-75 | |||
# VertRefresh 43-100 | |||
#EndSection | |||
#Section "Screen" | |||
# Identifier "External Screen" | |||
# Device "Intel Controller 1" | |||
# Monitor "External Monitor" | |||
# DefaultDepth 24 | |||
# SubSection "Display" | |||
# Depth 24 | |||
# Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" | |||
# Virtual 2432 1824 | |||
# EndSubSection | |||
#EndSection | |||
Section "Screen" | Section "Screen" | ||
Identifier " | Identifier "LCD Screen" | ||
Device "Intel | Device "Intel Controller 0" | ||
Monitor " | Monitor "LCD Monitor" | ||
DefaultDepth 24 | DefaultDepth 24 | ||
SubSection "Display" | SubSection "Display" | ||
Depth | Depth 24 | ||
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" | |||
# Virtual 2432 1824 | |||
# This size would be nice, but it degrades performance :( | |||
# Virtual 2688 2080 | |||
Modes " | |||
EndSubSection | EndSubSection | ||
EndSection | EndSection | ||
Section "ServerLayout" | Section "ServerLayout" | ||
Identifier "Default Layout" | Identifier "Default Layout" | ||
Screen " | Screen 0 "LCD Screen" 0 0 | ||
InputDevice "Generic Keyboard" | |||
InputDevice "Generic Keyboard" | |||
InputDevice "Configured Mouse" | InputDevice "Configured Mouse" | ||
InputDevice "stylus" "SendCoreEvents" | InputDevice "stylus" "SendCoreEvents" | ||
InputDevice "cursor" "SendCoreEvents" | InputDevice "cursor" "SendCoreEvents" | ||
InputDevice "eraser" "SendCoreEvents | InputDevice "eraser" "SendCoreEvents" | ||
EndSection | EndSection | ||
Section "DRI" | Section "DRI" | ||
Mode 0666 | Mode 0666 | ||
EndSection | EndSection |
Version actuelle datée du 19 novembre 2008 à 13:16
- /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" 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"
- 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
- /dev/input/event
- for USB
Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "KeepShape" "on"
- Option "DebugLevel" "10"
Option "TPCButton" "off" EndSection
Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/ttyS0" # Change to
- /dev/input/event
- for USB
Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "KeepShape" "on"
- Option "DebugLevel" "10"
EndSection
Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/ttyS0" # Change to
- /dev/input/event
- for USB
Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY Option "KeepShape" "on"
- Option "DebugLevel" "10"
EndSection
Section "Device" Identifier "Intel Controller 0"
- Driver "i810"
Driver "intel" BusID "PCI:0:2:0" Screen 0 Option "MonitorLayout" "CRT,LFP" EndSection
- External VGA device
- Section "Device"
- Identifier "Intel Controller 1"
- Driver "intel"
- BusID "PCI:0:2:0"
- Screen 1
- EndSection
Section "Monitor" Identifier "LCD Monitor" Option "DPMS" DisplaySize 245 184 HorizSync 30-67 VertRefresh 50-75 EndSection
- Section "Monitor"
- Identifier "External Monitor"
- Option "DPMS"
- HorizSync 28-75
- VertRefresh 43-100
- EndSection
- Section "Screen"
- Identifier "External Screen"
- Device "Intel Controller 1"
- Monitor "External Monitor"
- DefaultDepth 24
- SubSection "Display"
- Depth 24
- Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
- Virtual 2432 1824
- EndSubSection
- 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"
- Virtual 2432 1824
- This size would be nice, but it degrades performance :(
- 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