LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Configuring usb mouse... (https://www.linuxquestions.org/questions/slackware-14/configuring-usb-mouse-139477/)

thethinker101 01-27-2004 11:58 PM

Configuring usb mouse...
 
Hi guyz,
Finally stopped worrying and deleted both my Windows XP Pro and Mandrake 9.2 partitions. Then installed Slackware 9.1. I would just like to say that I love it so far and I have learned more in the last hour or so than previously with other linux distros. I have a question though, during installation I selected 'usb mouse' because I have a logitech usb mouse. But it made it a "3 button" mouse instead of a "2 button with a scroller." I wanted to know how I go about changing the mouse settings so that I can have my scroll back, and where to find the files I have to change.

Thanks for anyone/everyone's Help

BTW,
The installation (and most everything else) in Slackware is nowhere near as hard as I thought it would be.
(secret: Print out the Slackware 'Book' from their website, takes a couple pages, but it's well worth it!!!!!!!!!!!)

Rudebr00d 01-28-2004 12:28 AM

Quote:

(secret: Print out the Slackware 'Book' from their website, takes a couple pages, but it's well worth it!!!!!!!!!!!)
The whole book is actually somewhere around 170 pages of an MSword document with the default page and margin settings :D.

And yes, I did print it off :)

Namaseit 01-28-2004 01:49 AM

well open /etc/X11/XF86Config file.

Then find this section:

Core Pointer's InputDevice section

then add this line *AFTER* the Identifier "Mouse1" line:

Option "ZAxisMapping" "4 5"

This is what mine looks like to enable the touch wheel on my laptop touchpad:

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"


That should set you up.

thethinker101 01-28-2004 01:36 PM

Thankyou!
I am still a big newb on Slack, so how do I go about starting a text editor under root so I can edit the config file? I tried su'ing to root, but I couldn't open Kedit from the command line, said it wasn't a program or something...


;)

Namaseit 01-28-2004 04:46 PM

It's ok.
There's many many many many many many many many command line editors.
But, if you want to just get the job done. "pico" is a good newbie choice.

root@shell: $ pico /etc/X11/XF86Config
(a neat little trick, type 'pico /etc/X' then hit the TAB key and it will auto complete for you :) Just in case you didn't already know that)

Then you will do as I instructed in the above post.
You can do searches in pico by hitting "ctrl+w" and then putting in a search string. To do multiple searches just hit "ctrl+w" again and it will search for the next instance.

Once you find what I instructed above add that line.

Then once you have done that hit "ctrl+x" then hit "y" and then enter. It's now saved and you should be able to use your scroll.

thethinker101 01-28-2004 05:10 PM

I just used the newb way and went to KDE Menu -> System -> More Programs -> File Manager (su mode).


:)


All times are GMT -5. The time now is 02:03 PM.