November, 2010

8
Nov 10

Adding a third mouse button to an Acer Aspire One

To set my strange menu-looking key on my Acer Aspire One to be a middle mouse button, I use this:

xmodmap -e "keycode 135 = Pointer_Button2"

It is important to enable mouse keys for this to work (that’s the bit I always forget).