[ltp] Synaptics touchpad: disable hardware buttons
Marius Gedminas
linux-thinkpad@linux-thinkpad.org
Mon, 5 Nov 2012 16:43:44 +0200
--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Nov 01, 2012 at 09:01:25AM +0600, Dmitry E. Mikhailov wrote:
> I've recently 'upgraded' myself from an X60 to the mighty T61p with
> WUXGA screen (too pity it's not FlexView, but good enough).
>=20
> As I'm a heavy trackpoint user, I found it useful to configure the
> whole touchpad area for vertical scrolling. Good. But I keep
> accidentally pressing touchpad's hardware left or right buttons -
> they're too close to the laptop's edge.
>=20
> Is there any way to disable the hardware buttons on a Synaptics
> touchpad?
$ cat ~/bin/disable-touchpad-buttons
#!/bin/sh
# disables touchpad buttons on my thinkpad, leaving trackpoint buttons =
functional
# sadly(?) it also disables tap-to-click
xinput set-button-map "SynPS/2 Synaptics TouchPad" 0 0 0
Adding this to your session (or converting it to an xorg.conf.d file) so
it runs automatically is left as an exercise for the reader
HTH,
Marius Gedminas
--=20
What can I do with Python that I can't do with C#? You can go home on time=
at
the end of the day.
-- Daniel Klein
--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFQl9CgkVdEXeem148RAimgAJ9Jv1nlnc1x58X60hVm937lzuy74wCgga1j
Cd6i99MqEbTGmjtfwnygfvo=
=TqfT
-----END PGP SIGNATURE-----
--d6Gm4EdcadzBjdND--