LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mouse jumps to the low-left corner (https://www.linuxquestions.org/questions/linux-software-2/mouse-jumps-to-the-low-left-corner-90181/)

pe2338 09-07-2003 11:06 AM

mouse jumps to the low-left corner
 
I have a problem with fluxbox or X (can't figure out) that is annoying

Sometimes when I move my mouse fluxbox "sees" mouse clicks altough I don't click it. Usually this happends to be a click on the upper-right cornner of the screen.
I saw this problem in blackbox, too.

More annoying is the fact that when I change into a virtual console (Ctrl+Alt+F...) and switch back to the graphical interface I can't move the mouse to wherever I want as it moves normally for a few inches after that jumping to the low-left corner of the screen.

I have a PS/2 2 buttons mouse, no scroll, 3butt emu activated.
I tried with the emu of but has no effect.

Should I post the XF86Config-4 file?

P.S: I will try another wm to see if it happends again. Which one should I choose (that is not derived from blackbox), so that I could see if this is a blackbox issue or is a X problem?

r_jensen11 09-07-2003 11:31 AM

Re: mouse jumps to the low-left corner
 
Quote:

Originally posted by pe2338
I have a problem with fluxbox or X (can't figure out) that is annoying

Sometimes when I move my mouse fluxbox "sees" mouse clicks altough I don't click it. Usually this happends to be a click on the upper-right cornner of the screen.
I saw this problem in blackbox, too.

More annoying is the fact that when I change into a virtual console (Ctrl+Alt+F...) and switch back to the graphical interface I can't move the mouse to wherever I want as it moves normally for a few inches after that jumping to the low-left corner of the screen.

I have a PS/2 2 buttons mouse, no scroll, 3butt emu activated.
I tried with the emu of but has no effect.

Should I post the XF86Config-4 file?

P.S: I will try another wm to see if it happends again. Which one should I choose (that is not derived from blackbox), so that I could see if this is a blackbox issue or is a X problem?

I had a similar problem, but mine was whenever I moved the mouse AT ALL, it would move to one of the corners, and I wouldn't be able to control it. I have a PS/2 mouse with a wheel, took me forever to find the instructions to fix it. It has something to do with your configuration file(XF86Config), so I'd play around with your mouse settings by editing it from text mode and with PICO or whatever you use(I prefer PICO because it's the only one I've truely understood how to use, VM or whatever confused me because I couldn't find instructions for it for saving files and closing the program completely. Really hosed up my system because I had 5 versions of the same files I edited with it...)

Just post your mouse settings in your config file, and we'll see what we can do.

pe2338 09-07-2003 01:49 PM

Code:

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "PS/2"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
EndSection


esteeven 09-07-2003 02:20 PM

I had problems with my mouse - the problem was the video driver - SuSE had selected the wrong card.

adz 09-07-2003 05:45 PM

Do you use your mouse with any other operating system? If so, does it have any probs?

pe2338 09-08-2003 03:16 PM

I used it with windoze but never made problems like theese before.
Now my win is broken so I can't test it.

Didn't boot win for about 2 months and when I did a week ago it blew up :D . I will reinstall it to be sure, or better, try the mouse with my room mates' PC.

adz 09-08-2003 07:46 PM

Post your whole XF86Config-4 file. I want to see a few other places (like where the mouse definition is actually called).

pe2338 09-09-2003 12:31 PM

XF86Config-4
 
Code:

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#  dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "dbe"
        Load        "ddc"
        Load        "extmod"
        Load        "freetype"
        Load        "int10"
        Load        "record"
        Load        "speedo"
        Load        "type1"
        Load        "vbe"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "us"
        Option                "XkbOptions"        "alt_win:metawin"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "PS/2"
        Option                "Emulate3Buttons"        "true"
        #This allows the changing of the speed use 800
        Option                "Resolution"                "900"
EndSection

Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "Device"
        Identifier        "TNT2 32MB"
        Driver                "nv"
EndSection

Section "Monitor"
        Identifier        "Visa LR8750"
        HorizSync        30-57
        VertRefresh        43-72
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "TNT2 32MB"
        Monitor                "Visa LR8750"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1152x864" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1152x864" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1152x864" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1152x864" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1152x864" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1152x864" "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

### END DEBCONF SECTION


adz 09-09-2003 08:07 PM

You can get rid of (you can also comment out) the whole generic mouse section. Make sure to remove it also from the "ServerLayout" section. That *MAY* fix it. I don't know if this will have any effect, but you can also add to the modules section the modules "GLcore", "dri" and "glx". You'll have to remove GLcore and dri if ever you install the proper nvidia driver but glx will still be needed.

The only other thing you can do (that I can think of) is get yourself a copy of knoppix. If that works OK then just rip off the auto-generated XF86Config-4 file and try that. I used that method to get my xserver running.

pe2338 09-14-2003 05:15 AM

Thanks.
 
It workes now.
Thanks. Removing refences to generic mouse and the section refering to it did the trick.


All times are GMT -5. The time now is 08:24 PM.