LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mouse settings do not initiate on startup (https://www.linuxquestions.org/questions/linux-software-2/mouse-settings-do-not-initiate-on-startup-85284/)

linuXBOX 08-24-2003 06:54 PM

Mouse settings do not initiate on startup
 
On every startup, my mouse settings do not seem to be applied. I have to go to, Main menu -> System settings -> Mouse, and then, after inputting root password, click ok. It is necessary to do this on startup to get my mouse moving the way I want it to. Isn't there a way to have this done automatically? I'm sure their is but I haven't a clue how.

pdohman 08-24-2003 10:03 PM

Hello
I have the same issue which has cost me quite a few hours hacking on my XF86Config. Out of curiosity what distro and kernel version are you running? What does your XF86Config look like? And if don't mind me asking what kind of mouse is it.
Later
Patrick

linuXBOX 08-24-2003 10:42 PM

I'm running rh9 and the latest kernel build. However it has been this way through all builds since I got rh9.

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
Option "Buttons" "7"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Generic Monitor, 1280x1024 @ 76 Hz"
HorizSync 31.5 - 82.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "RIVA TNT2"
VideoRam 32768
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

And I have a M$ Intellimouse optical with the side buttons

pdohman 08-24-2003 11:02 PM

If you figure anything out please post it. I searched the forum back to may of this year but I got lost in all the mouse related issues. Is the behavior of your mouse sluggish? I did find a post that recommended adding a line for resolution and a link to this URL

http://www.redhat.com/archives/xfree.../msg00005.html

> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/psaux"
> Option "ZAxisMapping" "4 5"
> Option "Emulate3Buttons" "no"
> Option "Resolution" "700"
> EndSection

Later
Patrick

linuXBOX 08-24-2003 11:09 PM

No, after I go through mouse settings its great, before that though it is just not sensitive enough, resulting in the 'ran out of mouse pad' problem when scrolling the screen.

pdohman 08-25-2003 07:32 AM

My situation is very similar. If I log off / restart the x server
my mouse is slow especially so at the log on prompt after log on the speed increases after after running the system settings-mouse the thing works great until the next log off etc..

linuXBOX 08-25-2003 04:14 PM

yep
 
yeah, that sounds exactly like my problem...

linuXBOX 10-25-2003 10:07 PM

Pdohman, did you ever solve your mouse sensitivity problem? I solved mine yesterday. Now, embarrasingly, I see the answer was explained in this post. I added the
Option "Resolution" "300"
line to my XF86Config, and voila! It assumes the mouse setting on each startup without my intervention.


All times are GMT -5. The time now is 12:22 AM.