Operating System - HP-UX
1819805 Members
3171 Online
109607 Solutions
New Discussion юеВ

Q. about scrolling Firefox with mousewheel

 
Main Group
Advisor

Q. about scrolling Firefox with mousewheel

Hello.

I'd trying to determine how to configure my desktop to get the Firefox browser (v3.5) window to scroll using the mouse wheel. I have the autoscrolling turned on in the Firefox preferences (advanced, general). On the about:config page, I have the following settings:

mousewheel.withnokey.action 0
mousewheel.withnokey.numlines 1
mousewheel.withnokey.sysnumlines true

An xmodmap -p lists:

Physical button 1; Button code 1
Physical button 2; Button code 2
Physical button 3; Button code 3

I'm running Firefox in MWM on a PC via Hummingbird eXceed. I'm speculating that I'm missing some sort of configuration settings in the /usr/lib/X11/system.mwmrc file or /usr/lib/X11/app-defaults/ directory, but I have no idea what.

Has anybody found a solution to this that I might adopt? Thank you!
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Q. about scrolling Firefox with mousewheel

Shalom,

That has never worked on Unix/exceed. Middle mouse doesn't work.

I think you have to live with it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Main Group
Advisor

Re: Q. about scrolling Firefox with mousewheel

Thanks. Is that because the Firefox port to HP-UX doesn't recognize the mousewheel device?
Matti_Kurkela
Honored Contributor

Re: Q. about scrolling Firefox with mousewheel

The first question should be, does your Hummingbird eXceed send the mouse wheel events to HP-UX in any recognizable form?

The second question is, are the X libraries on HP-UX prepared to handle more mouse features than the traditional 3 mouse buttons?

If both of these conditions are not fulfilled, Firefox won't be receiving the mouse wheel events, and no amount of mouse wheel support in Firefox can change that.

At least in Linux, the de-facto standard convention is to interpret the mouse wheel motion into presses of mouse buttons 4 and 5. (button 4 = wheel turning upwards, button 5 = downwards)

The applications will then receive the wheel events as mouse button events, and can handle them as they wish.

If you have the "xev" testing tool available, you can use it to check what kind of keyboard and mouse events can be sent. Run "xev" in a terminal window, move the mouse cursor to the xev window, then turn the mouse wheel and press any mouse buttons. Any mouse events are dumped in text form into the terminal you started xev from.

If you see nothing at all when you turn the wheel... then your eXceed is probably not sending any mouse wheel information.

MK
MK
Main Group
Advisor

Re: Q. about scrolling Firefox with mousewheel

Thanks, I'll give that a try.
Main Group
Advisor

Re: Q. about scrolling Firefox with mousewheel

I was able to get the mousewheel working by selecting the "Wheel movement sends Mouse button event (button 4/5/6/7)" option in the Mouse Input configuration of eXceed, with up set to 4 and down set to 5. Thanks for the help.