It's likely that btnx quits when your mouse disappears from the system. Maybe there is a problem with the hotplugging functionality if it doesn't start up again. You can check you System Monitor to see if btnx closes after turning off the mouse. Then check if it reappears when you turn it on.
echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
It compiles! Ship it!
I did it through just installing btnx and btnx-config, what exactly should I look for?
(Yes, I configured the buttons, all work except the two side button ones)
echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
It compiles! Ship it!
I'm referring to the reference InputSection given in the troubleshooting section of the btnx manual. Look for section 9.2.1 here. Edit your xorg.conf file like described in that section, then restart your X session. It might help.
echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
It compiles! Ship it!
I tried to match it as much as possible, and got it looking like this:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
However, now none of the buttons on the "thumb" part of the mouse. Before, it was everything except the two thumb buttons, but now the wheel has gone down as well.
That seems to make it work.
I have another question though, it seems commands are a little limited for me. For example, KEY_VOLUME(UP or DOWN) doesn't seem to work, no matter what key I put it on. Any idea what may be causing this?
This is dependent on the window manager. It might not handle those keys correctly. But you can get around it. In GNOME (Ubuntu), for example, you can define a keyboard shortcut (System->Prefs->Kbd Shortcuts) for changing volume. Then make btnx send the same keyboard shortcut.
echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
It compiles! Ship it!
Bookmarks