LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mouse errors under Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/mouse-errors-under-ubuntu-735635/)

Shakyj 06-25-2009 03:40 PM

Mouse errors under Ubuntu
 
Previously posted on Ubuntuforums with no reply :(.

How to explain this one...

My mouse sometimes works enough to open an application by clicking on the "ubuntu menu" after starting. If I open an application example: firefox my left mouse button does not work until I have right clicked "somewhere". That "somewhere" varies but is usually near the top of the screen then I get a left click to use and it wont work again till I right click the "somewhere" again. It seems to not register the mouse hovering over the item at all even though the pointer moves to it it doesn't highlight what I am hovering over.

On other applications there is no "somewhere" to to right click and I have to alt+F4 to close.

The install is about a month old but I have only started using it regularly about 3 days ago. The problem has only appeared today.

The last thing I Installed was virtualbox through apt which I removed.

I have also removed compiz to see if it was that. No luck.

Where else do I start?

arckane 06-26-2009 09:37 AM

Can you post the output of your /etc/xorg.conf file please?

Fantasio 06-26-2009 10:05 AM

Do you try and other mouse ?
Hardware is not eternal particularly wire mouse.
My question could be stupid but obvious thinks are often shadowed.

Shakyj 06-26-2009 11:40 AM

I use a wireless mouse usualy but I have tried a wired USB one. I will boot into Ubuntu now and see if I can get far enough to copy my xorg.conf.

Shakyj 06-26-2009 11:47 AM

My xorg.conf

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

GrapefruiTgirl 06-26-2009 12:02 PM

Shakyj,

If that is the entire file, there are a few sections that are missing which are normally in there; particularly the ones where you configure the mouse (and keyboard if necessary).

Here's an example of what a keyboard/mouse section looks like:
Code:


# Logitech devices on PS/2 ports
Section    "InputDevice"
 Identifier "Keyboard0"
    Driver  "kbd"
    Option  "AutoRepeat" "500 50"
    Option  "XkbRules"  "xorg"
    Option  "XkbModel"  "pc104"
    Option  "XkbLayout"  "us"
    #Option  "XkbVariant" "dvorak"
EndSection

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

and a sample of how to put the devices into the serverlayout section:

Code:


Section "ServerLayout"
    Identifier    "default"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
#    Screen      2  "Screen2" 2960 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

NOTE: They are just examples, from my xorg.conf. You will need to adjust for your system. The man page for 'xorg.conf' and for your video driver (or the docs with the nvidia driver), should have much info about what options mean what and how to use them.

Best of success,

Sasha

Shakyj 06-26-2009 03:36 PM

Cheers, I will try having a read through the docs and correct my xorg.conf.

And yeah, that was the whole file :(.

Thanks for everyones help :)

GrapefruiTgirl 06-26-2009 03:42 PM

Another great place for good tutorials if you can't find the answer here or in the docs is the Gentoo Wiki; I would normally give a link to it, but they have changed a lot of their links/site layout so my saved links are usually dead. If you Google for help though, see if you can find the Gentoo Wiki (articles for Mouse and Xorg) if you get stuck; it has helped me many times in the past.

Sasha


All times are GMT -5. The time now is 07:05 PM.