You are not logged in.
Edit: Thanks to machinebacon for the solution in post 9.
I am running #! Statler 64bit with OpenBox. I have an Mx518 mouse that has a button that does nothing. When I test it in xev I get this:
ButtonPress event, serial 39, synthetic NO, window 0x2e00001,
root 0x11d, subw 0x0, time 22183158, (168,0), root:(293,459),
state 0x10, button 10, same_screen YESButtonRelease event, serial 39, synthetic NO, window 0x2e00001,
root 0x11d, subw 0x0, time 22183398, (168,0), root:(293,459),
state 0x10, button 10, same_screen YES
I would like to bind it to a command in the same way that this thread explains how to bind a keyboard key to a command: http://crunchbanglinux.org/forums/topic … e-buttons/ But I can't figure out how to do it with mouse buttons.
Last edited by WASD (2011-07-11 10:32:00)
Offline
Is it the middle button?
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
It is in the middle but it's not middle click. It's the small round one above the logitech logo: http://www.everythingusb.com/images/lis … lution.jpg
It only does something if you use windows along with a logitech software. Every other button works as intended in #! without having to fiddle with any settings.
Last edited by WASD (2011-07-07 20:06:15)
Offline
Ah, a Logitech. Have you tried
sudo apt-get install lomoco ? Thats for Logitech mice.
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
http://ubuntuforums.org/showthread.php?t=1039534
This is similar to your problem, I think.
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
I installed it but found nothing interesting. I simply want to bind one button to a command. The rest of the mouse is perfectly fine.
I'll have a look at that thread. It's not the DPI buttons i want to remap but they are also kinda useless since I only use one DPI setting so I might as well remap them as well, which would give me a total of 3 buttons for commands of my choice 
Last edited by WASD (2011-07-07 20:16:52)
Offline
If xev doesn't show feedback, it means the button doesn't send events. As long as the configuration for the button is not working, there is nothing which can be remapped, because the keycode is unknown.
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
The DPI buttons does not register in xev, but those are not the buttons i want to map. There is a third button bellow that that does register in xev as I pointed out in my first post.
The green is the DPI buttons, they don't show up in xev. The red is a button that doesn't do anything but it does show up in xev and I wan't to remap it.
Offline
Sorry, I have misunderstood the post.
It is seemingly Button 10, so configure your ~/.config/openox/rc.xml like this in the section <!-- Menus --> (quite at the end of the file, for me ~line 670)
<mousebind button="Button10" action="Press">
<action name="Execute">
<command>sh ~/path/to/file.sh</command>
</action>
</mousebind>I can't test it as I don't have this Logimouse, but basically this is how it works.
Last edited by machinebacon (2011-07-08 20:24:39)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.