LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   scroll wheel behavior (https://www.linuxquestions.org/questions/linux-newbie-8/scroll-wheel-behavior-251693/)

SamerAdra 11-05-2004 11:27 PM

scroll wheel behavior
 
Mandrake 10, KDE 3.2...

I'm a Windows user, so there are some things with the mouse scroll wheel that are different...I scroll the wheel in Firefox now and it goes backward and forward pages...In Konqueror, it scrolls horizontally...How can I emulate the Windows XP default scroll behavior?

sether 11-05-2004 11:32 PM

you have to edit the file /etc/X11/XF86Config-4

it might read
Code:

Options    "ZAxisMapping" "6 7"
but should read
Code:

Options    "ZAxisMapping" "4 5"
do that and then restart X.

ror 11-05-2004 11:52 PM

Quote:

Originally posted by sether
you have to edit the file /etc/X11/XF86Config-4

it might read
Code:

Options    "ZAxisMapping" "6 7"
but should read
Code:

Options    "ZAxisMapping" "4 5"
do that and then restart X.


If you do that you'll lose your side buttons if you have them.


If you have side buttons, use xmodmap -e "1 2 3 6 7 4 5" then your side buttons will be back/forwards and scroll wheel will scroll.

Bruce Hill 11-06-2004 12:00 AM

Quote:

Originally posted by ror
If you do that you'll lose your side buttons if you have them.


If you have side buttons, use xmodmap -e "1 2 3 6 7 4 5" then your side buttons will be back/forwards and scroll wheel will scroll.

root@james:/home/mingdao# xmodmap -e "1 2 3 6 7 4 5"
bash: xmodmap: command not found
root@james:/home/mingdao# exit
exit
mingdao@james:~$ xmodmap -e "1 2 3 6 7 4 5"
xmodmap: unknown command on line commandline:0
xmodmap: 1 error encountered, aborting.
mingdao@james:~$

SamerAdra 11-06-2004 12:06 AM

While I'm at it, it's kind of related...I've got some unused keyboard buttons at the moment. My windows button on the left side is mapped to the K-menu, but the one on the right does nothing, and the windows context key (left of the right Ctrl on newer windows keyboards) does nothing...and heck, while I'm at it, maybe scroll lock and some of the function buttons, heh...And it's one of those Internet keyboards so there are some extra buttons on the top...I'm not so much concerned with those...But I assume there's some way to map the others.

And I don't have side buttons on my mouse...just the normal 2 and a scroll button, so I just did the "6 7" --> "4 5" replacement and it worked. Thanks.

ror 11-06-2004 12:38 AM

sorry, that should have been xmodmap -e "pointer = 1 2 3 6 7 4 5"

Bruce Hill 11-06-2004 02:59 AM

Quote:

Originally posted by ror
sorry, that should have been xmodmap -e "pointer = 1 2 3 6 7 4 5"
Whew! This is like a circus ride!
Code:

mingdao@james:~$ xmodmap -e "pointer = 1 2 3 6 7 4 5"
That made my scroll wheel go back and forward in a web page, and
my front left-side button has the same function as right-click, which
opens a menu on the page. The back left-side button opens a dialog
button which says "The URL is not valid and cannot be loaded."

/me thinks some of them buttons is out of order ;p


All times are GMT -5. The time now is 07:45 PM.