Configurando o touchpad - Gsynaptics no Debian Lenny
Dica publicada em Linux / Hardware
Configurando o touchpad - Gsynaptics no Debian Lenny
Ensinarei como instalar o gsynaptics e resolver o problema com o SHMConfig.
Distribuição: Debian Lenny (testing)
Hardware: Notebook HP DV6000
O gsynaptics é o configurador gráfico (para touchpad) mais conhecido no mundo Linux.
1) Instalando:
# apt-get install gsynaptics
2) Porém ao tentar iniciar o programa ocorre o seguinte erro:
GSynaptics couldn't initialize.
You have to set 'SHMConfig' 'true' in Xorg.conf or XFree86.conf to use GSynaptics
Para resolver o problema basta alterar o xorg.conf:
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.default1
# gedit /etc/X11/xorg.conf
Adicione as seguintes seções no arquivo:
Pronto, basta reiniciar o modo gráfico que o gsynaptics estará funcionando normalmente. No Gnome o programa fica em: "Sistemas -> Preferências -> Touchpad".
OBS: Caso ocorra algum erro no modo gráfico, execute o comando abaixo para voltar às configurações originais:
# cp /etc/X11/xorg.conf.default1 /etc/X11/xorg.conf
Distribuição: Debian Lenny (testing)
Hardware: Notebook HP DV6000
O gsynaptics é o configurador gráfico (para touchpad) mais conhecido no mundo Linux.
1) Instalando:
# apt-get install gsynaptics
2) Porém ao tentar iniciar o programa ocorre o seguinte erro:
GSynaptics couldn't initialize.
You have to set 'SHMConfig' 'true' in Xorg.conf or XFree86.conf to use GSynaptics
Para resolver o problema basta alterar o xorg.conf:
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.default1
# gedit /etc/X11/xorg.conf
Adicione as seguintes seções no arquivo:
Section "Module"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Pronto, basta reiniciar o modo gráfico que o gsynaptics estará funcionando normalmente. No Gnome o programa fica em: "Sistemas -> Preferências -> Touchpad".
OBS: Caso ocorra algum erro no modo gráfico, execute o comando abaixo para voltar às configurações originais:
# cp /etc/X11/xorg.conf.default1 /etc/X11/xorg.conf
Obrigado.
Mas como já havia uma seção chamada "ServerLayout" no meu xorg.cong eu apenas adicionei as linhas
que não tinham lá, ou seja:
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
além disso eu já tinha uma Section "modules" e nela eu adicionei
load "synaptics"
Agora está funcionando o modo de rolagem do touchpad, mas eu fiquei ainda com outra dúvida, há uma seção chamada:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Eu devo tirá-la pelo fato de ter inserido a sequência:
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
EndSection
ou devo manter as duas?
obrigado