X (xorg.conf)
X com dois moues simultaneos
Categoria: X11
Software: X
[ Hits: 7.988 ]
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.
Melhorando o tempo de boot do Fedora e outras distribuições
Como instalar as extensões Dash To Dock e Hide Top Bar no Gnome 45/46
E a guerra contra bots continua
Tradução do artigo do filósofo Gottfried Wilhelm Leibniz sobre o sistema binário
Conheça o firewall OpenGFW, uma implementação do (Great Firewall of China).
Instalando o FreeOffice no LMDE 6
Anki: Remover Tags de Estilo HTML de Todas as Cartas
Colocando uma opção de redimensionamento de imagem no menu de contexto do KDE
Gentoo bane contribuições de código feitas com IA (7)
Ubuntu — tentando iniciar o windows? (3)
Failed to start Zabbix Server (1)
[Shell Script] Script para desinstalar pacotes desnecessários no OpenSuse
[Shell Script] Script para criar certificados de forma automatizada no OpenVpn
[Shell Script] Conversor de vídeo com opção de legenda
[C/C++] BRT - Bulk Renaming Tool
[Shell Script] Criação de Usuarios , Grupo e instalação do servidor de arquivos samba