Re: Applying Xmodmap only for one mouse
Am Montag, den 01.10.2012, 05:45 -0700 schrieb Alan Coopersmith: On 10/ 1/12 02:35 AM, Thomas Ilnseher wrote: Hi List, Sorry for this noob question, but: I have a notebook with three mice, (touchpad, trackpoint USB mouse) I use the following xmodmap with the USB mouse: pointer = 1 10 3 4 5 6 7 8 9 2 11 12 13 14 15 16 17 18 19 20 21 22 23 24 (To swap buttons 2 10). Now this unfortunately makes the middle mouse button of the touchpad / trackpoint useless, which only have 3 buttons. Is there some way to apply the xmodmap only to the USB mouse ? I believe xinput --set-button-map with the device specified will do what you want. That did the trick, thanks a lot. BTW, Haricophile was also right, thanks u too. The advantage of xinput is that I can do that as ordinary user. Sincerely, Thomas ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Applying Xmodmap only for one mouse
On 10/ 1/12 02:35 AM, Thomas Ilnseher wrote: Hi List, Sorry for this noob question, but: I have a notebook with three mice, (touchpad, trackpoint USB mouse) I use the following xmodmap with the USB mouse: pointer = 1 10 3 4 5 6 7 8 9 2 11 12 13 14 15 16 17 18 19 20 21 22 23 24 (To swap buttons 2 10). Now this unfortunately makes the middle mouse button of the touchpad / trackpoint useless, which only have 3 buttons. Is there some way to apply the xmodmap only to the USB mouse ? I believe xinput --set-button-map with the device specified will do what you want. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Applying Xmodmap only for one mouse
Le lundi 01 octobre 2012 à 11:35 +0200, Thomas Ilnseher a écrit : Hi List, Sorry for this noob question, but: I have a notebook with three mice, (touchpad, trackpoint USB mouse) I use the following xmodmap with the USB mouse: pointer = 1 10 3 4 5 6 7 8 9 2 11 12 13 14 15 16 17 18 19 20 21 22 23 24 (To swap buttons 2 10). Now this unfortunately makes the middle mouse button of the touchpad / trackpoint useless, which only have 3 buttons. Is there some way to apply the xmodmap only to the USB mouse ? Or, can I assign both Phyical buttons 2 10 to logical button 2? Thanks, Thomas For my trackbal Logitech Marble Mouse I have something like in /etc/X11/xorg.conf.d/50-MarbleMouse.conf: Section InputClass Identifier Marble Mouse MatchProduct Logitech USB Trackball MatchIsPointer on MatchDevicePath /dev/input/event* Driver evdev Option ButtonMapping 1 2 3 4 5 6 7 8 9 Option EmulateWheel true Option EmulateWheelButton 8 Option ZAxisMapping 4 5 Option XAxisMapping 6 7 Option Emulate3Buttons true EndSection ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com