Page 71 of 128 FirstFirst ... 2161697071727381121 ... LastLast
Results 701 to 710 of 1273

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

  1. #701
    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 Fazz Munkle View Post
    The installation didn't work for me. First it didn't put a btnx-config entry into the System Tools (so I don't know what command it needs) and then when I started btnx-config under sudo (because it wouldn't work correctly otherwise) it gave me all sorts of errors about btnx not running. Then I remembered I deleted the hand-typed startup program entry in the Sessions CP and I deleted the old menu entry in the System Tools menu (both from a previous install). I'm guessing I should have kept both entries, but shouldn't new subsequent installs re-enter the menu item (not the startup program item, that was my doing to get btnx to start at login)?

    I think this is waaaaaaaayyyy too much trouble just to get my MX Revolution to work correctly. I think I'll wait until Logitech gets off their hands and release a utility for their Linux customers.

    Please don't tell me I have to reinstall Ubuntu just to get this install to work correctly. If I have to I might as well get rid of Ubuntu altogether because I really don't want to reinstall. It's too inconvenient and I have things the way I want them and I really don't want to try to get back to everything from memory.
    btnx should start by its own after installing. You don't need to add an entry to the Sessions CP... besides, it wouldn't work because btnx requires root privileges to run.

    If you deleted the entry in the System tools menu, it might not show up again. I remember at least KDE has preferences which remembers what menu entries you delete, and hides them from you even if you reinstall the package. Try looking for how to undo this. I'll try looking as well later and reply if I find a solution.

    But you don't necessarily need the menu entry for btnx-config. You can always start it from command line with sudo. The menu entry is not a critical part of the package, just a convinience.

    And yes, it would be nice for Logitech to make tools for Linux. But looking at their Windows software, I'm not sure if they would be able to make anything other than a bloated program providing minimal functionality. They have never shown any interest in Linux compatibility.

    Could you post the errors you are getting when running btnx-config?
    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. #702
    Join Date
    Nov 2007
    Location
    Orlando, FL (USA)
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    Quote Originally Posted by daou View Post
    Try commenting out the cdrom from /etc/apt/sources.list
    If you don't know how, you can find instructions on how to do so on these forums.
    Okay, I'll try removing it out of the sources list and see what happens.

  3. #703
    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 tim71 View Post
    Seems like it's working fine - even made debs and installed these (btw dpkg-buildpackage failed with fakeroot).

    P.S. By the way this force release property might help with wheel tilt (configured as Alt+Left/Alt+Right) kinda'... "sticking" - wheel is released, but sometimes rarely command is repeating itself and with a web browser 'Back' command it might mess things up a little (with "old btnx").
    I used checkinstall the make the 0.4.4 debs available on my server. It worked without problems.

    And yes, the force release was implemented to fix that problem. I've no longer had any problems with stuck buttons that use the force release property.
    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!

  4. #704
    Join Date
    Nov 2007
    Beans
    47

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

    Quote Originally Posted by daou View Post
    Post the output of 'cat /proc/bus/input/devices'
    Sorry for the late reply. The problems have gotten worse, now btnx only recognizes the left and right tilts of the index wheel, while ignoring all the other buttons.

    Here's the output:

    I: Bus=0017 Vendor=0001 Product=0001 Version=0100
    N: Name="Macintosh mouse button emulation"
    P: Phys=
    S: Sysfs=/devices/virtual/input/input0
    U: Uniq=
    H: Handlers=mouse0 event0
    B: EV=7
    B: KEY=70000 0 0 0 0 0 0 0 0
    B: REL=3

    I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/devices/platform/i8042/serio0/input/input1
    U: Uniq=
    H: Handlers=kbd event1
    B: EV=120013
    B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
    B: MSC=10
    B: LED=7

    I: Bus=0003 Vendor=046d Product=c517 Version=0110
    N: Name="Logitech USB Receiver"
    P: Phys=usb-0000:00:0b.0-1/input0
    S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0/input/input2
    U: Uniq=
    H: Handlers=kbd event2
    B: EV=120013
    B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
    B: MSC=10
    B: LED=1f

    I: Bus=0003 Vendor=046d Product=c517 Version=0110
    N: Name="Logitech USB Receiver"
    P: Phys=usb-0000:00:0b.0-1/input1
    S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.1/input/input3
    U: Uniq=
    H: Handlers=kbd mouse1 event3
    B: EV=1f
    B: KEY=37fff 4ac332f bf084444 0 0 ff0001 1f84 8a37cc00 667bfa dd71dfed 9e0000 0 0 0
    B: REL=1c3
    B: ABS=1 0
    B: MSC=10

    I: Bus=0003 Vendor=046d Product=c51a Version=0111
    N: Name="Logitech USB Receiver"
    P: Phys=usb-0000:00:0b.0-4/input0
    S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb1/1-4/1-4:1.0/input/input4
    U: Uniq=
    H: Handlers=mouse2 event4
    B: EV=17
    B: KEY=ffff0000 0 0 0 0 0 0 0 0
    B: REL=143
    B: MSC=10

    I: Bus=0003 Vendor=046d Product=c51a Version=0111
    N: Name="Logitech USB Receiver"
    P: Phys=usb-0000:00:0b.0-4/input1
    S: Sysfs=/devices/pci0000:00/0000:00:0b.0/usb1/1-4/1-4:1.1/input/input5
    U: Uniq=
    H: Handlers=kbd event5
    B: EV=1f
    B: KEY=37fff ac3027 bf004444 0 0 1 f84 8a37c000 667bfa d9415fed 8e0000 0 0 0
    B: REL=40
    B: ABS=1 0
    B: MSC=10

    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/devices/platform/pcspkr/input/input6
    U: Uniq=
    H: Handlers=kbd event6
    B: EV=40001
    B: SND=6

    I: Bus=0019 Vendor=0000 Product=0002 Version=0000
    N: Name="Power Button (FF)"
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/virtual/input/input7
    U: Uniq=
    H: Handlers=kbd event7
    B: EV=3
    B: KEY=100000 0 0 0

    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button (CM)"
    P: Phys=PNP0C0C/button/input0
    S: Sysfs=/devices/virtual/input/input8
    U: Uniq=
    H: Handlers=kbd event8
    B: EV=3
    B: KEY=100000 0 0 0

  5. #705
    Join Date
    Apr 2007
    Beans
    68

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

    Thanks for this thread. This may be what I am looking for.

    I am trying to use my thumb buttons to cut (button 8) and then paste (button 9) into a folder in nautilus file browser. I would like to be able to do each action with one button click. For example instead of selecting the file and then selecting cut(or cont x) I want to just hit button 8, and instead of selecting a folder and then right clicking and selecting paste in folder, I would like to hit button 9. It would also be great to be able to just select and paste if the mouse is not over a folder.

    I have tried xbindkeys working but it still requires sever clicks or kestrokes to do exactly what I need.

    This may be too much to ask but if anyone has done anything similar, let me know.

    Thanks P.J.

  6. #706
    Join Date
    Jan 2006
    Beans
    56

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

    Thank you for this excellent tutorial for this great software - Everything worked swimmingly on my main Ubuntu box, but when I try to install the dependencies on my Asus Eee running Xubuntu, I get:

    Code:
    holotone@wheee:~$ sudo apt-get install build-essential libgtk2.0-0 libgtk2.0-dev libglade2-0 libglade2-dev pkg-config
    [sudo] password for holotone:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libgtk2.0-0 is already the newest version.
    libgtk2.0-0 set to manual installed.
    libglade2-0 is already the newest version.
    libglade2-0 set to manual installed.
    The following packages were automatically installed and are no longer required:
      python-pyogg python-pyvorbis python-mutagen python-pysqlite2
      python-elementtree
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      dpkg-dev g++ g++-4.1 libatk1.0-dev libc6-dev libcairo2-dev libexpat1-dev
      libfontconfig1-dev libfreetype6-dev libglib2.0-dev libice-dev
      libpango1.0-dev libpng12-dev libsm-dev libstdc++6-4.1-dev libx11-dev
      libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev
      libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-dev
      libxrandr-dev libxrender-dev linux-libc-dev x11proto-composite-dev
      x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev
      x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
      x11proto-xinerama-dev xtrans-dev zlib1g-dev
    Suggested packages:
      debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc glibc-doc
      manpages-dev libcairo2-doc glade glade-gnome libglib2.0-doc libgtk2.0-doc
      libpango1.0-doc imagemagick libstdc++6-4.1-doc
    The following NEW packages will be installed:
      build-essential dpkg-dev g++ g++-4.1 libatk1.0-dev libc6-dev libcairo2-dev
      libexpat1-dev libfontconfig1-dev libfreetype6-dev libglade2-dev
      libglib2.0-dev libgtk2.0-dev libice-dev libpango1.0-dev libpng12-dev
      libsm-dev libstdc++6-4.1-dev libx11-dev libxau-dev libxcomposite-dev
      libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev
      libxft-dev libxi-dev libxinerama-dev libxml2-dev libxrandr-dev
      libxrender-dev linux-libc-dev pkg-config x11proto-composite-dev
      x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev
      x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
      x11proto-xinerama-dev xtrans-dev zlib1g-dev
    0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
    Need to get 19.7MB/23.9MB of archives.
    After unpacking 80.3MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Media change: please insert the disc labeled
     'Xubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)'
    in the drive '/cdrom/' and press enter
    Clearly this is a problem for me as I do not even have a CD-Rom on this lil' guy.

    Any suggestions?

  7. #707
    Join Date
    Feb 2007
    Location
    Vaasa, Finland
    Beans
    37
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    You could delete CD-ROM from Synaptics, so it wouldn't try to use CD-ROM anymore as repository holder.

  8. #708
    Join Date
    Jan 2006
    Beans
    56

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

    Quote Originally Posted by olmari View Post
    You could delete CD-ROM from Synaptics, so it wouldn't try to use CD-ROM anymore as repository holder.
    Aha! Fixed that right up - Does Xubuntu always require the CD-ROM to be available by default, or is this something specific to eeeXubuntu?

    Thanks!

  9. #709
    dlpfmVfH is offline Gee! These Aren't Roasted!
    Join Date
    Feb 2005
    Beans
    160

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

    Dear Daou,

    I'm trying to use btnx with a Logitech G9 Laser Mouse,
    I got al buttons working in X. (see this how to I made:
    http://ubuntuforums.org/showthread.php?t=652092)

    But btnx doesn't recognize the mouse.
    So I can't reconfigure the buttons.

    Is there a way to get the G9 Laser mouse and btnx working together? And what kind of information do you need to get it working?

  10. #710
    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 aboe View Post
    Dear Daou,

    I'm trying to use btnx with a Logitech G9 Laser Mouse,
    I got al buttons working in X. (see this how to I made:
    http://ubuntuforums.org/showthread.php?t=652092)

    But btnx doesn't recognize the mouse.
    So I can't reconfigure the buttons.

    Is there a way to get the G9 Laser mouse and btnx working together? And what kind of information do you need to get it working?
    Do you still have your settings from that howto? You need to remove the udev rule and reconfigure the xorg.conf InputDevice section according to the btnx manual's troubleshooting section 12.2.1.

    so change it to:
    Code:
    Section "InputDevice"
        Identifier "Logitech Mouse"
        Driver "mouse" 
        Option "Protocol"     "auto"    
        Option "ZAxisMapping"    "4 5"    
        Option "Device"       "/dev/input/mice"
        Option "Emulate3Buttons" "no"
    EndSection
    First make sure to restart udev and X (or reboot to be safe).
    Also try setting Option "Device" to "/dev/psaux" if it doesn't work. Tell me what happens.
    Last edited by daou; January 8th, 2008 at 07:16 PM.
    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!

Page 71 of 128 FirstFirst ... 2161697071727381121 ... 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
  •