Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th November 2004, 04:33 AM
s_reynisson Offline
Registered User
 
Join Date: Nov 2004
Posts: 29
Configuring mouse side buttons in FC3

Keywords: Mouse, Fedora Core 3, Side, Button, USB, Wheel, Forward, Back, Configure
Files used: /etc/X11/xorg.conf, /etc/X11/xinit/xinitrc.d/mouse.sh

This is a summary from the many posts here on this topic, credits to the original posters. This works fine on my system, FC3 Kernel 2.6.9-1.678_FC3smp with a USB Logitech MX500 mouse. This is all you need to do, you do not have to install any programs.

As root, add this to your InputDevice section in xorg.conf in folder /etc/X11/, I back up using comments, you can also copy the file first with something like cp xorg.conf xorg.conf.org:
Code:
# new part
Section "InputDevice"
#       Identifier  "USB Mouse"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol"     "ExplorerPS/2"
        Option      "Device"       "/dev/input/mice"
        Option      "Buttons"      "7"
        Option      "ZAxisMapping" "6 7"
EndSection
# old part
#Section "InputDevice"
#       Identifier  "Mouse0"
#       Driver      "mouse"
#       Option      "Protocol" "IMPS/2"
#       Option      "Device" "/dev/input/mice"
#       Option      "ZAxisMapping" "4 5"
#       Option      "Emulate3Buttons" "yes"
Note here that I have commented out Identifier "USB Mouse" and replaced it with my original Identifier "Mouse0". You must do the same. Next create the file mouse.sh in folder /etc/X11/xinit/xinitrc.d/ and paste the following in it:
Code:
#!/bin/sh
# /etc/X11/xinit/xinitrc.d/mouse.sh
# Required for the configuration of a 5-button mouse
xmodmap -e "pointer = 1 2 3 6 7 4 5"
Finally make it executable with chmod +x mouse.sh. Restart X, I rebooted Good luck!

Last edited by s_reynisson; 20th November 2004 at 04:36 AM.
Reply With Quote
  #2  
Old 20th November 2004, 04:49 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
Very how info....it will help others.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #3  
Old 20th November 2004, 05:07 AM
SilverZero Offline
Registered User
 
Join Date: Nov 2004
Posts: 3
Very how indeed.

Glad to see a reference to the ".sh" extension requirement for scripts in the xinitrc.d directory. That hummer was eluding me for hours!

Last edited by SilverZero; 20th November 2004 at 05:10 AM.
Reply With Quote
  #4  
Old 3rd December 2004, 08:33 PM
adam's Avatar
adam Offline
Registered User
 
Join Date: Nov 2004
Location: Gorzow Wlkp, Poland
Age: 30
Posts: 143
awesome! thank you
__________________
Take care.

Linux User #374234
ACER TM 4060: Pentium M 760 2.0GHz, 15.4 WXGA wide, 100GB HDD, 1GB DDR2 DC, 802.11b/g wireless LAN :cool:
Reply With Quote
  #5  
Old 3rd January 2005, 01:40 AM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
This worked great for me. Thank you for the how-to. I do have one question. Is it possible to play with some of the parameters in these two files and program the side buttons for functions other than "back" and "forward"?
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #6  
Old 3rd January 2005, 02:44 AM
benv84 Offline
Registered User
 
Join Date: Nov 2004
Location: new york
Age: 28
Posts: 73
thanks alot for the how to, not being able to use my side buttons has really been bugging me after switching to linux
Reply With Quote
  #7  
Old 3rd January 2005, 11:14 PM
benv84 Offline
Registered User
 
Join Date: Nov 2004
Location: new york
Age: 28
Posts: 73
does anyone know how to edit the files for a microsoft intellimouse explorer 3.0? because the back and forward buttons still don't work.
Reply With Quote
  #8  
Old 4th January 2005, 10:01 AM
Forlorn Offline
Registered User
 
Join Date: Jul 2004
Posts: 20
Quote:
Originally Posted by benv84
does anyone know how to edit the files for a microsoft intellimouse explorer 3.0? because the back and forward buttons still don't work.
same for me
Reply With Quote
  #9  
Old 5th January 2005, 06:43 PM
vladthedog Offline
Registered User
 
Join Date: Jan 2005
Posts: 2
oh man thanks. i've been trying to get this mx510 to work for a while. i've read other "walkthroughs" but either i've been doing something wrong, or whatever cause i could never get the dang thing to work... now it works like a charm! i'm a very recent convert from winxp, and that was one of my big complaints
Reply With Quote
  #10  
Old 8th January 2005, 05:02 PM
saFFyre Offline
Registered User
 
Join Date: Jan 2005
Posts: 6
Ok ive just attempted this, and all works well when im logged in as root. However when im using my normal user account the mouse wheel and the side buttons have swapped function. The mouse wheel being back and forward and the side buttons scroll up and down. Im using fedora core 3 on a fresh install. I followed the instructions right as far as i can tell.

Cheers
Tom
Reply With Quote
  #11  
Old 12th January 2005, 08:09 AM
Aksen Offline
Registered User
 
Join Date: Jan 2005
Posts: 2
I'm totally new to linux, I've been trying to tackle this problem for two days now. Thank you, this worked on the first try.
Reply With Quote
  #12  
Old 13th January 2005, 07:30 AM
Aksen Offline
Registered User
 
Join Date: Jan 2005
Posts: 2
saFFyre :

I just reinstalled FC3, first time was a test run i guess. Well anyway, now I'm having the same problem as you... but i think i figured it out. log in as root, then go to the "mouse.sh" file, right click and hit properties. Make sure all users have permissions to execute the file!
Reply With Quote
  #13  
Old 2nd February 2005, 10:06 PM
firstknt Offline
Registered User
 
Join Date: Feb 2005
Posts: 1
thanks for the how...

my previously limited intellimouse is currently at it's best... now if i can get the "snap-to" to work and have the hot keys on my desktop elite function, i would be a zealot of linux till eternity
Reply With Quote
  #14  
Old 2nd February 2005, 11:24 PM
micha's Avatar
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 35
Posts: 533
Looks like an old post :
http://www.fedoraforum.org/forum/sho...62&postcount=5

Reply With Quote
  #15  
Old 5th February 2005, 04:33 PM
niloppa
Guest
 
Posts: n/a
there's answer in this link ===> www.s_what_mouse_configuration.op.com
Reply With Quote
Reply

Tags
buttons, configuring, fc3, mouse

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get mouse side buttons working - in everything! DGF Using Fedora 32 19th August 2009 05:34 PM
Can't use mouse side buttons in FC6 Mystinar Using Fedora 3 5th November 2006 04:39 AM
FC5 - FireFox Side Buttons BoSoxNC Using Fedora 3 6th April 2006 04:39 AM
Not detecting side mouse buttons TheSkunkMan Hardware & Laptops 1 15th August 2005 07:00 PM
configuring mouse buttons zulaica Hardware & Laptops 7 28th October 2004 10:46 PM


Current GMT-time: 08:31 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat