since the old, unsolved, thread i found initially is closed, i'm openning this one to post the solution. I had to find this because asus decided that it's ok to sell a notebook with only two mouse buttons in 2008. lame.
before, some more keywords:
xmodmap. Keysym to mouse button.
Required packages:
xautomation will provide xte. which simulates buttons and keypresses.Code:apt-get install xbindkeys xautomation
xbindkeys maps a key/mouse combination to commands.
now, tie everything together:
this will make pressing the Menu key, simulate a middle mouse click.Code:echo (xbindkey '(Menu) "xte 'mouseclick 2'") > ~/.xbindkeysrc.scm
*edit* forgot to mention, you must now have xbindkeys running
for now i'm simply opening a terminal and typing xbindkeys & and closing it... will add to xsession later. but i doubt i came back here to document. you're on your own
original idea from: http://www.gentoo-wiki.info/Saitek_S....22_to_keysyms



Adv Reply

Bookmarks