Help - Search - Members - Calendar
Full Version: XOrg mouse configuration lost on each boot!
MandrivaUsers.org > General Help > Hardware
theYinYeti
Hello,

My mandriva 2008.0 runs fine, and auto-configured itself. Nice. Here's the resulting xorg.conf mouse part:
CODE
# File generated by XFdrake (rev 239302)
[…]
Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

The problem I have is that I want to append these options to this section:
CODE
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    Option "EmulateWheelTimeout" "1000"
    Option "YAxisMapping" "4 5"
    Option "XAxisMapping" "6 7"

If I do so and CtrlAltBackspace, the options are enabled. Good.

Unfortunately, on next reboot (and that's at least twice a day), my added options are gone and I'm back to the original Section…
What is the cure?

Yves.
arctic
Errrm... is harddrake disabled? If not, it will probably overwrite your config.

PS: You could hard-lock your xorg.conf file
theYinYeti
Indeed, harddrake is enabled. What would be the consequences of disabling it?

Yves.
daniewicz
I have disabled harddrake and seen no consequences yet..... unsure.gif cool.gif

I feel confident that if you disable it, your xorg.cong over-writes will be a thing of the past.
arctic
harddrake is only necessary/useful if you add new hardware to your computer, say e.g. a new soundcard or a new graphics card. In this case, harddrake will automatically detect the new hardware and configure it as needed/load the modules. If you do not plan to alter your hardware on a regular basis, you can safely disable it.
theYinYeti
Good to know smile.gif I suspected as much but I currently try not to change default configs too much, so I wanted to know more before "taking the risk".
Thank you!

Yves.
scarecrow
harddrake was a very handy tool back in the days that hardware detection tools were either primitive, or buggy.
But currently a properly configured udev/hal does the same job way more reliably. IMO Mandriva should consider obsoleting it- it's not needed anymore.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.