Kasperian Moving Parts

kinda like Batman, but with a wife and 3 kids

Me and my Logitech MediaPlay mousie and Linux

| 9 Comments

One word seems to fit… WAHOO!!! A couple of weeks ago, I bought this incredibly cool Logitech MediaPlay mousie. Now, I run Linux by choice, and have for the last 10 years, and most probably will for the next 20 or so. This means that there are certain things you resign yourself to having to figure out yourself.

This mousie was one of them. I mean, the smooth scrolling, and etcetera worked fine, as did the 3 other buttons (X sees 5 buttons for a normal 3 button mouse with a scroll-wheel–3 regular and buttons 4 and 5 are the scroll-wheel’s up and down). So, that much worked fine out of the box. But this cute little mousie has 10 other buttons!! It has side-to-side scroll, universal back/next, media launcher, media play/pause, media volume up/down, and media back/next. 15 buttons altogether!! =:) And after a bit of work, they all work PERFECTLY from within Linux!! From the reviews I’ve read about this mousie on Amazon, that’s saying more than what people are saying about this mouse in that other popular operating system. But anyway, I digress…

First, it’s possible to do no complex hackery at all and get buttons 6 and 7 working. Firefox and Opera both understand these buttons as back and next, so by just doing this to your XF86Config (or xorg.conf):

Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
#Option “Protocol” “IMPS/2”
Option “Protocol” “ExplorerPS/2”
Option “Device” “/dev/input/mice”
#Option “ZAxisMapping” “4 5”
Option “ZAxisMapping” “6 7”
Option “ButtonNumber” “7”
Option “Buttons” “7”
EndSection

… and this on your command line:

xmodmap -e “pointer = 1 2 3 6 7 4 5”

… you can have that working. But that wasn’t enough for me, and it shouldn’t be for you either. =:)

Enter this sweet little project by David Oliveira. I have posted on that page in great detail all that I’ve done to get things working perfectly for me, so I’ll leave it up to the reader to follow that far for the detailed directions. It’s quite easy, though, thanks to the work that David has done on the kernel module.

Anyway, again, WAHOO!!! My cute little mousie is now fully integrated into KDE. The media button launches amarok (which fully rocks in stereo), volume up and volume down do just that, and KDE displays a nice OSD showing what it’s doing. I have the play/pause and media next/previous buttons controlling amarok’s playlists.

This is by far the best “fuzzy” feeling that I’ve had in Linux in a while, and it feels quite good and satisfying, I must say. =:)

Long live the revolution. =;)

Author: Jason 'vanRijn' Kasper

My name is Jason 'vanRijn' Kasper. I am the ring leader of the amazing Kasper family. I am unashamedly a Christian Nerd. These are our stories....

9 Comments

  1. Pingback: Moving Parts of Kasper » Blog Archive » Hi, it’s me

Leave a Reply

Required fields are marked *.


 

This site uses Akismet to reduce spam. Learn how your comment data is processed.