Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 127

Thread: HOWTO: thumb buttons

  1. #1
    Join Date
    Oct 2004
    Beans
    Hidden!

    HOWTO: Intellimouse/Mouseman extra buttons config

    Have a Microsoft Intellimouse or a Logitech Mouseman? This will get you going with using the side buttons.

    You can also find this document on the wiki at:
    https://www.ubuntulinux.org/wiki/Int...ForwardButtons

    Step 1: Editing the config file:
    Edit your /etc/X11/XF86Config-4 or /etc/X11/xorg.conf file so that the mouse section looks like this:
    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          "Resolution"            "100"
    EndSection
    Note1: The resolution option is optional, that's just for mouse accuracy.
    Note2: even if you're using a Logitech Mouseman with only one thumb button, this will still work.

    Step 2: Installing imwheel:
    Now we need to install imwheel using apt-get:
    Code:
    $ sudo apt get install imwheel
    or by using synaptic to find and install it.

    Step 3: Creting the imwheel config file
    Create a file called /etc/X11/imwheelrc using your favorite text editor, in this case, nano:
    Code:
    $ sudo nano /etc/X11/imwheelrc
    and put this text in it:
    Code:
    ".*"
    None,Up,Alt_L|Left
    None,Down,Alt_L|Right

    Step 4-1: Configuration for GDM, KDM, and XDM
    If you don't use GDM, KDM, or XDM (if you log in through a graphical interface, you DO use one of these), skip this step. If you do, create a file called "57xmodmap" in /etc/X11/Xsession.d/:
    Code:
     sudo nano /etc/X11/Xsession.d/57xmodmap
    and put this code in it:
    Code:
    #/bin/bash
    xmodmap -e "pointer = 1 2 3 6 7 4 5"
    Save the file and then change the permissions so that it can be executed:
    Code:
    sudo chmod 777 /etc/X11/Xsession.d/57xmodmap
    To explain the naming convention, the number at the beginning tells the xsession when to load a process. If you list the contents of /etc/X11/Xsession.d/ you'll notice that the file starting with 60 is the imwheel script. It was automatically created when installed. We need the xmodmap to run before that, so I chose 57. Now log out and log back in to get everything working. You should now be able to use the forward and back buttons (or just the back button, depending on how many buttons your mouse has). Log out and log back in to see the changes.

    Step 4-2: Editing for startx users
    If you use GDM, KDM, or XDM, you're already done. If you use text mode login and use startx to enter X, put the following in your /home/username/.xinitrc file, before the line that starts your window manager (which you have to have if you're using an .xinitrc, as far as I can tell):
    Code:
    xmodmap -e "pointer = 1 2 3 6 7 4 5" &
    exec imwheel -k -b "67" &
    You may have to make this file. If so, be sure you put in
    Code:
    gnome-session &
    or
    Code:
    startkde &
    or whatever command your Window Manager uses at the very end of it. Log out and log back in to see the changes.

    This concludes the tutorial. Maybe that expensive mouse wasn't a waste after all!
    Last edited by TravisNewman; November 11th, 2004 at 07:18 PM. Reason: Changing title to be more descriptive

  2. #2
    Join Date
    Oct 2004
    Beans
    Hidden!

    Re: Intellimouse/Mouseman extra buttons config

    Edited to include instructions for GDM users.
    See if there's anything you think I should add/remove or if there's any easier ways to do some of these things.

    I hope this helps some people with their mouse problems! Maybe I'll even get stickied!
    Last edited by TravisNewman; November 10th, 2004 at 06:54 PM.

  3. #3
    Join Date
    Oct 2004
    Beans
    Hidden!

    Re: Intellimouse/Mouseman extra buttons config

    Could a mod please change the title of this topic to "Intellimouse/Mouseman extra buttons config"? I changed it in the title on the top post, but I guess that just changes the title of the first post and not the topic title itself. Thanks!

  4. #4
    Join Date
    Nov 2004
    Location
    Detroit, MI
    Beans
    19
    Distro
    Ubuntu

    Re: HOWTO: Intellimouse/Mouseman extra buttons config

    Hey thumb man.

    The GDM instructions work great! This was the last major thing that was bugging me in Ubuntu, so I'm a happy man.

    I signed up to the forums to elect this as a sticky. Is this all I need to do?

    Thanks again!

  5. #5
    Join Date
    Oct 2004
    Beans
    Hidden!

    Re: HOWTO: Intellimouse/Mouseman extra buttons config

    Quote Originally Posted by volvoguy
    Hey thumb man.

    The GDM instructions work great! This was the last major thing that was bugging me in Ubuntu, so I'm a happy man.

    I signed up to the forums to elect this as a sticky. Is this all I need to do?

    Thanks again!
    Thanks for the support volvoguy. I guess more people need to think that its useful before it'll get stickified. I think it's useful, you think its useful, but what do other people think? If you really like it you can give it a high rating (see the rating section at the top). I don't know if that's what they base what gets sticky and what doesn't, but hey, it's still giving the thread a high rating.

  6. #6
    Join Date
    Oct 2004
    Location
    Lancaster, Pennsylvania
    Beans
    147

    Re: HOWTO: thumb buttons

    Excellent Job!!!!!! My intellimouse works perfectly now.

    You my friend, are my hero.

    I could never fully get thumbbuttons to work on gentoo.
    "For to me, to live is Christ and to die is gain." - Philippians 1:21 (NIV)

  7. #7
    Join Date
    Oct 2004
    Beans
    186

    Re: HOWTO: thumb buttons

    If it works in GDM, I'll go and try it right now, and you are my savior.

    This is indeed the last thing that bugged me.
    If this is life, I think I'll live another day

  8. #8
    Join Date
    Oct 2004
    Beans
    Hidden!

    Re: HOWTO: thumb buttons

    Quote Originally Posted by HiddenWolf
    If it works in GDM, I'll go and try it right now, and you are my savior.

    This is indeed the last thing that bugged me.
    It was the one thorn in my side for a couple years until I pieced together all the documentation I could find and figured out how to do it.

    Let me know how it works!

  9. #9
    Join Date
    Oct 2004
    Beans
    186

    Re: HOWTO: thumb buttons

    Definatly works. Very smooth, very helpfull

    Actually I feel this should be automated, but since that's probably not possible, it should be wiki or manual.
    If this is life, I think I'll live another day

  10. #10
    Join Date
    Oct 2004
    Beans
    Hidden!

    Re: HOWTO: thumb buttons

    I'm adding this to the wiki. Learning a new markup language in the process (ReST), so it may be a bit. I'll post here when it's done.

Page 1 of 13 12311 ... 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
  •