parox
(usa Debian)
Enviado em 24/08/2010 - 12:26h
Pois entao. achei estranho isso e olhei la mas nao notei nada de estranho. veja:
# Xorg.conf universal
Section "ServerFlags"
# Essa opção deixa o xorg abrir mesmo que se tenha um erro no
# mouse.
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "bitmap"
Load "type1"
Load "speedo"
Load "freetype"
Load "record"
EndSection
#
# Nessa parte temos dois tipos de teclado, o ABNT2 e o Americano
# Internacional, deixamos o ABNT2 por padrão, caso você use o
# Americano Internacional descomente as linhas dele
# (é só remover o # no início de cada linha)
# e remover as linhas do ABNT2.
#
###### Teclado ABNT2 ######
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
EndSection
###### Fim do Teclado ABNT2 ######
###### Teclado americano internacional ######
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us_intl"
#EndSection
####### Fim do americano internacional ######
#
# Aqui estão os mouses, você não precisa remover nenhum deles
# pois o Xorg irá aceitar qualquer um já que temos a diretiva
# "AllowMouseOpenFail" setada como "true" acima.
#
# Mouse PS/2
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "Auto"
Option "Emulate3Buttons" "true"
EndSection
# Mouse USB
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Resolution" "650"
EndSection
# Mouse Serial em ttys0
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttys0"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Resolution" "650"
EndSection
# Mouse Serial em ttys1
Section "InputDevice"
Identifier "Mouse3"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttys1"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Resolution" "650"
EndSection
# Section "Device"
# Identifier "Placa de Vídeo Genérica"
# Em raros caso, comente o vesa e descomente o fbdev
# Driver "vesa"
# Driver "fbdev"
# EndSection
Section "Device"
Identifier "SIS 671"
Driver "sis671"
EndSection
Section "Monitor"
Identifier "Monitor Genérico"
Option "DPMS"
HorizSync 28-57
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
#Device "Placa de Vídeo Genérica"
Device "sis671"
#InputDevice "Generic Keyboard"
Monitor "Monitor Genérico"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1280x800" "1280x720" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Mouse0"
InputDevice "Mouse1"
InputDevice "Mouse2"
InputDevice "Mouse3"
EndSection
Section "DRI"
Mode 0666
EndSection