Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old November 9th, 2004   #1
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
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 panickedthumb; November 11th, 2004 at 02:18 PM.. Reason: Changing title to be more descriptive
panickedthumb is offline   Reply With Quote
Old November 10th, 2004   #2
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
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 panickedthumb; November 10th, 2004 at 01:54 PM..
panickedthumb is offline   Reply With Quote
Old November 10th, 2004   #3
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
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!
panickedthumb is offline   Reply With Quote
Old November 11th, 2004   #4
volvoguy
5 Cups of Ubuntu
 
volvoguy's Avatar
 
Join Date: Nov 2004
Location: Detroit, MI
Beans: 19
Ubuntu 6.06
Send a message via AIM to volvoguy Send a message via MSN to volvoguy Send a message via Yahoo to volvoguy
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!
volvoguy is offline   Reply With Quote
Old November 11th, 2004   #5
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
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.
panickedthumb is offline   Reply With Quote
Old November 11th, 2004   #6
oddabe19
Way Too Much Ubuntu
 
Join Date: Oct 2004
Location: Lancaster, Pennsylvania
Beans: 148
Send a message via AIM to oddabe19
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)
oddabe19 is offline   Reply With Quote
Old November 11th, 2004   #7
HiddenWolf
Ubuntu Extra Shot
 
Join Date: Oct 2004
Beans: 188
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
HiddenWolf is offline   Reply With Quote
Old November 11th, 2004   #8
panickedthumb
Cloned
 
panickedthumb's Avatar
 
Join Date: Oct 2004
Location: /home
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to panickedthumb Send a message via AIM to panickedthumb Send a message via MSN to panickedthumb Send a message via Yahoo to panickedthumb Send a message via Skype™ to panickedthumb
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!
panickedthumb is offline   Reply With Quote
Old November 15th, 2004   #9
Zundfolge
First Cup of Ubuntu
 
Join Date: Nov 2004
Location: Colorado Springs
Beans: 7
Re: HOWTO: Intellimouse/Mouseman extra buttons config

Quote:
Originally Posted by panickedthumb
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.
Hmm ... can't find imwheel

when I type $ sudo apt-get install imwheel

I get:

Quote:
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package imwheel
and I can't find it using synaptic
Zundfolge is offline   Reply With Quote
Old November 15th, 2004   #10
adbak
Gee! These Aren't Roasted!
 
adbak's Avatar
 
Join Date: Oct 2004
Location: Bloomington, IN, USA
Beans: 151
Send a message via AIM to adbak Send a message via MSN to adbak
Re: HOWTO: thumb buttons

Enable Universe repository, reload.
adbak is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:03 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry