View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#2
mmm.

I have left + right + middle click on my stylus using xbindkeys. Stick the following in ~/.xbindkeysrc and invoke with:

Code:
xbindkeys -f /home/user/.xbindkeysrc
.xbindkeysrc:

Code:
"wmctrl -r :ACTIVE: -b toggle,fullscreen"                         
m:0x4 + c:65                                                    
Control + space

"xdotool click 2"
m:0x80 + b:1 + release

"xdotool click 3"
m:0x01 + b:1 + release

This puts middle click on blue+stylus down and right on shift+stylus down.

You can have it auto-start it by your favorite method of auto-starting. The above allows me to copy/paste in lxterm (under maemo) with just the mouse and keyboard, i.e. no stupid menu which is great if you like to run fullscreen.

This is simple, robust and not at all hacky.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 4 Users Say Thank You to vi_ For This Useful Post: