I have a new thinkpad x220t running Arch Linux.
There seems to be a problem in the products hardware architecture as the TrackPoint is moving when you convert the thinkpad into tablet mode and put pressure on the screen.
Therefore I'd like to toggle the TrackPoint using a little bash script called by ACPId.
I so far wrote this code snippet which disables the TouchPad, but not the TrackPoint (aka. Clit Mouse).
#!/bin/sh
status=
synclient|awk '/TouchpadOff/{printf$3}'
status=expr \( $status + 1 \) \% 2
synclient TouchpadOff=$status
Is there any possibility to toggle the TrackPoint Status using a bash script?
Asked by Momo
(755 rep)
Feb 28, 2012, 09:20 PM
Last activity: Apr 3, 2017, 11:16 PM
Last activity: Apr 3, 2017, 11:16 PM