2008/11/23 Paul Fertser <[EMAIL PROTECTED]>: > > 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@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community