# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom # md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum # dpkg-reconfigure xserver-xfree86 Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "mouse" InputDevice "keyboard" InputDevice "pen" "AlwaysCore" InputDevice "cursor"# "AlwaysCore" InputDevice "eraser"# "AlwaysCore" EndSection Section "ServerFlags" Option "AllowDeactivateGrabs" "on" Option "AllowClosedownGrabs" "on" EndSection Section "Files" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" # FontPath "/usr/lib/X11/fonts/TrueType" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/lib/X11/fonts/75dpi:unscaled" EndSection Section "Module" Load "freetype" # Load "bitmap" Load "dbe" Load "ddc" Load "record" Load "glx" Load "extmod" # Load "int10" # Load "vbe" EndSection Section "InputDevice" Identifier "keyboard" Driver "keyboard" Option "CoreKeyboard" # Option "XkbRules" "xfree86" # Option "XkbModel" "pc104" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "mouse" Driver "mouse" Option "CorePointer" Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" # Option "Emulate3Buttons" "false" EndSection Section "Device" Identifier "NVIDIA Corporation NV28 [GeForce4 Ti 4200 AGP 8x]" Driver "nvidia" # Option "RenderAccel" "true" Option "NoLogo" "true" # Option "CursorShadow" "true" Option "XaaNoOffscreenPixmaps" "true" EndSection Section "Monitor" Identifier "Generic Monitor" # HorizSync 31-96 # VertRefresh 55-160 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV28 [GeForce4 Ti 4200 AGP 8x]" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "InputDevice" Identifier "pen" Driver "aiptek" Option "device" "/dev/input/aiptek" Option "type" "stylus" Option "mode" "absolute" Option "cursor" "stylus" Option "usb" "on" option "keepshape" "on" option "debuglevel" "20" EndSection Section "InputDevice" Identifier "cursor" Driver "aiptek" Option "Device" "/dev/input/aiptek" Option "Type" "cursor" Option "Mode" "absolute" Option "Cursor" "puck" Option "USB" "on" Option "KeepShape" "on" Option "debuglevel" "20" EndSection Section "InputDevice" Identifier "eraser" Driver "aiptek" Option "Device" "/dev/input/aiptek" Option "Type" "eraser" Option "Mode" "absolute" Option "Cursor" "stylus" Option "USB" "on" Option "KeepShape" "on" Option "debuglevel" "20" EndSection