Page 13 of 13 FirstFirst ... 3111213
Results 121 to 127 of 127

Thread: HOWTO: thumb buttons

  1. #121
    Join Date
    Jun 2005
    Beans
    12

    Thumb buttons on a Habu gaming mouse

    It took me all afternoon to get this to work, so I am posting here in the hopes of saving other people the time

    To make a Microsoft habu gaming mouse work in KDE:

    Step 1 - have KDE see the buttons

    Change xorg.conf (/etc/X11/xorg.conf) to look like this for the mouse:

    Code:
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"		"/dev/input/mice"
    	Option		"Protocol"		"ExplorerPS/2"
    	Option		"Buttons"		"7"
    	Option		"ZAxisMapping"		"6 7"
    	Option		"Emulate3Buttons" 	"false"
    EndSection
    note the protocol in particular, and also take out any reference to button mapping.

    Step 2 - modmap the mouse buttons

    create a modmap file (/etc/X11/Xsession.d/57Xmodmap) that looks like this:

    Code:
    #/bin/bash
    xmodmap -e "pointer = 1 2 3 6 7 4 5"
    imwheel -k -b "0 0 6 7"

    Step 3 - Start the imwheel program

    In my KDE autoexec folder (~/.kde/Autostart) there is a shell script (imwheel.sh*) that lloks like this:

    #/bin/bash
    imwheel -k
    Then in my home directory there is a config file for the imwheel program (~/.imwheelrc) that looks like this:

    Code:
    ".*"
    None,Thumb1,Alt_L|Left
    None,Thumb2,Alt_L|Right
    This allows the two thumb buttons to work as forward and back in all programs.

  2. #122
    Join Date
    Nov 2005
    Location
    NL
    Beans
    45
    Distro
    Ubuntu

    Re: HOWTO: thumb buttons

    To make a Microsoft habu gaming mouse work in Gnome:

    Step 1 - have Gnome see the buttons

    Change xorg.conf (/etc/X11/xorg.conf) to look like this for the mouse:

    First
    Code:
     sudo gedit /etc/X11/xorg.conf
    Then add:
    Code:
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"		"/dev/input/mice"
    	Option		"Protocol"		"ExplorerPS/2"
    	Option		"Buttons"		"7"
    	Option		"ZAxisMapping"		"6 7"
    	Option		"Emulate3Buttons" 	"false"
    EndSection
    note the protocol in particular, and also take out any reference to button mapping.

    Step 2 - modmap the mouse buttons

    create a modmap file

    Code:
    sudo gedit /etc/X11/Xsession.d/57Xmodmap
    and add this to the blank stuff you've just created:

    Code:
    #/bin/bash
    xmodmap -e "pointer = 1 2 3 6 7 4 5"
    imwheel -k -b "0 0 6 7"
    Step 3 - Install the imwheel program:
    Code:
    sudo apt-get install imwheel
    Step 4 - Autostart the imwheel program:

    Go to System -> Administration -> Sessions
    Click on "add", and add the imwheel program which is located in /usr/bin/imwheel

    Step 5 - Let the two thumb buttons work as forward and back in all programs:

    Open /etc/X11/imwheel/.imwheelrc
    Code:
    sudo gedit /etc/X11/imwheel/imwheelrc
    Add this to the file and save it:
    Code:
    ".*"
    None,Thumb1,Alt_L|Left
    None,Thumb2,Alt_L|Right
    Now ctrl-alt-bckspc, log into your machine and you're good to go!


    Thanks to Zeker who wrote most of this for KDE, I only adapted it for Gnome-users.
    Last edited by -::Bas::-; February 6th, 2008 at 11:12 PM.

  3. #123
    Join Date
    Jun 2005
    Beans
    12

    Re: HOWTO: thumb buttons

    Hey! Glad to be of help.

  4. #124
    Join Date
    Dec 2006
    Location
    Ontario, CA
    Beans
    26
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: HOWTO: thumb buttons

    Ok so I'm about fed up here, I've been messing with the settings for the longest and I've gone from having my mouse wheel scroll up/down, used as the forward/back buttons, and not working at all. I've changed the settings in 57xmodmap and that doesn't seem to have an effect on the side buttons. My system always reads my back side button as mouse3 (middle click) and my forward button as mouse2 (right click). I had it working before so I know for a fact that it's possible but I had to reconfigure my xorg to default settings because it wouldn't read my graphics card. In case it matters, I'm using an MX600 (it comes with the MX3200 desktop and I've tried changing the number of buttons from 7 to 9 to 10. Please help!

  5. #125
    Join Date
    Apr 2008
    Beans
    1

    Re: HOWTO: thumb buttons

    Thanks a ton Zeker and -::Bas::- !

    I tried other solutions for like an hour before I came to this one. It worked perfectly. Now I can finally navigate firefox with my side buttons =D

  6. #126
    Join Date
    Apr 2008
    Location
    Ottawa, Canada
    Beans
    71
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: thumb buttons

    Wow, not only did this not work but it screwed up my Ubuntu. Some Error message about not loading GNOME properly.

  7. #127
    Join Date
    Oct 2007
    Beans
    61

    Re: HOWTO: thumb buttons

    [B]panickedthumb THANK YOU ! YOU THE MAN!! I have a usb 5 button Microsoft intelli mouse that is now working w/ scroll back / forward buttons!!!! WOOT WHOOT

    some of step items were a little off on my system but you got me 95 % of the way there and the rest was intuitive to figure out
    my imwheelrc file was located @

    /etc/X11/imwheel/imwheelrc
    and xmodmap
    /etc/X11/Xsession.d/80ubuntu-xmodmap[B]

Page 13 of 13 FirstFirst ... 3111213

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
  •