LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-11-2004, 08:49 PM   #1
toolshed
Member
 
Registered: Aug 2001
Location: North Ka-Ki-Lak-i
Distribution: Fedora
Posts: 79

Rep: Reputation: 15
Fedora howto: 5 button mouse, triple display, link to alsa how to


First off, someone needs to add this to a howto or something...this is a common question I see alot, but it seems people dont answer it fully. I think I answer it fully, but if I don't then mod it and fix it or reply to it and say hey loser...this is wrong.

Well here goes, it has taken a while to get 5 buttons to work in fedora, so i am going to give my information, so maybe it will help someone else?

First off I am running Fedora Core 1, and 2.6 kernel

I used imwheel version 1.0.0.pre1. imwheel

/etc/X11/XFConfig Input Device section
Code:
Section "InputDevice"
                                                                                
        # Modified by mouseconfig
        # Modified by mouseconfig
                                                                                   
        Identifier  "Mouse0"
        Driver      "mouse"
        #2.6 kernel, device changed...if u run 2.4 leave "Device as is"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Emulate3Buttons" "no"
        #Option     "ZAxisMapping" "4 5"
        Option "ZAxisMapping" "6 7"
        Option "Buttons" "7"
EndSection
create a script to start when x does to map the mouse
/etc/X11/xinit/xinitrc.d/mouse
Code:
#!/bin/sh
 xmodmap -e "pointer = 1 2 3 6 7 4 5"

~/imwheelrc file
Code:
"mozilla*"
 None, Up,   Alt_L|Left
  None, Down, Alt_L|Right
   
 "XTerm"
 None, Up,   Alt_L|Control_L|S
 None, Down, Alt_L|Control_L|T
 
"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
 
 # this should be last
 ".*"
 None, Up,   Alt_L|Control_L|P
 None, Down, Alt_L|Control_L|O

run this...or put in a script for startup
/usr/local/bin/imwheel -k -b "67"

it should work now...it was a bitch to figure out..so here is a link..that helped me



intellimouse 5 buttons more mods and howto

Last edited by toolshed; 03-12-2004 at 10:29 AM.
 
Old 03-12-2004, 10:26 AM   #2
toolshed
Member
 
Registered: Aug 2001
Location: North Ka-Ki-Lak-i
Distribution: Fedora
Posts: 79

Original Poster
Rep: Reputation: 15
Well, I thougt I would like the page to here for sound on Fedora Core 1 with kernel 2.6

First off I tried the rpm for 2.6/Fedora Core 1 and they did not work.

I then found this on the forum and follow his instructions:

D/l what they say and follow the install from their link on Alsa webpage.

If you read both directions carefully, you will have np installing.

Btw alsa-conf is in the alsa-util dir.


ALSA/Fedora/2.6 kernel
 
Old 03-12-2004, 10:28 AM   #3
toolshed
Member
 
Registered: Aug 2001
Location: North Ka-Ki-Lak-i
Distribution: Fedora
Posts: 79

Original Poster
Rep: Reputation: 15
I am in such a helping mood over the past two days I thought I would also show you my "triple display" /etc/X11/XFConfig file. I use 1 nvidia agp card and 2 shitty pci cards.



Code:
####start here#########
##### KEYBOARD SETUP #####
##### MOUSE SETUP #####
##### MODULES SETUP #####
##### MONITORS #####
##### VIDEO CARD DEVICES #####
##### MAP DEVICES TO MONITORS (SCREENS) #####
##### MAP SCREENS #####
##### ENABLE DRI #####


Section "Files"
	FontPath     "unix/:7100"
EndSection

Section "Module"

#Load "GLcore" # OpenGL support
#Load "dri" # Direct rendering infrastructure
#Load "glx" # OpenGL X protocol interface
# Load "pex5" # PHIGS for X 3D environment (obsolete)
# Load "xie" # X Image Extension (obsolete)
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
	Load  "dbe" # Double-buffering
	Load  "extmod" # Misc. required extensions
	Load  "v4l" # Video4Linux
	Load  "record" # X event recorder-SHANE uncommented this
EndSection

Section "ServerFlags"
	Option	    "allowmouseopenfail"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"

	# Modified by mouseconfig
	# Modified by mouseconfig
	
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Emulate3Buttons" "no"
	#Option	    "ZAxisMapping" "4 5"
	Option "ZAxisMapping" "6 7"
	Option "Buttons" "7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Unknown"
	ModelName    "Unknown"
	HorizSync    30.0 - 96.0
	VertRefresh  50.0 - 160.0
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Unknown"
	ModelName    "Unknown"
	HorizSync    30.0 - 80.0
	VertRefresh  50.0 - 160.0
EndSection

Section "Monitor"
	Identifier   "Monitor2"
	VendorName   "Unknown"
	ModelName    "Unknown"
	HorizSync    40.0 - 96.0
	VertRefresh  50.0 - 90.0
EndSection

Section "Device"

	#Option	    "DPMS" "on"
	Identifier  "Nvidia Card"
	Driver      "nv"
	BoardName   "Unknown"
	BusID       "PCI:1:5:0"
EndSection

Section "Device"
	Identifier  "Matrox Card"
	Driver      "mga"
	BoardName   "Unknown"
	Option	    "sw_cursor"
	Option	    "DPMS" "on"#Screen 1
	BusID       "PCI:0:13:0"
EndSection

Section "Device"
	Identifier  "S3"
	Driver      "s3"
	BoardName   "Unknown"
	Option	    "sw_cursor"
	BusID       "PCI:0:15:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Nvidia Card"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Depth     16
		Modes    "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Matrox Card"
	Monitor    "Monitor1"
	DefaultDepth     16
	SubSection "Display"
		Depth     16
		Modes    "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen2"
	Device     "S3"
	Monitor    "Monitor2"
	DefaultDepth     16
	SubSection "Display"
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
EndSection


Section "DRI"
	Mode         0666
EndSection

Section "ServerLayout"
	Identifier     "Layout1"
	Screen 0        "Screen0" 
	Screen 1        "Screen1" LeftOf "Screen0"
       	Screen 2        "Screen2" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "Xinerama" "on"
EndSection
 
Old 03-13-2004, 11:34 PM   #4
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
Awesome bud.
 
Old 04-04-2004, 01:59 AM   #5
redratio1
LQ Newbie
 
Registered: Apr 2004
Location: Texas
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Hey toolshed, nice post.
I modified XF86Config, but I haven't been able to get it to work.



Nevermind guys, I think I've got it figured out.

Last edited by redratio1; 04-04-2004 at 05:33 AM.
 
Old 05-08-2004, 02:22 AM   #6
arnyswart
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Question

I have changed my XF86config file and then the buttons on either side did do left and right. I inputted the bash script and it automatically does everything at startup.

However my two buttons on either side suddenly switched off.

Help.

EDIT *Forget it, I installed from the link imwheel and this fixed my problems.

Arny!

Last edited by arnyswart; 05-08-2004 at 02:54 AM.
 
Old 05-08-2004, 02:59 AM   #7
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
You mean that you got your mouse and it's buttons working but you boot your computer one day and found that your mouse was not working?

Could you post your /etc/X11/xfconfig file? Just do

less /etc/X11/XFconfig and copy it here.
 
Old 05-08-2004, 03:03 AM   #8
arnyswart
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Sorry it is all fixed. Although I have a bugger of an config file since it was rewritten by ATI when I installed my graphics card drivers.

Arny!
 
Old 05-08-2004, 10:17 PM   #9
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
Ok. Good.

Cheers.
 
Old 05-14-2004, 06:16 PM   #10
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
Help! please! this is driving me nuts!!!

i've been trying to do the same thing toolshed did, but i am having lots of problems.

i'm in Fedora Core 1, with a microsoft intellimouse. The wheel works (scrolls), but the side buttons don't work quite right.

