LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-05-2004, 11:27 PM   #1
SamerAdra
LQ Newbie
 
Registered: Mar 2004
Location: Kansas
Distribution: Mandrake 10.0
Posts: 21

Rep: Reputation: 15
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?
 
Old 11-05-2004, 11:32 PM   #2
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 30
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.
 
Old 11-05-2004, 11:52 PM   #3
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
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.
 
Old 11-06-2004, 12:00 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
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:~$
 
Old 11-06-2004, 12:06 AM   #5
SamerAdra
LQ Newbie
 
Registered: Mar 2004
Location: Kansas
Distribution: Mandrake 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
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.

Last edited by SamerAdra; 11-06-2004 at 12:09 AM.
 
Old 11-06-2004, 12:38 AM   #6
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
sorry, that should have been xmodmap -e "pointer = 1 2 3 6 7 4 5"
 
Old 11-06-2004, 02:59 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scroll wheel mdkusr Slackware 5 12-22-2005 11:40 PM
scroll wheel resolution mschoolmaster Linux - Hardware 6 11-09-2005 02:27 AM
Gnome. Change mouse wheel behavior. mooreted Mandriva 1 02-27-2005 06:12 PM
4d wheel mouse - scroll wheel no worky CamelofCamelot Linux - Hardware 1 10-28-2004 08:33 PM
scroll wheel thebutler4 Linux - Newbie 4 05-24-2004 04:30 PM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration