Page 16 of 65 FirstFirst ... 6141516171826 ... LastLast
Results 151 to 160 of 650

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

  1. #151
    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

    Can you give me your cat /proc/bus/input/devices?
    aka anime4christ (I'm a guy, btw.)
    My personal boring website ^_^
    Jesus has changed your life. Save changes? (Y/N)

  2. #152
    Join Date
    Apr 2006
    Beans
    4

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

    I: Bus=0011 Vendor=0001 Product=0001 Version=ab54
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/class/input/input0
    H: Handlers=kbd event0
    B: EV=120013
    B: KEY=4 2000000 3802078 fb40f001 72ffffdf ffefffff ffffffff ffffffff
    B: MSC=10
    B: LED=7

    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/class/input/input1
    H: Handlers=kbd event1
    B: EV=40001
    B: SND=6

    I: Bus=0011 Vendor=0002 Product=000a Version=0000
    N: Name="TPPS/2 IBM TrackPoint"
    P: Phys=isa0060/serio1/input0
    S: Sysfs=/class/input/input2
    H: Handlers=mouse0 event2 ts0
    B: EV=7
    B: KEY=70000 0 0 0 0 0 0 0 0
    B: REL=3

    I: Bus=0003 Vendor=046d Product=c01e Version=2200
    N: Name="Logitech USB-PS/2 Optical Mouse"
    P: Phys=usb-0000:00:1d.1-1/input0
    S: Sysfs=/class/input/input3
    H: Handlers=mouse1 event3 ts1
    B: EV=7
    B: KEY=ff0000 0 0 0 0 0 0 0 0
    B: REL=103

    I: Bus=0011 Vendor=1014 Product=5450 Version=0001
    N: Name="/usr/sbin/thinkpad-keys"
    P: Phys=
    S: Sysfs=/class/input/input4
    H: Handlers=kbd event4
    B: EV=3
    B: KEY=3 1 20000000 100000 e0000 0 0 0

  3. #153
    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

    OK, try this in xorg.conf (remember to backup):

    In Section "ServerLayout", replace:

    Code:
    InputDevice "Configured Mouse"
    with:

    Code:
    InputDevice "Configured Mouse"
    InputDevice "Logitech Mouse"
    Add a section like this:

    Code:
    Section "InputDevice"
           Identifier     "Configured Mouse"
           Driver         "mouse"
           Option         "CorePointer"
           Option         "Device" "/dev/input/mouse0" #note the device option
           Option         "ZAxisMapping" "4 5"
    EndSection
    Then change these lines in your Logitech mouse section:

    Code:
            Identifier "Configured Mouse"
            Driver "evdev"
            Option "CorePointer"
    to:

    Code:
            Identifier "Logitech Mouse"
            Driver "evdev"
            Option "SendCoreEvents" "True"
    (The Driver "evdev" part doesn't change, but it just happens to be right in between the lines that do need to be changed.)
    aka anime4christ (I'm a guy, btw.)
    My personal boring website ^_^
    Jesus has changed your life. Save changes? (Y/N)

  4. #154
    Join Date
    Apr 2006
    Beans
    4

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

    THANKS! works perfectly! Does the corepointer option say that its the main mouse pointer? Just wanted to learn what it was that I changed.

  5. #155
    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

    You're welcome! ^_^ Yes, that's exactly what CorePointer means.
    aka anime4christ (I'm a guy, btw.)
    My personal boring website ^_^
    Jesus has changed your life. Save changes? (Y/N)

  6. #156
    Join Date
    May 2006
    Beans
    8

    Configuring Logitech v500 mice in Ubuntu 6.06: New Guide

    For Logitech V500 mouse you can use this .xconfigrc:

    I remapped the Left/Right scroll to Cursorkeys Left/Right
    This scrolls to Left/Right e.g. in Firefox instead of PageBack/PageForward

    To autoload xbindkeys at startup go to
    System -> Preferences -> Sessions -> "Startup Programs" Tab -> Add -> and type xbindkeys

    ###########################
    # xbindkeys configuration #
    ###########################
    #
    # Version: 0.1.3
    #
    # If you edit this, do not forget to uncomment any lines that you change.
    # The pound(#) symbol may be used anywhere for comments.
    #
    # A list of keys is in /usr/include/X11/keysym.h and in
    # /usr/include/X11/keysymdef.h
    # The XK_ is not needed.
    #
    # List of modifier (on my keyboard):
    # Control, Shift, Mod1 (Alt), Mod2 (NumLock),
    # Mod3 (CapsLock), Mod4, Mod5 (Scroll).
    #
    # Another way to specifie a key is to use 'xev' and set the
    # keycode with c:nnn or the modifier with m:nnn where nnn is
    # the keycode or the state returned by xev
    #
    # This file is created by xbindkey_config
    # The structure is :
    # # Remark
    # "command"
    # mxx + cxx
    # Shift+...




    #keystate_numlock = enable
    #keystate_scrolllock = enable
    #keystate_capslock = enable


    #ScrollLeft-ButtonPress - Ignore this event!
    ""
    m:0x0 + b:7 (mouse)

    #ScrollLeft-ButtonRelease
    #Just send CursorKey Left
    "/usr/bin/xvkbd -xsendevent -text "\[Left]""
    m:0x0 + b:11 (mouse)



    #ScrollRight-ButtonPress - Ignore this event!
    ""
    m:0x0 + b:6 (mouse)
    #ScrollRight-ButtonRelease
    #Just send CursorKey Right
    "/usr/bin/xvkbd -xsendevent -text "\[Right]""
    m:0x0 + b:12 (mouse)

    #
    # End of xbindkeys configuration
    Last edited by nanocosm; August 23rd, 2006 at 09:35 AM.

  7. #157
    Join Date
    Jul 2006
    Location
    France
    Beans
    74
    Distro
    Ubuntu 8.04 Hardy Heron

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

    Nobody has a G5 mouse here ?
    If yes, do you have all buttons functional ?
    Can you give the scipt you use ?
    Nous avons trop tendance à devenir pareils aux pires de nos ennemis.
    Coda Bene Gesserit

  8. #158
    Join Date
    Jul 2006
    Location
    San Diego
    Beans
    94
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Quote Originally Posted by detyabozhye View Post
    Um, I think someone had trouble with using it with a KVM when he would switch then switch back. AFAIK, that should be fixed in Edgy.
    I got it to work fine with my KVM. The only thing different was that it detects as "ImExPS/2 Generic Explorer Mouse", so the rule you make has to reflect that instead of the Logitech USB or whatever. Again, thanks for the How-to.
    Drunken child easy.

  9. #159
    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

    Quote Originally Posted by MilesTEG1 View Post
    Nobody has a G5 mouse here ?
    If yes, do you have all buttons functional ?
    Can you give the scipt you use ?
    Well, do Section 1, then give me your xev output for the side button and other special buttons, and I'll tell you how to set up your .xbindkeysrc.
    aka anime4christ (I'm a guy, btw.)
    My personal boring website ^_^
    Jesus has changed your life. Save changes? (Y/N)

  10. #160
    Join Date
    Jul 2006
    Location
    France
    Beans
    74
    Distro
    Ubuntu 8.04 Hardy Heron

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

    Quote Originally Posted by detyabozhye View Post
    Well, do Section 1, then give me your xev output for the side button and other special buttons, and I'll tell you how to set up your .xbindkeysrc.
    Hello,
    I follow this instructions : Logitech G5 setpoint - enable all buttons
    Quote Originally Posted by shiver View Post
    Sure. You need to use the evdev driver to make them all work. Apparently the xorg-evdev package included in dapper is/was broken. I don't know if it still is, I installed an old version as instructed in the howto I used. I can't remember where it was so I uploaded the copy I kept.

    Right-click - Save As...

    It's a 32-bit package, though, you'll have to try something else if you have a 64-bit install.


    When you have the driver installed, you need a device name for your mouse. Since you have the same mouse I believe it's the same as mine, but to be sure, type
    Code:
    cat /proc/bus/input/devices
    The output is something like this:

    I: Bus=0003 Vendor=046d Product=c041 Version=4600
    N: Name="Logitech USB Gaming Mouse"
    P: Phys=usb-0000:00:11.2-2/input0
    S: Sysfs=/class/input/input1
    H: Handlers=mouse0 event1
    B: EV=7
    B: KEY=ffff0000 0 0 0 0 0 0 0 0
    B: REL=143

    The bolded part is what you need. Now, create a new udev rule for your mouse with
    Code:
    sudo nano /etc/udev/rules.d/10-mouse.rules
    The filename above is just an example that should work.
    Put this in the file:
    Code:
    KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB Gaming Mouse", NAME="input/g5"
    Note the name. It must be the same the /proc output gives you. The NAME with caps is the device name you give to the mouse. You can make up your own or use the one in my example.

    Then insert this to /etc/X11/xorg.conf, note the device name if you used something else than in the example before. It's also a good idea to backup the file in case something goes wrong.

    Code:
    Section "InputDevice"
            Identifier  "Logitech G5"
            Driver      "evdev"
            Option      "CorePointer"
            Option      "Device" "/dev/input/g5"
    EndSection
    Comment out your old mouse settings (so that everything from Section to EndSection has a # in front of it). Then find the Section named ServerLayout. Remove the reference to the old mouse settings and add the new ones, so it's something like this:

    Code:
    Section "ServerLayout"
            (other lines...) 
            InputDevice    "Logitech G5" "CorePointer"
    EndSection
    After that, you should have all the buttons recognized, including tilting the wheel horizontally. You need to restart something to make the new udev rule to apply. I don't know what exactly so for the sake of simplicity, reboot.

    X should start, if it doesn't, then revert to your backup xorg.conf and try to find out what went wrong. Now you can configure the buttons. All the guides I have read say you have to use xkbdkeys or whatever it was to map keys to get for example back/forward working in firefox but I've never needed it.
    After rebooting, my G5 mouse works great.
    In firefox I have the left/right middle button function.
    But the side button don't work. The resolution buttons don't allow me more resolution like in windows...

    Here you have the xev output :
    Whell Up -> button 4
    Whell Down -> button 5
    Whell Left -> button 6
    Whell Right -> button 7
    Left Clic -> button 1
    Middle Clic -> button 2
    Right Clic -> button 3
    Side button -> button 8

    But the 2 others buttons (for changing resolution) don't allow me to have more than 3 resolutions...

    For the Whell left & right, can it be possible to have this function in nautilus and other program ?
    How can I set it to only few programs ?

    Ps : I don't use the following instructions, because with it i loose the autoscroll capabilities in firefox...
    I just used xmodmap so that the thumb button pastes highlighted text and opens links in new tabs in firefox, tilting the wheel horizontally is back/fwd in firefox and horizontal scroll in other apps.
    To get this, type
    Code:
    xmodmap -e "pointer = 1 3 8 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32"
    If you want a different configuration, try rearranging the first 8 numbers and see what which button does (I have never really been able to understand the logic in it, I just use trial and error. Maybe I'm just too dumb.)

    You might want to add that command to run on startup. Chances are you are using Gnome, which I can't use that much. On KDE you can do it with an autostart config file:

    Code:
    nano ~/.kde/Autostart/mouse.desktop
    Add this:

    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Exec=xmodmap -e "pointer = insertyourbuttonmappingshere"
    GenericName[en_US]=
    StartupNotify=false
    Terminal=false
    TerminalOptions=
    Type=Application
    X-KDE-autostart-after=kdesktop"
    Thanks
    ++
    Miles
    Last edited by MilesTEG1; August 24th, 2006 at 06:13 PM.
    Nous avons trop tendance à devenir pareils aux pires de nos ennemis.
    Coda Bene Gesserit

Page 16 of 65 FirstFirst ... 6141516171826 ... 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
  •