[Debian][OM2008][FSO] Found an easy solution for universal right- and middle-click

Margo Koppelmann margo.koppelmann at gmail.com
Tue Nov 25 15:51:10 CET 2008


input-events was not installed in Debian, so I had to "apt-get install
input-utils". And then "chmod +r /dev/input/event1" (because I want to use
it as normal user). And it works now. Thanks.



On Sun, Nov 23, 2008 at 11:14 PM, Neil Jerram <neiljerram at googlemail.com>wrote:

> 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
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20081125/18e90214/attachment.htm 


More information about the community mailing list