[Debian][OM2008][FSO] Found an easy solution for universal right- and middle-click
Neil Jerram
neiljerram at googlemail.com
Sun Nov 23 22:14:59 CET 2008
2008/11/23 Paul Fertser <fercerpav at gmail.com>:
>
> Here's an ugly hack to do what you suggest:
> bash -c 'xmodmap -e "pointer = 2 3 1"; /root/bin/waitclick.sh; xmodmap
> -e "pointer = 1 2 3"'
>
> where /root/bin/waitclick.sh:
> #!/bin/sh
> input-events 1 2>&1 | ( grep -q -m 1 released && kill $$ )
>
> I couldn't find a more elegant way but this one works for me.
Thank you! I'll try this out.
Neil
More information about the community
mailing list