You are not logged in.
Pages: 1
I got my Arch up and running with basic stuff and am about to configure specific stuff and making Arch more "mine". I own a MX1000 Logitech mouse and have a few questions as I try to configure it. First of all, what I've done and whats working:
I'm running with the evdev driver and I've made my own udev rule so my mouse is linked to its own specific device: /dev/input/mx1000.
/etc/udev/rules.d/10-local.rules:
ACTION=="add", KERNEL=="event*", SUBSYSTEM=="input", SYSFS{manufacturer}=="Logitech", SYSFS{product}=="USB Receiver", NAME="input/mx1000"
xorg.conf mouse-section:
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Device" "/dev/input/mx1000"
Option "CorePointer"
EndSection
My mouse works, and left, middle and right click works, as well as scroll forward and back. Scroll Fwd Button and Scroll Back Button works as it should mostly (moving up and down. What the good use of these two buttons are beats me, I've never used them in windows or linux). What is strange and wrong is that thumb forward, thumb back, thumbcenter, scrollwheel tilt left, scrollwheel tilt right works as a left click as well. This makes my mouse a multi-button left-clicker And scrollwheel left/right also works as forward/back in Firefox as long as it's not hovering over a link, then its a button.
I've read the wiki about MX1000_buttons so I know I have to do some "magic" with xev, xmodmap, xbindkeys and xvkbd. But I have not read any post about people having "all" buttons act as left-click, and wonders if this is just "normal".
Also, in the MX1000 wiki, and on the forum, ppl talk about there not being a 6th and 7th button when using xev to figure out the buttons. I have experienced different. When I press "Right Horizontal Scroll" I see both button 14 and 6, and likewise left, button 13 and 7.
Mouse Button xev btn# Current Fn Desired Fn
----------------------------------------------------------------------------
Left Click 1 Left Click Left Click
Scroll Wheel Click 2 Center Click Center Click
Right Click 3 Right Click Right Click
Scroll Fwd Roll 4 Scroll Fwd Scroll Fwd
Scroll Back Roll 5 Scroll Back Scroll Back
Back Thumb Button 8 None Browser Back
Forward Thumb Button 9 None Browser Fwd
Center Thumb Button 10 None Minimize (if possible)
Scroll Fwd Button 11 None None
Scroll Back Button 12 None None
Left Horizontal Scroll 7+13 None Left Scroll
Right Horizontal Scroll 6+14 None Right Scroll
How should I work with these two "multibutton-button"?? And do I have to assign "NoCommand" to the buttons I don't want to use?
Offline
I set mine up a year ago or so, but maybe my "memories" help you, too:
This is the section in my /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Evdev Mouse"
Driver "evdev"
Option "Name" "Logitech USB RECEIVER"
Option "SendCoreEvents"
Option "Buttons" "10"
EndSection
And at the very end of your ~/.Xmodmap you should add:
pointer = 1 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20
I think this was all I ever did to make all buttons work. Just test it!
Offline
I'm using the default mouse driver with BTNX.
All buttons work, only problem is that btnx refuses to start from rc.conf daemons line.
Offline
n8schicht - The mouse has 12 buttons/events but perhaps 10 is just good enough. I'm not familiar with "SendCoreEvents" but I can test
Mikko777 - BTNX? Never heard of it, but googled it and found this. Will check it out.
Offline
n8schicht - The mouse has 12 buttons/events but perhaps 10 is just good enough. I'm not familiar with "SendCoreEvents" but I can test
Mikko777 - BTNX? Never heard of it, but googled it and found this. Will check it out.
its this one in Aur:
Offline
And it works (almost) perfectly with my MX700. Only the button that should work like [alt][tab] is not recognized.
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
n8schicht - The mouse has 12 buttons/events but perhaps 10 is just good enough. I'm not familiar with "SendCoreEvents" but I can test
Yes you are right. Just set 12 instead of 10, then all buttons should work. I think I eliminated the wheel-like "scroll-up-and-down-buttons".
"SendCoreEvents" is necessary since the latest Xorg-update, IIRC...
Offline
I'm still trying different stuff, and now I'm "playing" with xev and trying to actually understand everything with this (stupid?) mouse.
When I click on ForwardScrollButton xev shows me two different buttons (xev | grep -i button):
ButtonPress event, serial 30, synthetic NO, window 0x2c00001,
state 0x10, button 11, same_screen YES
ButtonPress event, serial 30, synthetic NO, window 0x2c00001,
state 0x10, button 4, same_screen YES
ButtonRelease event, serial 30, synthetic NO, window 0x2c00001,
state 0x810, button 4, same_screen YES
ButtonRelease event, serial 30, synthetic NO, window 0x2c00001,
state 0x10, button 11, same_screen YES
The first three events (6 lines) is from one single click, and the last (2 lines) comes when I move the mouse away from the square. And sometimes it just prints two "button 11", or one "button 11" and one "button 4". Whats happening here? I've read something about CruiseControl. How can I see it's on or not, and how do I control this?
My "matrix" of buttons actually looks like this (revised from the first post):
Mouse Button xev btn# Current Fn Desired Fn
----------------------------------------------------------------------------
Left Click 1 Left Click Left Click
Scroll Wheel Click 2 Center Click Center Click
Right Click 3 Right Click Right Click
Scroll Fwd Roll 4 Scroll Fwd Scroll Fwd
Scroll Back Roll 5 Scroll Back Scroll Back
Right Horizontal Scroll 6(14) Browser Back Left
Left Horizontal Scroll 7(13) Browser Fwd Right
Back Thumb Button 8 None(LeftClick) Browser Back
Forward Thumb Button 9 None(LeftClick) Browser Fwd
Center Thumb Button 10 None(LeftClick) None
Scroll Fwd Button 11(4) None None
Scroll Back Button 12(5) None None
Last edited by Joffer (2007-12-07 19:20:51)
Offline
Well if you'd use btnx you wouldnt need to mess around with those
btnx just great, enables you to map any button or keysequence to any mousebutton. (unless its already controlled by X, and then some tweaking is necessary)
Offline
Yeah, CruiseControl/SmartScroll generates those additional events.
You can switch it off with lomoco --no-sms ... locomo is in community.
Offline
I used lmctl actually, but I see that pacman wants to replace lmctl with lomoco.
Anyway, I'm trying to get btnx to work now. I've detected all buttons. Now what? Mikko777, so I have an example, how do I get the back and forward button work in my webbrowser? I tried to enable the two buttons and changed the modifier key 1 to KEY_LEFTALT/KEY_RIGHTALT. I will check out the help file tomorrow, just saw it now.. it's getting late so I'm off to bed.
Update: I've got btnx to work, sortof. Not very happy, buttons doesn't always do as it is asigned to. BrowserBackButton was set to KEY_LEFT+KEY_LEFTALT, but it doesn't always work. I've tried to activate "force immediate button relaease". Sometimes the forward button (ALT+RIGTH) works as forward, and sometimes it just works as a left click when it's over a link.
Last edited by Joffer (2007-12-08 11:32:02)
Offline
I'm experiencing very similar problem with my MX1000 as Joffer did. Strangely enough most buttons I'm interested in work out-of-the-box in Firefox 3.5.2, unfortunately my favourite web browser is Opera, and it's wholly a different case there.
I started from the wiki entry of course and mapped my buttons. Here what I've got.
Mouse Button xev btn# Current Fn Desired Fn (for Opera)
----------------------------------------------------------------------------
Left Click 1 Left Click Left Click
Scroll Wheel Click 2 Depends Open link in new tab
Right Click 3 Right Click Right Click
Scroll Fwd Roll 4 Scroll Fwd Scroll Fwd
Scroll Back Roll 5 Scroll Back Scroll Back
Right Horizontal Scroll 7(14) Browser Back Right
Left Horizontal Scroll 6(13) Browser Fwd Left
Back Thumb Button 8 None Browser Back
Forward Thumb Button 9 None Browser Fwd
Center Thumb Button 10 None Full screen
Scroll Fwd Button 11(4) None Zoom out
Scroll Back Button 12(5) None Zoom in
As you can see xev also reports some double-button actions for me to, although slightly different than in Joffer's case. I have tried to create .Xmodmap and put
pointer = 1 2 3 4 5 6 7 8 9 10
in it, as I don't need the functionality of buttons 11-14 (actually I think this mouse has 12 buttons...). I also edited some Opera settings as you can see on a screenshot below - still no luck.
After this xev still reports the same button actions as before and nothing really has changed. Please help me with this
P.S. I'm on Arch Linux x86_64 with KDEmod 4.3.0.
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
Pages: 1