the following are excerpts from files:
from /etc/X11/XF86config

Code:
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option 	    "Protocol" "ExplorerPS/2"
	Option	    "Device" "/dev/input/mice"
	Option      "Buttons" "7"
	Option      "ZAxisMapping" "6 7"
        Option "AlwaysCore"
EndSection
from /etc/X11/xinit/xinitrc.d/mouse
(i think i'm supposed to make this file and i think it loads when x starts).
Code:
#!/bin/sh
 xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"
and I created (or maybe modified, can't remember now) a file named imwheelrc at the following location:
/etc/X11/imwheel/imwheelrc
contents of that file are:
Code:
".*"
 None, Up,   Alt_L|Left
 None, Down, Alt_L|Right

i know the buttons on the side of the mouse are being noticed, xev detects them, and in mozilla, the left button works as "page up" and the right button works as "page down"


any help would be greatly appreciated.
 
Old 05-14-2004, 06:27 PM   #11
arnyswart
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
yeah I had the same problem but then I installed imwheel from the link in the first post of this thread.

http://jcatki.no-ip.org/imwheel/file...0.0pre1.tar.gz

Also do make the mouse bash file and it stops having to type it in. forget about making an imwheel file.

after rebooting it worked perfectly

Arny!

Last edited by arnyswart; 05-14-2004 at 06:30 PM.
 
Old 05-14-2004, 07:25 PM   #12
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
thanks for the reply,

i tried removing version 6 of imwheel, and installing version 1 (as in the original post), rebooted, and it does the same thing.

any other ideas?
 
Old 05-15-2004, 12:46 AM   #13
arnyswart
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Have you gone into the mozilla preferences and looked at mouse options. There is a option down the bottom to match what the buttons do and it sounds like this option is inputted wrongly.

Let me get this straight.

1. Your mouse wheel works
2. the left and right buttons of the mouse wheel work
3. They are not going forward and back in terms of pages
4. You have definitely created the file mouse in the
/etc/X11/xinit/xinitrc.d/ folder
Not just the xint folder?

Arny!
 
Old 05-24-2004, 02:23 PM   #14
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
sorry about the long down time. had a lot to do at work lately.

1. yes. the mouse wheel scrolls up and down.
2. yes. xev gives output showing that the left and right buttons are recognized.
3. correct. the buttons paste highlighted text to the URL field in my browser.
4. yep. the text below is definitely in the file /etc/X11/xinit/xinitrc.d/mouse

Code:
#!/bin/sh
 xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"
any ideas?

thanks again for the help.
 
Old 05-25-2004, 04:46 AM   #15
arnyswart
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Bugger

ok it sounds like one of two problems.
1. IMWheel is not working properly.

here is a link to the mst current version of imwheel.
http://jcatki.no-ip.org/imwheel/file...0.0pre6.tar.gz

Make sure before you unpack it that you:
1. Run the "imwheel -k" command in your terminal to counteract your mouse file loader.
2. You delete the directory called imwheel from the X11 folder
3. You delete any other directories called imwheel from the X11 folder after you have uninstalled them. If you don't know how just delete them and run the imwheel it will overwrite them anyway.


2. Mozilla is incorrectly configured.
Goto Edit>>>Preferences>>advanced>>mouse Wheel
make sure you have the Alt, Control and Shift configured to move backwards and forwards while browsing.

Hope this helps

Arny!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft IntelliMouse Explorer 4.0 buttons lotheac Linux - Hardware 7 07-16-2006 03:23 AM
Intellimouse side buttons (yet again?) Toker Linux - Newbie 7 10-05-2003 01:55 AM
How change my intellimouse buttons in Mozilla? ACURA TL-S Linux - Newbie 1 08-13-2003 05:39 AM
m$ intellimouse buttons battlezonehawk Linux - Hardware 2 08-02-2002 08:58 PM
side-buttons. intellimouse ! sapilas Linux - Distributions 2 05-24-2002 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration