LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xorg.conf (https://www.linuxquestions.org/questions/slackware-14/xorg-conf-275195/)

Duo 01-07-2005 07:54 PM

xorg.conf
 
Hey. I am trying to enable scrolling on my three button mouse in Slackware 10.0. I've added

Option "ZAxisMapping" "4 5"

to the file /etc/X11/xorg.conf. I've also tried adding Option "Buttons" "5", and various different protocols but no matter what I do, nothing seems to have an effect. It seems like it is having no effect at all, since I would expect the mouse to at least stop working with the wrong protocol, but nothing changes at all. Is there something I am missing here? I'm using Gnome. I usually just log out and then type startx again to see if it has worked, though it invariably never does. Uh, so, any idea what's up? I have a feeling it must be something silly and obvious.

Also, I am using soft link modem drivers for my modem. They work fine, only I have to give the command "slmodemd" everytime I want to use it, otherwise the device apparently doesn't exist. It is always in the same file in /dev/ when I do use it. I'm presuming it's possible for this to be done automatically when I boot the computer, if so, how?

egag 01-07-2005 08:09 PM

hi,

for the mouse issue, just post the section about the mouse from your xorg.conf.

and that modem-command, do you have tu apply that only on reboot,
or also after you close and reopen a browser ( or smth. using the modem ) ?

egag

reddazz 01-07-2005 08:09 PM

Your mouse section, should have something like,

Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "4 5"

You make have to run xorgconfig and once it's configured make the changes above, then startx.

Duo 01-07-2005 08:27 PM

Relevant xorg.conf stuff:

Quote:

Section "InputDevice"

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

EndSection
I just tried changing buttons to "4 5" but to no avail.

I have heard that if I improperly configure the x server it could have rather devestating effects for my monitor, and I'm really not so sure about my monitor/graphics card set up, which I have heard is necessary knowledge. I don't suppose there is some easy way of finding this out using .. I don't know, a script or something? It's just that it's something of a family PC and I'm sort of short on documentation of the hardware. uh, what the hell, though, I might give it a try tomorrow. what's the worst that could happen?

... probably not a good philosophy.

also, I have to give the modem command everytime before I dialout. otherwise, say, if I type ls -l /dev/ttySL0, it says there is no file there at all.

datadriven 01-07-2005 08:57 PM

Is it a PS/2 or USB mouse? If it's USB the device line should read

Option "Device" "/dev/input/mice"


All times are GMT -5. The time now is 12:32 PM.