Page 92 of 128 FirstFirst ... 42829091929394102 ... LastLast
Results 911 to 920 of 1273

Thread: btnx: Send keyboard and mouse combination events with mouse buttons

  1. #911
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by JayBee808 View Post
    Hi,

    First off, thank you so much for btnx. It is installed on all my Ubu machines, and it is working wonderfully. It is great for graphics software and just browsing the web. Thank you very much.

    I am using a Logitech mx500. I managed to get it working in Gutsy with earlier versions of btnx. All buttons, wheel, and cruise controls work as they should. Problem is I don't remember what all I did to make it work.

    I am now running Hardy, and the latest version of btnx. I am getting a page back command when I press the "Cruise Up" button. I installed lomoco, and ran the no-sms command, but I am still getting the page back.

    I also seem to have lost the ability to navigate in Nautilus with the thumb buttons. In gutsy, they worked with the same commands as Firefox. I tried pressing ALT-Arrow manually, and that does work .

    I would appreciate any advice to get this working 100% again. I am really happy with Hardy so far, my only problem is I lost some of my mouse buttons, which had been working great. I still have Gutsy installed on this machine, so I can check for settings there, I just don't know what to look for.

    Thank you all so much. This community rocks!
    Have you tried editing your xorg.conf file as described in the btnx manual's troubleshooting section 12.2.2?
    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!

  2. #912
    Join Date
    Apr 2008
    Beans
    2

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Yippee, this works! Thanks a lot!

    malungu =D>

  3. #913
    Join Date
    Oct 2007
    Location
    Midwestern USA
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by daou View Post
    Have you tried editing your xorg.conf file as described in the btnx manual's troubleshooting section 12.2.2?
    I copied the xorg.conf section directly from one of the Gutsy installs where the mouse works perfectly. Here is what I have there:

    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
    I adjusted the xmodmap settings to TRY to solve the double keystroke from the "up" cruise control. Here is what I did:

    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.

  4. #914
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by JayBee808 View Post
    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:

    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.
    Did you restart X or the computer after the xmodmap command? xmodmap changes are cleared after a reboot, you have to manually put in in you home directory .Xmodmap file.

    As for Nautilus, what function do you need and what combo are you using?
    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!

  5. #915
    Join Date
    Dec 2007
    Location
    Belgium
    Beans
    185

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    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.

  6. #916
    Join Date
    Oct 2007
    Location
    Midwestern USA
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    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:

    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 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.

    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.

  7. #917
    Join Date
    Oct 2007
    Location
    Midwestern USA
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    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.

  8. #918
    Join Date
    Jul 2006
    Beans
    38

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by daou View Post
    Have you tried editing your xorg.conf file as suggested in the btnx manual troubleshooting section?
    Yup. No luck.

  9. #919
    Join Date
    Apr 2007
    Location
    Washington state
    Beans
    350
    Distro
    Ubuntu Development Release

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    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

  10. #920
    Join Date
    Apr 2008
    Beans
    1

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    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?

Page 92 of 128 FirstFirst ... 42829091929394102 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •