Page 98 of 128 FirstFirst ... 488896979899100108 ... LastLast
Results 971 to 980 of 1273

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

  1. #971
    Join Date
    Jul 2006
    Beans
    38

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

    Quote Originally Posted by daou View Post
    What happens if you disable hotplugging from the advanced options in btnx-config and restart btnx or reboot?

    EDIT: I found the bug in btnx that was causing the other process. I'll release a fix later.
    EDIT: Fix released as btnx 0.4.11
    Hey hey! 0.4.11 fixes my multiple events problem as well! Cheers!
    Edit: Nevermind, apparently that was an illusion.
    Last edited by Jorenko; April 30th, 2008 at 12:23 PM.

  2. #972
    Join Date
    Jul 2005
    Beans
    574
    Distro
    Ubuntu 8.04 Hardy Heron

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

    the new version fixed the duplicate process bug
    hardy 64 bit

  3. #973
    Join Date
    Mar 2008
    Beans
    9

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

    I am still baffled as to why this is not included with the distro of Ubuntu. Does anyone even have a mouse with only 2 buttons and a wheel anymore??

  4. #974
    Join Date
    Aug 2007
    Beans
    19

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

    Quote Originally Posted by daou View Post
    Did you try with the new deb packages first? I just made them yesterday and only tested the Feisty version, but that worked.
    Yea, I get the same result.

    If you run
    Code:
    $ sudo /etc/init.d/btnx restart
    do you get an error?
    I get this:
    Code:
    Restarting btnx : Button Extension - mouse button rerouter daemon
     btnx: Failed to kill previous btnx processes
    btnx successfully stopped
     btnx: uinput modprobed successfully.
     btnx: Opening config file: /etc/btnx/btnx_config_Logitech MX Revolution
     btnx: No startup errors.
     btnx: Parent done.
    btnx successfully started
    If you run
    Code:
    $ dpkg -s btnx
    do you see this in the output?
    Code:
    Conffiles:
     /etc/init.d/btnx 3ed4871581b5881541a2c795114641bf
     /etc/btnx/events 8fae5cc25dd25de132da8b4da727e11a
    Yea:
    Code:
    Conffiles:
     /etc/btnx/events 8fae5cc25dd25de132da8b4da727e11a
     /etc/init.d/btnx 3ed4871581b5881541a2c795114641bf
    And do you see a file called btnx with the command
    Code:
    $ ls /etc/init.d
    Yea I made sure to check this as soon as I was getting this error. Any ideas?

  5. #975
    Join Date
    Dec 2005
    Location
    What a weird trip.....
    Beans
    4,676
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Quote Originally Posted by daou View Post
    If you have hot-plugging enabled in btnx-config, btnx should autostart when your mouse is detected by the system. And in the last sentence you wrote, does this mean the 100% CPU bug still lives (does it appear after you turn off the mouse)?
    I will try the hot-plugging fix to see if this works for me.

    No, the 100%cpu bug has not returned, I just didn't want to get a variation of that bug back while trying to add another feature.

    - Thank you, Olli, for a wonderful piece of software. This really works great, just the way you said it would.
    If at first you don't succeed - just buy the company and tell them to make the one you want.

  6. #976
    Join Date
    Dec 2005
    Location
    What a weird trip.....
    Beans
    4,676
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Quote Originally Posted by steveneddy View Post
    I will try the hot-plugging fix to see if this works for me.
    Sorry to say that hot-plugging was already checked. I turned off the mouse anyway and when I turned it back on, I had to manually start btnx to get my mouse button features back.
    If at first you don't succeed - just buy the company and tell them to make the one you want.

  7. #977
    Join Date
    May 2008
    Beans
    2

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

    Quote Originally Posted by hanlect View Post
    Anyway try rebinding the Search function using gnome-keybinding-properties, it won't solve the middle_click problem but at least you won't see the search interface every time you press the middle button.
    Has anyone found a solution for this yet ? According to xev my middle button is being detected as a KeyPress instead of a Button Press. This used to work in Gutsy.

    Code:
    KeyPress event, serial 30, synthetic NO, window 0x4400001,
        root 0x253, subw 0x0, time 2961965, (124,136), root:(129,185),
        state 0x10, keycode 229 (keysym 0x0, NoSymbol), same_screen YES,
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyRelease event, serial 30, synthetic NO, window 0x4400001,
        root 0x253, subw 0x0, time 2961965, (124,136), root:(129,185),
        state 0x10, keycode 229 (keysym 0x0, NoSymbol), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False

  8. #978
    Join Date
    Apr 2008
    Beans
    7
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Hello,

    I'm experiencing a strange issue with btnx 0.4.11 & btnx-config 0.4.9 and command execution.

    I was looking for a way to implement a left double-clic function to my mouse middle button. Reading around I found many ways to do this. I choose a combination of btnx/btnx-config + xte.

    I had no problem setting up btnx/btnx-config and mapping buttons to keys works great .

    The xte command line requires quotation so I had to setup a script for btnx to execute. The content of the script file (DoubleClic.sh) is :

    Code:
    #!/bin/sh
    xte 'mouseclick 1' 'mouseclick 1'
    it's launched with middle-button command :

    Code:
    /usr/bin/sudo -u odierick /home/odierick/bin/DoubleClic.sh
    UID is 0.

    I restarted btnx with the restart btnx button in btnx-config but there was no double-click . Then I restarted btnx manually with

    Code:
    sudo /etc/init.d/btnx restart
    After that it worked, I thought btnx-config couldn't restart btnx as I read other people were unable to do it. Unfortunately, after reboot(I did not want to restart manually) the mouse had lost its double-click function . Restarting with btnx-config did not help but restarting manually restored the function.

    I found it unpractical to restart each time so I investigated further. I added some logging facility to my script
    Code:
    echo 'whatever'>> /home/odierick/file.log
    to check wether it was executed or not. After reboot I tried to middle-click on a file in nautilus and nothing happened. I checked file.log and it contained 'whatever'. I played around with this replacing xte with xwininfo, xprop and gedit and redirected output of these commands to file.log. Neither of these commands echoed or did anything though 'whatever' got written. Eventualy I deduced that the script gets properly executed but for some reason could not call any of the X apps. After a manual restart it does work however.

    So my problem lies in executing X apps from a script file doesn't work unless btnx is (re)started manually.

    Can you give me some insight? Has someone got this to work ?

  9. #979
    Join Date
    Sep 2006
    Beans
    112

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

    Quote Originally Posted by jamesford View Post
    maxxum, it works on 64 bit hardy, , and perfectly too. no xmodmap or xorg.conf edit needed either. thats with an mx revolution. cant speak for your mouse but btnx certainly works in 64 bit hardy as it did in 64 bit gutsy
    Thats good to know! Well I have the MX Revolution mouse now and I am trying to install in 8.04 32 bit as of now. I tried using the binary (4.0.9) and then by compiling the source of 4.0.11 as described in the first page. In both cases btnx does not start.
    Code:
     max@Ubu804:~/btnx-0.4.11/btnx-config-0.4.9$ btnx
    bash: /usr/sbin/btnx: No such file or directory
    max@Ubu804:~/btnx-0.4.11/btnx-config-0.4.9$ sudo btnx
     btnx: uinput modprobed successfully.
     btnx: Opening config file: /etc/btnx/btnx_config_Default
     btnx: Could not read the config file: No such file or directory
     btnx: Configuration file error.
    max@Ubu804:~/btnx-0.4.11/btnx-config-0.4.9$ btnx-config
    /usr/share/btnx-config/btnx-config.glade
    
    (btnx-config:22040): Gtk-WARNING **: Unable to locate theme engine in module_path: "cleanice",
    
    (btnx-config:22040): Gtk-WARNING **: Unable to locate theme engine in module_path: "cleanice",
    Warning: configuration file for configuration "Default" does not exist. Deleting configuration.
    Aborted
    max@Ubu804:~/btnx-0.4.11/btnx-config-0.4.9$ sudo btnx-config
    /usr/share/btnx-config/btnx-config.glade
    Warning: configuration file for configuration "Default" does not exist. Deleting configuration.
    Aborted
    Does it have anything to do with the theme I am using? I am currently using Mac4Lin compiz/emerald theme with customized icon theme etc.

  10. #980
    Join Date
    Jul 2007
    Beans
    78

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

    Fantastic improvements since last version I used... Congratulations!!

Page 98 of 128 FirstFirst ... 488896979899100108 ... 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
  •