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!
Yippee, this works! Thanks a lot!
malungu =D>
I copied the xorg.conf section directly from one of the Gutsy installs where the mouse works perfectly. Here is what I have there:
I adjusted the xmodmap settings to TRY to solve the double keystroke from the "up" cruise control. Here is what I did:Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
Option "Buttons" "10"
EndSection
xmodmap -e "pointer = 1 2 3 4 5 6 7 10 8 9"
I am still getting a double event from the cruise up. When I release that button, it sends the same button as the large thumb. Also the top button is sending button 2 on release. I checked in Gutsy, and I do not have a xmodmap file, and xmodmap -pp shows no changes.
this is for a Logitech mx500
I still can't figure out why Nautilus isn't responding to btnx's keystrokes either.
Last edited by JayBee808; April 8th, 2008 at 08:12 AM. Reason: Thought it was fixed, but it isn't.
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!
Hi daou. First of all, thank you again for this great utility.
I'm wondering though, is btnx made to work exclusively in Ubuntu?
I have recently switched to Arch, and there is a PKGBUILD for btnx and btnx-config available in the AUR.
In Ubuntu, btnx detected all mouse buttons on my MX Revolution and those custom key bindings were a dream.
However, in Arch, btnx itself works fine, but it only detects three out of 10 (or 12 depending how you look at it) buttons, and thus I can only bind special combinations to three of them. I don't know if it's intended to work on Arch at all, it's just something I've been bugged with. So in fact I am currently just using btnx for the revoco function
Thank you
[Configuration files]Linux IS user-friendly, it's just picky about its friends.
Thanks for getting back to me so quickly!
I did not restart X. I just remapped the buttons, and the cruise up is still sending two different button signals.
here is a bit of XEV output for the problem buttons, first is the thumb a few times, then the cruise up:
I mapped the buttons to some letter keys to test in gedit. No matter what I remap to with xmodmap, the "cruise up" button always sends the same signal as the "large thumb" button. It sends that when cruise up is released. The button on top of the mouse does the same thing, but with the "Scroll Click" button signal.ButtonRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5608760, (13,169), root1726,230),
state 0x10, button 8, same_screen YES
ButtonPress event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5612808, (13,169), root1726,230),
state 0x10, button 8, same_screen YES
ButtonRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5612992, (13,169), root1726,230),
state 0x10, button 8, same_screen YES
ButtonPress event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5620665, (13,169), root1726,230),
state 0x10, button 4, same_screen YES
ButtonPress event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5620665, (13,169), root1726,230),
state 0x810, button 8, same_screen YES
ButtonRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5620665, (13,169), root1726,230),
state 0x810, button 4, same_screen YES
ButtonRelease event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5620833, (13,169), root1726,230),
state 0x10, button 8, same_screen YES
MotionNotify event, serial 31, synthetic NO, window 0x3000001,
root 0x13b, subw 0x0, time 5624985, (12,169), root1725,230),
state 0x10, is_hint 0, same_screen YES
I also tried an older version of btnx, but no difference. In Gutsy everything works. I don't have the cruise buttons mapped to anything, they just send the scroll signal by default. I don't have lomoco, or any ~/.Xmodmap installed there either. I am currently on Hardy 64bit.
OK. If I run this from the terminal:
sudo xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7"
...all the buttons seem to work as they should. Xev is still picking up the extra commands though. I will try and set up a new profile with btnx now.
Saved to /etc/X11/Xmodmap and it is now working on startup.
I was having a problem with the Xmodmap file, but I think it was a syntax problem on my part.
Last edited by JayBee808; April 8th, 2008 at 01:12 PM.
I was checking the versions in svn and I am currently running version 0.4.7 from trunk. I was going to upgrade to 0.4.9, but is says I need libdaemon installed. Where can I find that? I have libdaemon0, but no libdaemon and haven't been able to find it.
Found it. Installed libdaemon-dev and it worked.
Last edited by dondad; April 9th, 2008 at 05:09 AM. Reason: Found it
Hi. First I'd like to thank you for this great Tool.
Unfortunately, I've got problems since I installed version 0.4.9. After reboot there are two btnx processes running, and I've no clue why. Any idea?
Bookmarks