Hey guys, firstly thanks for the great guide. Secondly, here's my config for anyone wanting the same setup:
Code:
"/usr/bin/xvkbd -xsendevent -text "\[Control]\[Page_Down]""
m:0x0 + b:6
"/usr/bin/xvkbd -xsendevent -text "\[Control]\[Page_Up]""
m:0x0 + b:7
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:9
I'm using an
MX610 (righty) and I like to have the left and right tilt of the scroll wheel cycle left and right through my tabs in Fx.
Damn, what an arduous task. Setting up evdev and xbindkeys was fine, but trying to find the text codes for xvkvd was a pain in the ****. I couldn't find them listed anywhere...
In XP I bind the tilts to
Ctrl+Tab and
Ctrl+Shift+Tab as it has proven a little more reliable than
Ctrl+PgUp and
Ctrl+PgDn. So naturally, I tried to copy that. No dice. xvkbd doesn't seem to like
\[Control]\[Shift]\[Tab] or
\C\S\t (from man pages) or any combination of those I could think of.
I ended up running xvkbd (once I figured out it was just a virtual keyboard) then trying to simulate what I wanted. Turns out the
Ctrl+Shift+Tab doesn't actually work properly in xvkbd (for me at least). Firefox responds to the keypresses from my real keyboard fine; so I figure it must be a problem with xvkbd. Hence, just settled for Ctrl+PgUp.
Works fine mostly, sometimes it moves two tabs with only one tilt (same prob both ways) - about one in every ten tilts. Not sure if this is the mouse or evdev or xbindkeys or xvkbd or Firefox. Too many links and not enough experience with Linux to figure it out. Any help would be greatly appreciated.
Bookmarks