Invertendo os botões do touchpad no Slackware 14

Publicado por Xerxes em 23/01/2013

[ Hits: 4.664 ]

 


Invertendo os botões do touchpad no Slackware 14



Não gosto da configuração padrão do touchpad, onde o botão direito do mouse é emulado com o toque de três dedos.

Prefiro deixar o toque de três dedos para o botão do meio do mouse e usar o toque de dois dedos para o botão direito do mouse.

Para fazer isso no Slackware, copie o arquivo de configuração do touchpad para o local correto e depois edite-o:

su -
# cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/
# nano /etc/X11/xorg.conf.d/50-synaptics.conf


O padrão será assim:
# DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN ON UPGRADES
# Copy this file to /etc/X11/xorg.conf.d/ and edit the copy
#
# Use "synclient -l" to see all available options
# Use "man synaptics" for details about what the options do
#
Section "InputClass"
      Identifier "touchpad"
      Driver "synaptics"
      MatchDevicePath "/dev/input/event*"
      MatchIsTouchpad "on"
      Option "TapButton1" "1"
      Option "TapButton2" "2"
      Option "TapButton3" "3"
EndSection


Basta trocar o valor do "TabButton2" pelo "TabButton3", deixando assim:

# DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN ON UPGRADES
# Copy this file to /etc/X11/xorg.conf.d/ and edit the copy
#
# Use "synclient -l" to see all available options
# Use "man synaptics" for details about what the options do
#

Section "InputClass"
      Identifier "touchpad"
      Driver "synaptics"
      MatchDevicePath "/dev/input/event*"
      MatchIsTouchpad "on"
      Option "TapButton1" "1"
      Option "TapButton2" "3"
      Option "TapButton3" "2"
EndSection

Salve e feche!

Pronto. Reinicie o ambiente gráfico para testar.

Abraço.

Outras dicas deste autor

Atualizar openSUSE Leap para Tumbleweed

Corretor gramatical e ortográfico no Linux (vídeo)

Servidor VNC no Funtoo

Instalação de impressora de rede Samsung ML-331x Series

Como baixar e instalar o Yakuake

Leitura recomendada

Ajustar o relógio no Debian Etch

Remover sombras das docas no Xfce

Som Baixo no Ubuntu 7.10 - Toshiba Satellite a105-s4384

Fontes Windows no Ubuntu Linux

Habilitando SSLv3 em servidores Linux (Red Hat)

  

Comentários

Nenhum comentário foi encontrado.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts