Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo

       Setting up a Wheel Mouse with FreeBSD

 I recently purchased a Logitech Wheel Mouse and found the HOWTO on Defcon1.org on how to make this work in freeBSD 4.0. 

1st off I would like to give credit to Eric Brueggmann for getting me this far and to only add to what he has provided not take credit for his work. During the setup I found some problems and thought I would pass these along to you as maybe this will give you a little more information during your setup. Basically the instructions provided were pretty close but the paths to some of the items were of and I had to go searching for them. So to avoid any confusing I will just start from the begining and include the
prior work. 

 Configure youe X server, I used the graphical interface to do this so if you use another method you'll have to figure out where all this goes. Choose the emulate the 3 button mouse and select the correct port for the mouse. Remember anytime you make any changes to youe X server you may have to go through these steps tto make your mouse work properly.

rc.conf Section


1)In your /etc/rc.conf make sure you have moused_enable "NO" 

2)in /etc/defaults/rc.conf make sure you have moused_enable "NO"
and you need to comment out the mouse_flags=" " whether it's 3 or 0
#moused_flags="-3"

3)Install imwheel from the ports collection cd /usr/ports/x11/imwheel

4)make all install clean

XF86Config Section

5)Edit XF86Configvi /etc/XF86Config

6)Add the following lines to the Pointers section

ZAxisMapping   4 5

7)Disable (comment) all the 3 Button emulation from the XF86Config

#Emulate3Buttons
#Emulate3Timeout


Imwheel Configuration


8)cd /usr/X11R6/etc

9)vi imwheelrcunder the Netscape section look for and uncomment:

 #None,Down, Down,7, 1000, 1000
    #None,Up, Up,7, 1000, 1000

CommentNone,  Down, Page_Down,1, 1000, 1000
None,  Up, Page_Up,1, 1000, 1000

This will make for a smoother scroll in Netscape.

10)Start up imwheel, this must be done every time you start your XWindows

imwheel -k

A few notes:

If you are running WindowMaker, you can ignore this step by putting the
following into ~/GNUstep/Library/WindowMaker/autostart
imwheel -k 
and you can kill imwheel by including the following into the
~/GNUstep/Library/WindowMaker/exitscript
 
killall imwheel

If anyone else knows of any startups for the various window managers please
post the to be attached to this.

 Gizmo May 05, 2000
 

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.