Originally Posted by jhr79
Funny, because I have the media keys working, but can't get the horizontal scroll to work. Did you ever get the media keys working? If not, here's what I did:
1. Install xbindkeys and put this is in your .xbindkeysrc config:
2. I'm not sure that this is really needed, but you *might* need to add the XF86 keysyms above to your .Xmodmap file. Here's mine:
"xvkbd -text "\[XF86AudioRaiseVolume]""
m:0x0 + b:13
"xvkbd -text "\[XF86AudioLowerVolume]""
m:0x0 + b:14
# Media Control
m:0x10 + b:10
"xvkbd -text "\[XF86AudioPlay]""
m:0x10 + b:17
"xvkbd -text "\[XF86AudioNext]""
m:0x10 + b:15
"xvkbd -text "\[XF86AudioPrev]""
m:0x10 + b:16
This not only lowers and raises the volume, but also shows the indicator on the screen (something that all of the other instructions I've seen don't do, btw.)
keycode 122 = XF86Search
keycode 129 = XF86AudioMedia
keycode 130 = XF86WWW
keycode 162 = XF86AudioPlay XF86AudioPause
keycode 164 = XF86AudioStop
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 230 = XF86Favorites
keycode 231 = XF86Refresh
keycode 233 = XF86Forward
keycode 234 = XF86Back
Does the horizontal scroll wheel work for you in firefox? I tried your configuration in my xorg.conf and it didn't work for me. If it does work for you, then was there anything else needed or is that it?
I think I've figured out what you meant, after realizing that I can scroll horizontally in OpenOffice apps, and presumably Nautilus as well, though I haven't tried it yet. I was testing it in firefox, where horizontal scroll registers as back and forward. I don't like this, so I'm gonna keep working to see if I can get horizontal scrolling working in firefox.
Okay, I finally got everything working as I want with horizontal scrolling working with the scrollwheel and back/forward working with the thumb buttons. All I needed to do was add the following line to my .xbindkeysrc file to get the thumb buttons to function as back/forward in firefox and nautilus:
And then configuring firefox for horizontal scrolling with the scrollwheel, which already worked in Nautilus, by typing "about:config" in the address bar, to go to the config page, and changing the values of “mousewheel.horizscroll.withnokey.action” and “mousewheel.horizscroll.withnokey.numlines” both to 1.
# Forward and Back
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x10 + b:8
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x10 + b:9