Site menu:

Sponsored by

Bitcube Ltd.  Expert Linux Consultancy

Currently...

  • @popey superb, now you can cook and iron your shirts at the same time. Quite what your colleagues will think of the hickory aroma I dunno in reply to popey 3 days ago
  • @geehowquaint surely normal people are never "in" fashion, only weirdos :-) in reply to geehowquaint 5 days ago
  • not bad hold music on this teleconference 1 week ago
  • ripped jeans with backing cloth to avoid bare skin does seems a little silly. I doubt I'll ever understand fashion. 1 week ago
  • Dear PCWorld, I knew your computer skills were bad, I didn't know until recently that your grammar was too. It's not "a 3gigs memory". 1 week ago
  • More updates...

Categories

Meta

Site search

 

June 2009
M T W T F S S
« May   Jul »
1234567
891011121314
15161718192021
22232425262728
2930  

Archives

Links:

an hour to get the mouse working

Upgraded desktop to Linux 2.6.30 (and newer NVIDIA drivers), this also upgraded me to Xorg 7.4.

As a result, my Logitech G7 mouse changed behaviour. Instead of the horrible side “back” button doing middle click as I like, it started doing back. Pressing a scroll wheel as often as a Unix user does is not nice nor accurate.

After about an hour of fighting xorg.conf I eventually got “xinput” to work using:

 xinput set-button-map 4    1 8 3 4 5 6 7 2

NB: “xinput set-button-map 4 1 8 3 4 5 6 7″ doesn’t work. However I could not get “ButtonMapping” in xorg.conf to work, even in an evdev section like this:

Section "InputDevice"
       Identifier      "evdev mouse"
       Driver          "evdev"
       #Option         "Name"  "Logitech USB Receiver"
       Option          "ButtonMapping"         "1 8 3 4 5 6 7 2"
       Option          "SendCoreEvents"
EndSection

Finally I succeed by edit hal - /etc/hal/fdi/policy/preferences.fdi to be precise need this bit including:

<device>
  <match key="info.capabilities" contains="input.mouse">
   <merge key="input.x11_driver" type="string">evdev</merge>
   <merge key="input.x11_options.ZAxisMapping" type="string">4 5 6 7</merge>
   <merge key="input.x11_options.ButtonMapping" type="string">1 8 3 4 5 6 7 2</merge>
  </match>
</device>

Discovering that even though I’ve set “DontZap” to false it is ignored (since the default has changed to true) didn’t improve my mood.

Comments

Comment from jonathan
Time: Wednesday 10 June, 2009, 22:13

Which is why I use a mac ;-)

Comment from adrian
Time: Thursday 11 June, 2009, 06:13

I guess I should have expected that :-)

Write a comment