Page 6 of 65 FirstFirst ... 456781656 ... LastLast
Results 51 to 60 of 650

Thread: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

  1. #51
    Join Date
    Aug 2005
    Beans
    10

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Quote Originally Posted by detyabozhye View Post
    Code:
    cd ~/
    wget http://bg.rifetech.com/click.tgz
    tar xvfz click.tgz
    mv click .click
    then compile it:

    Code:
    cd ~/.click
    make
    Then add this to you .xbindkeysrc (gedit ~/.xbindkeysrc):

    Code:
    "~/click/click 4"
      m:0x0 + b:9
    "~/click/click 5"
      m:0x0 + b:10
    Maybe I'm being dense, but shouldn't the line have ~/.click/click instead of ~/click/click as per the "mv click .click" above?

    Also, I added
    Code:
    "/usr/bin/xvkbd -xsendevent -text "\[Super_L]\[c]""
      m:0x0 + b:8
    to .xbindkeysrc to have the app switcher button pause amaroK. However, it just prints a "c". What am I doing wrong?

    Thanks

  2. #52
    Join Date
    Feb 2006
    Beans
    151
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Um when I open up xvkbd I dont see any windows key (super l) so Im guessing thats why that doesnt work...
    Never let your sense of morals prevent you from doing what's right.
    Isaac Asimov

  3. #53
    Join Date
    Oct 2005
    Location
    California
    Beans
    572
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    correct about the click, sorry bout that. I'm going to try the super thing.

    Edit: Can't really find a solution to the super key. -_-
    Last edited by detyabozhye; July 28th, 2006 at 01:08 AM.
    aka anime4christ (I'm a guy, btw.)
    My personal boring website ^_^
    Jesus has changed your life. Save changes? (Y/N)

  4. #54
    Join Date
    Aug 2005
    Beans
    10

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    I sorted out the Super situation by binding the amaroK dcop commands to mouse clicks instead of trying to get xvkbd to send the shortcut keystrokes. If anyone is curious, here is how I have set it up (m:0x40 refers to the Win key:
    Code:
    "/usr/bin/dcop amarok player playPause"
      m:0x0 + b:8
    "/usr/bin/dcop amarok player prev"
      m:0x40 + b:6
    "/usr/bin/dcop amarok player next"
      m:0x40 + b:7
    "/usr/bin/dcop amarok player seekRelative -5"
      m:0x40 + b:4
    "/usr/bin/dcop amarok player seekRelative 5"
      m:0x40 + b:5
    I've also extended cruise control a bit by having Shift + cruise control button execute page up or down:
    Code:
    "~/.click/click 4"
      m:0x0 + b:9
    "~/.click/click 5"
      m:0x0 + b:10
    "/usr/bin/xvkbd -xsendevent -text "\[Prior]""
      m:0x1 + b:9
    "/usr/bin/xvkbd -xsendevent -text "\[Next]""
      m:0x1 + b:10
    Thanks for the guide, it was indispensable in setting up my new mouse. One little thing you might consider changing... I didn't have the xserver-xorg-input-evdev package installed and it seems niether did a few others. Adding mention of it to the first post would eliminate some pain and suffering

    EDIT: I also got shift+Scroll wheel to increment system volume. DL this tiny C file, cd to the download dir and "make vol". Move the executable "vol" somewhere appropriate. Then throw this in your .xbindkeysrc:
    Code:
    "/usr/local/bin/vol +5"
      m:0x1 + b:4
    "/usr/local/bin/vol -5"
      m:0x1 + b:5
    Last edited by matsur; July 28th, 2006 at 03:41 AM.

  5. #55
    Join Date
    Dec 2005
    Location
    Tucson, AZ
    Beans
    1,365

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Here is my .xbindkeysrc

    "/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
    m:0x0 + b:6
    "/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
    m:0x0 + b:7
    It was just a copy and paste job. I did nothing to change it.

    Here is my xev output for my back key:

    LeaveNotify event, serial 29, synthetic NO, window 0x3400001,
    root 0x76, subw 0x0, time 3003977396, (56,175), root60,234),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus NO, state 16
    ^[[3D
    EnterNotify event, serial 29, synthetic NO, window 0x3400001,
    root 0x76, subw 0x0, time 3003977548, (56,175), root60,234),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus NO, state 16

    KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys: 118 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    And foward:

    LeaveNotify event, serial 29, synthetic NO, window 0x3400001,
    root 0x76, subw 0x0, time 3004013103, (134,177), root138,236),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus NO, state 16
    ^[[3C
    EnterNotify event, serial 29, synthetic NO, window 0x3400001,
    root 0x76, subw 0x0, time 3004013310, (134,177), root138,236),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus NO, state 16

    KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys: 118 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    This what you asked for right?

  6. #56
    Join Date
    Feb 2006
    Beans
    151
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Quote Originally Posted by matsur View Post
    I sorted out the Super situation by binding the amaroK dcop commands to mouse clicks instead of trying to get xvkbd to send the shortcut keystrokes. If anyone is curious, here is how I have set it up (m:0x40 refers to the Win key:
    Code:
    "/usr/bin/dcop amarok player playPause"
      m:0x0 + b:8
    "/usr/bin/dcop amarok player prev"
      m:0x40 + b:6
    "/usr/bin/dcop amarok player next"
      m:0x40 + b:7
    "/usr/bin/dcop amarok player seekRelative -5"
      m:0x40 + b:4
    "/usr/bin/dcop amarok player seekRelative 5"
      m:0x40 + b:5
    I've also extended cruise control a bit by having Shift + cruise control button execute page up or down:
    Code:
    "~/.click/click 4"
      m:0x0 + b:9
    "~/.click/click 5"
      m:0x0 + b:10
    "/usr/bin/xvkbd -xsendevent -text "\[Prior]""
      m:0x1 + b:9
    "/usr/bin/xvkbd -xsendevent -text "\[Next]""
      m:0x1 + b:10
    Thanks for the guide, it was indispensable in setting up my new mouse. One little thing you might consider changing... I didn't have the xserver-xorg-input-evdev package installed and it seems niether did a few others. Adding mention of it to the first post would eliminate some pain and suffering

    EDIT: I also got shift+Scroll wheel to increment system volume. DL this tiny C file, cd to the download dir and "make vol". Move the executable "vol" somewhere appropriate. Then throw this in your .xbindkeysrc:
    Code:
    "/usr/local/bin/vol +5"
      m:0x1 + b:4
    "/usr/local/bin/vol -5"
      m:0x1 + b:5
    Will this override the binds in firefox?
    Never let your sense of morals prevent you from doing what's right.
    Isaac Asimov

  7. #57
    Join Date
    Jul 2006
    Location
    Trinidad and Tobago
    Beans
    160
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Well this worked for me, thanks!

    Three things though:
    1. For some reason my MX500 came up as "B16_b_02 USB-PS/2 Optical Mouse" in /proc/bus/input/devices
    2. My cruise control buttons were working before so I didn't have to do the part with click
    3. I just reused the eventX that was listed in /proc/bus/input/devices so I wouldn't have to reboot. I hope it sticks.

    Again, thanks for a great HOWTO.

    - rmjb
    Registered Linux User #422402

  8. #58
    Join Date
    Aug 2005
    Beans
    10

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Quote Originally Posted by BatteryCell View Post
    Will this override the binds in firefox?
    The volume part will, but I never use Shift+scroll to go through history anyway. You could of course tie any modifier to it, the hard part was finding the C app to do it. Before I found it I wrote a script around amixer which didnt work very well.

  9. #59
    Join Date
    May 2006
    Beans
    129

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Thank you so much! I've been looking for this since MAY!

    Worked perfectly the second time I tried it. First error was completely my fault. But it leads me to a question/problem.
    before I changed anything:
    Code:
    enzo@reboot:~$ ls /dev/input/
    event0 event1 event2 mice mouse0 ts0
    Here was my error:
    I thought, I'll use event3 since it's next in line. Thing is, I didn't change your code (my fault for not reading thouroughly) where you change the xorg to something like Option "device" "/dev/input/event9". So I told it event3, but it was trying event9 and my X server crashed. Thank you for underlining the word WARNING. Really saved me.

    Here is my problem:
    Code:
    enzo@reboot:~$ ls /dev/input/
    event2  event9  mice  mouse0  ts0
    enzo@reboot:~$
    Where did event0 and 1 go and what did it do? Am I in trouble?

    Edit: I just noticed the volume dial on my keyboard doesn't work anymore. I have the Logitech Wireless MX duo (I believe it's the mx700 mouse, not sure about the keyboard).
    Last edited by Clay85; July 28th, 2006 at 02:48 PM.
    enzo@reboot:~$ whatis The_Meaning_Of_Life
    The_Meaning_Of_Life: 42

  10. #60
    Join Date
    Aug 2005
    Beans
    99
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: HOWTO: Configuring Logitech mice in Ubuntu 6.06: New Guide

    Thank you for this guide, I followed section 1 and it worked great for my Logitech MediaPlay mouse, and with a LOT less hassle and pain then using this project: http://daemon.prozone.ws/~david/projects/lmpcm_usb/.

    I don't want or need cruise control, but I would like my Tilt wheel to work. I looked at http://blog.blackdown.de/2005/03/01/tilt-wheel-mouse/
    , but adding in a ZAxisMap line makes X crash, so no go there. Any ideas on enabling the tilt wheel? Additionally, when I use windows, clicking the middle wheel in Firefox pops up a little "scroll up/down" icon and mouse movement then scrolls the page. Is this possible?

    XBindKeys is also working... so far I have this:
    Code:
    #Volume High
    "dcop kmix Mixer0 setVolume 1 70"
        m:0x0 + b:13
        VolUp 
    
    #Volume Low
    "dcop kmix Mixer0 setVolume 1 20"
        m:0x0 + b:14
        VolDown 
    
    #Toggle Pause Video
    "dcop kaffeine KaffeineIface pause"
        m:0x0 + b:17
        Pause
    This is actually also an issue-- the "Master" volume in KMix does nothing, my real volume is controlled by the PCM volume. But I couldn't find a dcop command to allow me to increase the volume of the PCM device (rather than set an absolute). dcop kmix Mixer0 increaseVolume only increases the "Master" volume, and no additional parameters I've found change that.

    The keys reported from xev are as follows: Left is b1, Middle b2, Right b3, scrollup b4, scrolldown b5, tilt left b11, tilt right b12, Media key b10, side forward b9, side back b8, Volume up b13, Volume down b14, Mediaforward b15, Mediaback b16, Play b17.

    Thank you all for any help... I consider myself fairly linux literate, but getting my media mouse working has been... harrowing.

Page 6 of 65 FirstFirst ... 456781656 ... 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
  •