LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2004, 03:58 AM   #1
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
mousewheel in x


i have tried to set up my mousewheel with XF86Config. Here is the relevant section:
Code:
Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"

    Option "Protocol"    "IMPS/2"

    Option "Device"      "/dev/mouse"

    Option "ZAxisMapping"	"6 7"
    Option "Buttons"	"7"
EndSection
My mouse has the two standard buttons, two side buttons, and you can press the mousewheel down. With that configuration, this is what hte buttons do:
Left Mouse Button: Left
Right Mouse Button: Right
Pushing the mousewheel down: Middle
Left Side Button: Middle
Right Side Button: Right
Scrolling the mousewheel in either direction: selects text in mozilla (nothing for a few moves, then onw word, then the line, then nothing again) in kwrite it does nothing.

what have i done wrong? why doesnt it scroll?
 
Old 05-16-2004, 04:17 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
Try changing the ZAxisMapping option from "6 7" to "4 5", that's how I set it up on my Intellimouse Explorer, with the wheel pressed still working as middle click. In order to get the side buttons working correctly you need to use imwheel.


Håkan
 
Old 05-16-2004, 04:22 AM   #3
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
ok, now my mousewheel works with the other buttons doing what they did before.

what advantage would imwheel give me?
 
Old 05-16-2004, 04:23 AM   #4
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
also, when i press the middle button in mozilla, it goes to a different page.
what decides on this page?
 
Old 05-16-2004, 04:42 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
You can check that in the options window in Mozilla. I think the default is to send whatever is in your copy-buffer to Google and hit "I'm feeling lucky", which produces the most amazing (and sometimes embarrassing) results when you accidentally press down the wheel.

imwheel lets you assign commands to your mousebuttons. For example, you can define the side buttons as back and forward when your mouse pointer is over a Mozilla window.

This thread over at the Gentoo forums discusses imwheel and xmodmap and it has been quite useful as a reference to me several times.


Håkan
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mousewheel able to go left/right as well as up/down Khang Linux - Hardware 2 11-07-2004 11:59 AM
Mousewheel not working Ringfinger Linux - Newbie 3 04-01-2004 11:24 AM
mousewheel MrPolite Linux - General 5 11-03-2002 02:52 PM
MouseWheel? MrPolite Linux - General 1 08-25-2002 10:34 PM
How to get Mousewheel working glock19 Linux - General 4 12-18-2001 09:51 PM


All times are GMT -5. The time now is 05:09 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
Open Source Consulting | Domain Registration