# xorg.conf (Xorg X Window System server configuration file) # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom # md5sum /etc/X11/xorg.conf.dpkg-new >/var/lib/xfree86/xorg.conf.dpkg-new.md5sum # dpkg-reconfigure xserver-xorg Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe" Load "synaptics" EndSection #------------------------------------------------------------------------------ # Keyboard #------------------------------------------------------------------------------ Section "InputDevice" Identifier "ADB keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection #------------------------------------------------------------------------------ # Mouse #------------------------------------------------------------------------------ Section "InputDevice" Identifier "ADB mouse synaptics" Driver "synaptics" Option "CorePointer" Option "Device" "/dev/input/event3" Option "Protocol" "event" Option "LeftEdge" "300" Option "RightEdge" "1700" Option "TopEdge" "250" Option "BottomEdge" "950" Option "FingerLow" "5" Option "FingerHigh" "12" Option "MaxTapTime" "180" Option "MaxTapMove" "100" Option "ClickTime" "60" Option "VertScrollDelta" "40" Option "HorizScrollDelta" "40" Option "MinSpeed" "0.09" Option "MaxSpeed" "0.5" Option "AccelFactor" "0.015" #Option "LockedDrags" "1" Option "SHMConfig" "on" EndSection Section "InputDevice" Identifier "Standard Mice" Driver "mouse" #change to second line if synaptics mouse is disabled Option "AlwaysCore" #Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection #------------------------------------------------------------------------------ # Video Card #------------------------------------------------------------------------------ Section "Device" Identifier "Radeon M7 Alone" Driver "ati" BusID "PCI:0:16:0" Option "UseFBDev" "true" Option "DynamicClocks" "true" EndSection Section "Device" Identifier "Radeon M7 Internal" Driver "ati" BusID "PCI:0:16:0" Option "UseFBDev" "true" Option "DynamicClocks" "true" Screen 0 Option "MonitorLayout" "LVDS,CRT" Option "PanelSize" "1024x768" EndSection Section "Device" Identifier "Radeon M7 External" Driver "ati" BusID "PCI:0:16:0" Option "UseFBDev" "false" Option "DynamicClocks" "true" Screen 1 #Use second one if external display is digital flat panel Option "MonitorLayout" "LVDS,CRT" #Option "MonitorLayout" "LVDS,TMDS" EndSection #------------------------------------------------------------------------------ # Monitor #------------------------------------------------------------------------------ Section "Monitor" Identifier "LCD Panel" Option "DPMS" HorizSync 28-49 VertRefresh 43-72 Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync EndSection Section "Monitor" Identifier "External Monitor" HorizSync 30-95 VertRefresh 50-150 EndSection #------------------------------------------------------------------------------ # Screen #------------------------------------------------------------------------------ Section "Screen" Identifier "LCD Alone" Device "Radeon M7 Alone" Monitor "LCD Panel" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "Screen" Identifier "LCD Screen" Device "Radeon M7 Internal" Monitor "LCD Panel" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "Screen" Identifier "External Screen" Device "Radeon M7 External" Monitor "External Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" #Modes "800x600" #Modes "640x480" EndSubSection EndSection #------------------------------------------------------------------------------ # Server Layout #------------------------------------------------------------------------------ Section "ServerLayout" Identifier "Alone" Screen "LCD Alone" InputDevice "ADB keyboard" InputDevice "ADB mouse synaptics" InputDevice "Standard Mice" EndSection Section "ServerLayout" Identifier "DualHead" Screen "LCD Screen" Screen "External Screen" #Screen "External Screen" LeftOf "LCD Screen" InputDevice "ADB keyboard" InputDevice "ADB mouse synaptics" InputDevice "Standard Mice" Option "Xinerama" "off" EndSection #------------------------------------------------------------------------------ # DRI Section #------------------------------------------------------------------------------ Section "DRI" Mode 0666 EndSection