Xorg da instalaçao do ubuntu 8.04. Sempre é restaurado quando a tentativa de altera-lo dá errada.
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg "
Option "XkbModel" "abnt2"
Option "XkbLayout" "br "
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS1"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
Xorg OK do kurumin 7, de onde tirei os parametros para ir incluindo no xorg do ubuntu.
Section "ServerLayout"
Identifier "X.org do Kurumin"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# Configuraçao do Mouse:
# Nesta opção voce configura o tipo de mouse conectado no micro
# As opçoes disponiveis saoo: "PS/2 Mouse", "Serial Mouse" e "USB Mouse"
# Se o cursor do seu mouse estiver lento, errático ou impreciso,
# experimente usar a opçao "USB Mouse", que usa um driver mais preciso.
# Synaptics TouchPad not detected
# USB Mouse not detected
InputDevice "PS/2 Mouse" "CorePointer"
InputDevice "Serial Mouse" "CorePointer"
# ALPS TouchPad not detected
EndSection
#
# Esta opção permite que o X abra mesmo que o mouse esteja desconectado:
#
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
# Não altere as linhas abaixo a menos que saiba o que está fazendo!
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"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
Option "XkbOptions" "abnt2"
EndSection
## Esta opção configura um teclado us-internacional no iceWM e outros gerenciadores diferentes do KDE.
## Para usá-la, você deve descomentar todas as linhas e remover a seção acima.
#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "abnt2"
#EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS1"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
# Substitua a linha acima por esta se a rodinha do mouse não estiver funcionando:
# Option "Protocol "IMPS/2"
# Substitua a linha acima por esta se seu mouse não estiver funcionando:
# Option "Protocol "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
# Substitua a linha acima por esta se seu mouse não estiver funcionando
# Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
# Mouses especiais:
# Mouse com 5 botões (dois botoes laterais) e roda (se a função dos dois botões extra e da roda
# ficarem trocadas, substitua a linha "Option "ZAxisMapping" "4 5" por "Option "ZAxisMapping" "6 7"):
Section "InputDevice"
Identifier "Mouse7bt"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "7"
Option "Device" "/dev/input/mice"
EndSection
# Mouse com 5 botões (dois botoes laterais) e DUAS rodas de scrool:
Section "InputDevice"
Identifier "Mouse9bt"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7 8 9"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
EndSection
Section "InputDevice"
Identifier "ALPS TouchPad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "0"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.2"
Option "MaxSpeed" "0.5"
Option "AccelFactor" "0.01"
Option "EdgeMotionMinSpeed" "15"
Option "EdgeMotionMaxSpeed" "15"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
EndSection
Section "InputDevice"
Identifier "Synaptics TouchPad"
Driver "synaptics"
Option "Device" "/dev/input/mouse"
Option "Protocol" "auto-dev"
# Option "LeftEdge" "1700"
# Option "RightEdge" "5300"
# Option "TopEdge" "1700"
# Option "BottomEdge" "4200"
# Option "FingerLow" "25"
# Option "FingerHigh" "30"
# Option "MaxTapTime" "180"
# Option "MaxTapMove" "220"
# Option "VertScrollDelta" "100"
# Option "MinSpeed" "0.09"
# Option "MaxSpeed" "0.18"
# Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
Option "Emulate3Buttons" "true"
# Option "Repeater" "/dev/ps2mouse"
EndSection
# Auto-generated by KNOPPIX mkxf86config
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
VendorName "PBR"
ModelName "PBR01c8"
# HorizSync 30 - 83
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 49.0 - 85
# VertRefresh 49.0 - 85
EndSection
Section "Device" # (sw_cursor is needed for some ati and radeon cards)
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
#Option "NvAGP" "0"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
# Aqui vai o driver usado pela placa de vÃdeo. Os drivers disponÃveis não:
# chips, cirrus, cyrix, fbdev, glint, i740, i810, mga, neomagic, nv
# r128, radeon, rendition, s3virge, sis, tdfx, tga, trident, tseng, vesa, vga
#
# O vesa é um driver genérico que funciona na maioria das placas de vÃdeo
# O fbdev é outro drivers genérico que aproveita o recurso de acesso direto à memória
# de vÃdeo suportado pelo Kernel. Se você vê o pinguin durante o boot em texto do sistema,
# significa que a sua placa suporta o fbdev.
Driver "s3virge"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection
#
# Aqui vai a configuração da resolução e taxa de atualização usada pelo monitor.
# As várias seções determinam as resoluções disponÃveis para cada configuração de profundidade
# de cor, enquanto a opção "DefaultColorDepth" determina qual será usada.
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
[/tt]
Abaixo o atual xorg que eu editei.
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Module"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
Option "XkbOptions" "abnt2"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS1"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "vesa"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Option "DPMS" "true"
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 49.0 - 85
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
[/tt]
Uso 16 cores 800x600 85hz porque meu monitor é 14".