Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

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

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2004-11-19, 09:33 PM CST
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; 2004-11-19 at 09:36 PM CST.
Reply With Quote
  #2  
Old 2004-11-19, 09:49 PM CST
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 41
Posts: 8,250
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
Reply With Quote
  #3  
Old 2004-11-19, 10:07 PM CST
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; 2004-11-19 at 10:10 PM CST.
Reply With Quote
  #4  
Old 2004-12-03, 01:33 PM CST
adam's Avatar
adam Offline
Registered User
 
Join Date: Nov 2004
Location: Gorzow Wlkp, Poland
Age: 26
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
Reply With Quote
  #5  
Old 2005-01-02, 06:40 PM CST
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,081
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"?
Reply With Quote
  #6  
Old 2005-01-02, 07:44 PM CST
benv84 Offline
Registered User
 
Join Date: Nov 2004
Location: new york
Age: 25
Posts: 70
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 2005-01-03, 04:14 PM CST
benv84 Offline
Registered User
 
Join Date: Nov 2004
Location: new york
Age: 25
Posts: 70
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 2005-01-04, 03:01 AM CST
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 2005-01-05, 11:43 AM CST
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 2005-01-08, 10:02 AM CST
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 2005-01-12, 01:09 AM CST
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 2005-01-13, 12:30 AM CST
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 2005-02-02, 03:06 PM CST
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 2005-02-02, 04:24 PM CST
micha's Avatar
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 32
Posts: 530
Looks like an old post :
http://www.fedoraforum.org/forum/sho...62&postcount=5

Reply With Quote
  #15  
Old 2005-02-05, 09:33 AM CST
niloppa Offline
Banned
 
Join Date: Feb 2005
Posts: 0
there's answer in this link ===> www.s_what_mouse_configuration.op.com
Reply With Quote
Reply

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 General Support 32 2009-08-19 10:34 AM CDT
Can't use mouse side buttons in FC6 Mystinar General Support 3 2006-11-04 09:39 PM CST
FC5 - FireFox Side Buttons BoSoxNC General Support 3 2006-04-05 09:39 PM CDT
Not detecting side mouse buttons TheSkunkMan Hardware 1 2005-08-15 12:00 PM CDT
configuring mouse buttons zulaica Hardware 7 2004-10-28 03:46 PM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 05:49 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



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 | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages thanks to vB Enterprise Translator