View previous topic :: View next topic |
Author |
Message |
asiobob Veteran
Joined: 29 Oct 2003 Posts: 1375 Location: Bamboo Creek
|
Posted: Wed Nov 05, 2003 12:32 pm Post subject: Explorer Mouse question |
|
|
Hello,
I have an MS Explorer optical mouse that works in my current distro (mandrake).
Just a question when I install gentoo. the mouse section in mandrake XF86CONFIG-4 is
Code: |
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "6 7"
EndSection
|
1. the protocol is ExplorerPS/2, can I use this in gentoo? the installation gudie doesn't list this protocol.
2. I believe Option "ZAxisMapping" "6 7" lets my wheel work, but in Gentoo guide it says 4,5 so whats with 6 7 and whats it mean? |
|
Back to top |
|
|
Zoltan Guru
Joined: 27 Aug 2003 Posts: 394 Location: Moscow, Russia
|
Posted: Wed Nov 05, 2003 12:44 pm Post subject: |
|
|
You can copy your XF86Config-4 from mandrake to Gentoo without changes. _________________ Light travels faster than sound. That's why some people appear bright before you hear them speak. |
|
Back to top |
|
|
asiobob Veteran
Joined: 29 Oct 2003 Posts: 1375 Location: Bamboo Creek
|
Posted: Wed Nov 05, 2003 12:53 pm Post subject: |
|
|
oh thats good to know, I guess I'll have to install the nvidia drivers etc.. since thats what I'm using now.
On mandrake XF86Config-4 is the file that is used.
Am I correct that on gentoo is XF86Config ? |
|
Back to top |
|
|
Random Task Apprentice
Joined: 31 Mar 2003 Posts: 171 Location: Canada
|
Posted: Wed Nov 05, 2003 6:33 pm Post subject: |
|
|
Actually that's a XFree86 thing.
Since 4.0 (I think) the file used is XF86Config-4
If you don't have an XF86Config-4 then XF86Config is used.
Hope that helps _________________ If you can't kill something with that, it ain't supposed to die...
You're so drunk you're seeing double...
I've got two guns, one for each of ya!
-Val Kilmer as Doc Holliday, Tombstone |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed Nov 05, 2003 7:02 pm Post subject: |
|
|
Random Task wrote: | Actually that's a XFree86 thing.
Since 4.0 (I think) the file used is XF86Config-4
If you don't have an XF86Config-4 then XF86Config is used.
Hope that helps |
seems as though i read somewhere that the XF86Config-4 was outdated now, it was just present in the transition stage from 3 series and 4 series. I could be wrong though.
chris |
|
Back to top |
|
|
Random Task Apprentice
Joined: 31 Mar 2003 Posts: 171 Location: Canada
|
Posted: Wed Nov 05, 2003 7:34 pm Post subject: |
|
|
Well what I do is have both as the same thing (cp XF86Config-4 XF86Config) so if one stops working it'll pick up the same settings from the other one.
Thanks for letting me know, I'm definately going to look into that one. _________________ If you can't kill something with that, it ain't supposed to die...
You're so drunk you're seeing double...
I've got two guns, one for each of ya!
-Val Kilmer as Doc Holliday, Tombstone |
|
Back to top |
|
|
Zoltan Guru
Joined: 27 Aug 2003 Posts: 394 Location: Moscow, Russia
|
Posted: Thu Nov 06, 2003 8:19 am Post subject: |
|
|
If you have both XF86Config and XF86Config-4, then XF86Config-4 will be used. _________________ Light travels faster than sound. That's why some people appear bright before you hear them speak. |
|
Back to top |
|
|
imagino n00b
Joined: 07 Mar 2003 Posts: 47 Location: Italy
|
Posted: Thu Nov 13, 2003 2:10 pm Post subject: imwheel |
|
|
I found this browsing the net:
http://www.groundhog1.com/mouse/MSExplorer.html
It's very useful. The problem now is HOW to let
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -p -b "67"
start automatically every time X starts. I've tried to add these lines in /etc/inid.d/xdm or in /etc/X11/sartDM.sh but I haven't got any good result |
|
Back to top |
|
|
theyneverknew2 n00b
Joined: 06 Nov 2003 Posts: 23
|
Posted: Thu Nov 13, 2003 9:08 pm Post subject: |
|
|
add it to your ~/.xinitrc above where you start your wm |
|
Back to top |
|
|
imagino n00b
Joined: 07 Mar 2003 Posts: 47 Location: Italy
|
Posted: Thu Nov 13, 2003 11:17 pm Post subject: yes but... |
|
|
would'nt be better to put it in a "global" directory (oh...I wonder if I can kyst put it in /etc/xinitrc ??) so that everyone logging in from kdm will get the mouse work, without having many identical ~/.xinitrc around? |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Fri Nov 14, 2003 5:22 am Post subject: Re: imwheel |
|
|
imagino wrote: | I found this browsing the net:
http://www.groundhog1.com/mouse/MSExplorer.html
It's very useful. The problem now is HOW to let
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -p -b "67"
start automatically every time X starts. I've tried to add these lines in /etc/inid.d/xdm or in /etc/X11/sartDM.sh but I haven't got any good result |
I usually just throw it in at the top of my kde session script, or any other wm that you use. |
|
Back to top |
|
|
imagino n00b
Joined: 07 Mar 2003 Posts: 47 Location: Italy
|
Posted: Fri Nov 14, 2003 8:53 am Post subject: ~/.xinitrc |
|
|
I tried but it looks that this file isn't used, when logging in from KDM.
Maybe modifying the startkde script would be an IDEA...but I'd like a more clean and gentooish way to do that. |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Fri Nov 14, 2003 6:19 pm Post subject: Re: ~/.xinitrc |
|
|
imagino wrote: | I tried but it looks that this file isn't used, when logging in from KDM.
Maybe modifying the startkde script would be an IDEA...but I'd like a more clean and gentooish way to do that. |
I use to do it with xinitrc or something but it stopped working a couple of kde upgrades ago. not sure why it doensnt read the xinitrc file anymore...
chris |
|
Back to top |
|
|
Jewelie n00b
Joined: 16 Nov 2003 Posts: 6 Location: UK
|
Posted: Tue Nov 18, 2003 2:48 pm Post subject: |
|
|
Quote: | I use to do it with xinitrc or something but it stopped working a couple of kde upgrades ago. not sure why it doensnt read the xinitrc file anymore... |
Hmmm....
Does anyone have any idea what global system file the gentoo/kdm setup does read?
I'm desperately trying to put an all important xmodmap command in somewhere that's neat and sensible!
Ta-ra,
Julie |
|
Back to top |
|
|
ecatmur Advocate
Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Wed Nov 19, 2003 12:08 pm Post subject: |
|
|
I put the xmodmap line in /etc/X11/Xmodmap (just pointer = "1 2 3 8 9 4 5 6 7") and symlink to that from /etc/X11/xinit/.Xmodmap.
Also, put the imwheel command in /etc/X11/xinit/xinitrc.
This seems to work partly because /usr/X11R6/lib/X11/xinit is a symlink to /etc/X11/xinit/.
If there's a better way to do it, please tell me.
Btw: I use 9 buttons in order to be able to handle multi-wheel and net mice consistently. |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed Nov 19, 2003 6:02 pm Post subject: |
|
|
ecatmur wrote: | I put the xmodmap line in /etc/X11/Xmodmap (just pointer = "1 2 3 8 9 4 5 6 7") and symlink to that from /etc/X11/xinit/.Xmodmap.
Also, put the imwheel command in /etc/X11/xinit/xinitrc.
This seems to work partly because /usr/X11R6/lib/X11/xinit is a symlink to /etc/X11/xinit/.
If there's a better way to do it, please tell me.
Btw: I use 9 buttons in order to be able to handle multi-wheel and net mice consistently. |
do you use kde?? the problem mentioned above is targeted toward kde evidently not reading the .xinitrc file..
chris |
|
Back to top |
|
|
|