X (xorg.conf)
X com dois moues simultaneos
Categoria: X11
Software: X
[ Hits: 7.636 ]
Por: Volney Godinho Valentim
Configuração para dois mouses simultâneos. Boa para pessoas que utilizam notebooks, ou que querem ter possibilidade de colocar um mouse USB sem ter que reconfigurar todo o xorg.
OBS: Não esqueçam de ajustar os parâmetros para seu hardware, especialmente na seção "Monitor". Valores incorretos de HorizSync e VertRefresh podem causar problemas no seu monitor.
# Arquivo /etc/X11/xorg.conf Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Dr. Hank" "CorePointer" InputDevice "Bright" "AwaysCore" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "Module" #Placas NVIDIA Load "glx" Load "extmod" Load "xtrap" Load "record" Load "dbe" Load "dri" Load "freetype" Load "type1" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/TTF" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/local/share/fonts" EndSection # Configuração do teclado Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "abnt2" Option "XkbLayout" "br" EndSection # Configuração dos moues Section "InputDevice" Identifier "Dr. Hank" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/psaux" Option "Emulate3Buttons" Option "Emulate3Timeout" "50" Option "Butons" "7" Option "ZAxisMapping" "6 7" EndSection Section "InputDevice" Identifier "Bright" Driver "mouse" Option "Device" "/dev/input/mice" Option "Protocol" "IMPS/2" Option "Emulate3Buttons" Option "Emulate3Timeout" "50" EndSection # Configuração dos monitores Section "Monitor" Identifier "700p" VendorName "Samsung" ModelName "SyncMaster 700p" HorizSync 30.0 - 85.0 VertRefresh 50.0 - 160.0 Option "DPMS" EndSection Section "Monitor" Identifier "My Monitor" HorizSync 31.5 - 50.0 VertRefresh 40-90 EndSection # Configuração das placas de video Section "Device" Identifier "nvidia" VendorName "NVIDIA Corporation" Driver "nvidia" Option "glx" EndSection Section "Device" Identifier "VF" Driver "vesa" EndSection # Configuração grafica Section "Screen" Identifier "Screen 1" Device "nvidia" Monitor "700p" # DefaultDepth 8 # DefaultDepth 16 DefaultDepth 24 # DefaultDepth 32 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection # Parametros extas Section "DRI" # Group 0 Mode 0666 EndSection Section "Extensions" Option "Composite" "Enable" EndSection
Nenhum comentário foi encontrado.
Bloqueio de Países com IPTables
Fail2ban no Debian - Instalação e Configuração
Instalando K3s no Fedora CoreOS
Configuração de Video no Terminal com Sintaxe GRUB_GFXMODE e GRUB_GFXPAYLOAD_LINUX
Não foi possível obter trava /var/lib/dpkg... - open (11: Recurso temp... (0)
UBUNTU 20.04 - Controle de volume desapareceu (11)
Cartão de memória é reconhecido no Windows, mas não no Ubuntu 20.04 (23)