Synaptics: Difference between revisions

From wikinotes
No edit summary
Line 29: Line 29:
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Notes -->
= Configuration =
<blockquote>
== Basics ==
<blockquote>
<syntaxhighlight lang="bash">
synclient  # list/try available options
</syntaxhighlight>
<syntaxhighlight lang="dosini">
# /etc/X11/xorg.conf.d/70-synaptics.conf
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
    # your synclient options here
Option "AccelFactor" "0.05"
EndSection
</syntaxhighlight>
</blockquote><!-- Basics -->
== Available Options ==
<blockquote>
Finding your touchpad's options:
<syntaxhighlight lang="bash">
xinput -list
xinput list-props "SynPS/2 Synaptics TouchPad" | grep Capabilities
</syntaxhighlight>
You will get a list of 1s and 0s which correspond to:
{| class="wikitable"
|-
| lmb || mmb || rmb || 2-finger || 3-finger || v res configurable || h-res configurable
|-
|}
</blockquote><!-- Options -->
</blockquote><!-- Configuration -->
</blockquote><!--synaptics driver -->
= Cookbook =
<blockquote>
== MMB on two-finger-click ==
<blockquote>
<syntaxhighlight lang="conf">
synclient TapButton2=2
</syntaxhighlight>
</blockquote><!-- MMB on two-finger-click -->
== Disable trackpad while typing ==
<blockquote>
<syntaxhighlight lang="bash">
# ~/.xinitrc
syndaemon -t -k -i 1 & # after keypress, disable scrolling/tapping for 2 seconds
</syntaxhighlight>
</blockquote><!-- Disable trackpad while typing -->
</blockquote><!-- Cookbook -->

Revision as of 18:17, 7 March 2022

Synaptics provides the linux touchpad driver.

Locations

/etc/X11/xorg.conf.d/*.conf configure touchpad

Usage

synclient               # show all options, and settings

synclient PalmDetect=1  # set an option

Notes

synaptics install
synaptics configuration