Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Temporarily disable mouse wheel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Thu Apr 20, 2006 2:40 pm    Post subject: Temporarily disable mouse wheel? Reply with quote

Just now, I have a Creative wireless optical mouse, a great little thing with one problem: when left doing nothing it sends (or at least receives) random mouse wheel events. This normally doesn't bother me, but given that my video player of choice is Kaffeine this creates a problem as Kaffeine seeks through the film on mouse wheel events. This means that these random events make the vids jump around every now and then.

I can't see a way in Kaffeine to disable the mouse wheel scrolling, so I was thinking, is there a way to temporarily disable the mouse wheel?
I'm running the xorg that is in the stable branch (its my desktop/server, which I like keeping purely stable), 6.8 I think. I thought there might be a way to do it through xmodmap, but I fiddled a bit and couldn't figure it out.

And before anyone says it, I'm using xine-ui instead of Kaffeine just now, but I like Kaffeine's interface and how it integrates nicely into KDE. And I'm not buying a new mouse.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
trupoet
Apprentice
Apprentice


Joined: 08 Aug 2002
Posts: 160

PostPosted: Fri Apr 21, 2006 12:04 am    Post subject: Reply with quote

If you dont want to use the mousewheel, you could edit your xorf.conf and remove the line:

Option "ZAxisMapping" "4 5"

course doing this on the fly would not work since you have to reboot X everytime
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Mon Apr 24, 2006 9:17 pm    Post subject: Reply with quote

You could also change the mouse buttons using xmodmap. Copy the old pointer somewhere, create a new pointer that does not have wheel events.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum