You are not logged in.

#1 2013-10-21 15:23:01

uberben
Member
Registered: 2010-08-18
Posts: 78

Cannot undo remapping of mouse buttons

A few years ago I was using a Logitech MX1000 and configured my system to turn the center thumb button into the middle click action, and disable the true scroll wheel button. I have recently replaced my MX1000 with an M570 which does not have the extra thumb button, so I want to get my scroll button back to normal, but I cannot for the life of me remember how I set up the remapping. I've checked my xorg.conf, .xinitrc, .xbindkeysrc (all pasted below) and can't find anything relevent.

When I run xev and press the scroll wheel button, it reports button 10 has been pressed (I believe that this was the extra side button on the MX1000). I found this article (https://wiki.archlinux.org/index.php/Logitech_MX1000), but the only reference to button 10 is that it can be remapped like the rest using .xbindkeysrc, which it seems I have not done.

Any other ideas for places to look for undoing this remapping would be greatly appreciated.

/etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Evdev Mouse" "CorePointer"
EndSection

Section "Module"
EndSection

Section "InputDevice"
	Identifier  "Evdev Mouse"
	Driver      "evdev"
	Option	    "Name" "Logitech USB Receiver"
	Option	    "CorePointer"
EndSection

Section "InputDevice"

    # generated from default
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/psaux"
	Option	    "Emulate3Buttons" "no"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "0-DFP11"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
	Option	    "PreferredMode" "2560x1440"
	Option	    "TargetRefresh" "60"
	Option	    "Position" "1920 0"
	Option	    "Rotate" "normal"
	Option	    "Disable" "false"
EndSection

Section "Monitor"
	Identifier   "0-DFP10"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
	Option	    "PreferredMode" "1920x1080"
	Option	    "TargetRefresh" "60"
	Option	    "Position" "0 357"
	Option	    "Rotate" "normal"
	Option	    "Disable" "false"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	Option	    "Monitor-DFP11" "0-DFP11"
	Option	    "Monitor-DFP10" "0-DFP10"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Virtual   4480 2560
		Depth     24
	EndSubSection
EndSection
~/.xbindkeysrc
# Mouse Buttons
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:8 
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:9
#"/usr/bin/xvkbd -xsendevent -text "\[Up]""
"/usr/bin/xvkbd -xsendevent -text "\[Page_Up]""
m:0x0 + b:11
#"/usr/bin/xvkbd -xsendevent -text "\[Down]""
"/usr/bin/xvkbd -xsendevent -text "\[Page_Down]""
m:0x0 + b:12
~/.xinitrc
exec ck-launch-session gnome-session
% xbindkeys

Offline

#2 2013-10-21 15:27:30

uberben
Member
Registered: 2010-08-18
Posts: 78

Re: Cannot undo remapping of mouse buttons

Naturally, less than a minute after I press "Submit" on my question, I find my own solution. I had remapped the button in

/etc/X11/Xmodmap

.

! MX1000
pointer = 1 10 3 4 5 6 7 8 9 2 11 12 13 14

As you can see, 2 and 10 were swapped. now, if there is a way that I can remap each mouse independantly, that would be useful (though the MX1000 doesn't see much use these days).

Offline

Board footer

Powered by FluxBB