View previous topic :: View next topic |
Author |
Message |
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Mon Jul 01, 2002 12:20 pm Post subject: Wheel Scrolling Features in Mozilla, Netscape, Kmail |
|
|
No, this is not the usual "How do you make it work" post.
I have my Intellimouse Explorer wheel mapped and working fine in Konqueror. In Mozilla (and Netscape) the wheel also works except for an annoying problem. When scrolling backward (up) through a document using the wheel, if the mouse moves left or right mozilla starts selecting text as it scrolls. The behaviour is only present when scrolling up, not down. In KMail scrolling up over the message list opens the first email you scroll over in a separate window... as if it had been double-clicked.
Is anybody else seeing that behaviour? Any suggestions to eliminate it?
My system is up-to-date with the exception of my kernel, which is vanilla 2.4.18 because the patches cripple the psaux port (device not found).
Relevant section from XF86Config:
Code: |
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "SampleRate" "100"
Option "Resolution" "300"
EndSection
|
And the X key mapping is run at KDE launch:
Code: |
chrisw@chrisw chrisw $ cd .kde/Autostart/
chrisw@chrisw Autostart $ cat xmodmap.sh
#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"
chrisw@chrisw Autostart $
|
_________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Mon Jul 01, 2002 6:31 pm Post subject: |
|
|
I thought ZAxisMapping ought to be "4 5" _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Mon Jul 01, 2002 10:02 pm Post subject: ZAxisMapping... |
|
|
With the five button plus wheel arrangement of the Explorer the wheel behaves as buttons 6 and 7. However, Mozilla et al. expect it to be 4 and 5, which is why the xmodmap is required to rearrange the order.
Thanks for the thought. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Tue Jul 02, 2002 12:19 am Post subject: Re: ZAxisMapping... |
|
|
Chris W wrote: | With the five button plus wheel arrangement of the Explorer the wheel behaves as buttons 6 and 7. However, Mozilla et al. expect it to be 4 and 5, which is why the xmodmap is required to rearrange the order.
Thanks for the thought. |
I use the same mouse. No need for xmodmap changes. As jay said, modify ZAxisMapping in XF86Config to "4 5", remove xmodmap.sh from kde's autostart and restart X/relogin, everything should behave as normal. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Tue Jul 02, 2002 7:49 am Post subject: Thanks... |
|
|
Thanks jay and mksoft, that does indeed work, and the selecting behaviour disappears. The two side buttons no longer generate X events though, so there goes the possibility of getting those to work. Not sure I understand why it didn't work with the mappings, but I'll quit while I'm ahead and go fry some bigger fish. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Tue Jul 02, 2002 10:20 am Post subject: Re: ZAxisMapping... |
|
|
mksoft wrote: |
No need for xmodmap changes. As jay said, modify ZAxisMapping in XF86Config to "4 5", remove xmodmap.sh from kde's autostart and restart X/relogin, everything should behave as normal. |
But then you can't use the side buttons.
I have a wireless IntelliMouse Explorer with the same mouse section and the same xmod pointer mapping as Chris W and never encountered that strange scrolling/selection behaviour.
Cheers,
A. |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Tue Jul 02, 2002 10:52 pm Post subject: Nice to know I'm not (totally) mad... |
|
|
It's is good to know that I was not barking up the wrong tree. I'm happy enough, for the time being, with just the scroll wheel working. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
timbo Apprentice
Joined: 29 Jul 2002 Posts: 231 Location: New Zealand
|
Posted: Fri Aug 02, 2002 3:04 am Post subject: Re: Wheel Scrolling Features in Mozilla, Netscape, Kmail |
|
|
Chris W wrote: | ........
And the X key mapping is run at KDE launch:
Code: |
chrisw@chrisw chrisw $ cd .kde/Autostart/
chrisw@chrisw Autostart $ cat xmodmap.sh
#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"
chrisw@chrisw Autostart $....
|
|
I have "pointer = 1 2 3 6 7 4 5" in both my /etc/X11R6/Xmodmap and ~/.Xmodmap but it's not making any differeence to how x handles the mouse.
In mandrake this is how it's set up and works great but in Gentoo the side buttons do the scrolling up and down as though the pointer argument is not been read.
I do not want to only have the mouse working correctly in KDE as I prefer Fluxbox.
Any bright suggestions?
Regards
Tim |
|
Back to top |
|
|
Gominik n00b
Joined: 23 Jun 2002 Posts: 39 Location: Germany
|
Posted: Fri Aug 02, 2002 3:44 pm Post subject: |
|
|
Hi
I have a KDE_3 startscript. It looks like this
#!/bin/sh
/usr/local/bin/mousemap F6 F7 "1 2 3 6 7 4 5"
/usr/kde/3/bin/startkde
for KDM
So my left button is F6, the right button is F7 and I can scroll up/down with the wheel without problem.
You just have to get mousemap
Bye
Gom |
|
Back to top |
|
|
Jonteponte n00b
Joined: 19 Oct 2002 Posts: 33
|
Posted: Wed Oct 23, 2002 8:40 pm Post subject: |
|
|
Where can I find mousemap?
Thanks
edit:found it |
|
Back to top |
|
|
gillesg Tux's lil' helper
Joined: 17 Sep 2002 Posts: 90
|
Posted: Thu Oct 24, 2002 5:38 am Post subject: |
|
|
Has anyone succeed having the left and right button doing
back and forward in any browser?
Gilles |
|
Back to top |
|
|
Naughtyus Guru
Joined: 14 Jul 2002 Posts: 463 Location: Vancouver, BC
|
Posted: Fri Oct 25, 2002 6:50 am Post subject: |
|
|
I got X to detect all 7 buttons (left, right, scroll, leftthumb, rightthumb), without installing any extra progs, with the help of this thread: https://forums.gentoo.org/viewtopic.php?t=10956. I still can't figure out how to actually map them to fuctions in mozilla (or any other program for that matter).
Does anyone have any instructions? (.. My question is the same as the above, but I want to bump the thread! ) |
|
Back to top |
|
|
Naughtyus Guru
Joined: 14 Jul 2002 Posts: 463 Location: Vancouver, BC
|
Posted: Tue Oct 29, 2002 8:09 am Post subject: |
|
|
(anyone?) |
|
Back to top |
|
|
TripKnot Apprentice
Joined: 29 May 2002 Posts: 213
|
Posted: Wed Oct 30, 2002 4:03 am Post subject: |
|
|
You can use the mousemap program mentioned above to map the side buttons to F11 and F12 or whatever else your heart desires. You can then map F11/F12 to forward and back. I have gotten this to work in KDE with konqueror(KDE has an autostart dir that is used) but can't get it to work with fluxbox. I seem to have troubles connecting to X when mousemap is loaded from .xinitrc, or maybe its mousemap thats the problem, I don't know.
However, it seems REALLY hard to find this mousemap prog, so I will host my copy here:
http://66.24.125.81 |
|
Back to top |
|
|
|