UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I just installed kubuntu 9.10 on my new PC (HP Pavillion). I'm new to ubuntu, I had some experience before with mandriva.
Most things work properly but there is a strange problem with the mouse (USB), and more precisely with that little wheel which stands between the two buttons.
Turning it when the pointer is on some web page (using firefox) I expect the page to scroll.
So I turn the wheel in one direction and the page scroll up. Good!
Then I turn the wheel in the opposite direction and the page scroll... up again!
I tried with other programs (konqueror, kmail)... and still the same happens, I can only scroll to the top.
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144
Rep:
Hmmm... indeed in the newer versions the file isnīt created automaticly if not needed. If the file isn't there the system will autodetect every setting. Well... let's create one by our own. If this version doesn't work, we'll need to create a full version with keyboard, mouse, video, etc, just uncomment the other parts if X asks for it. If you use an other video card like ATI or Intel, I'll provide you an other version if you need all of them.
If you use an other type of NVIDIA card, just install the proprietrary drivers in the driver management (if that's allowed in your country, some countries don't allow the use of proprietrary software in open source machines, like USA), and uncomment the driver part in the screen section to use overclocking and the use of OpenGL 3D.
But... perhaps the best thing to do first is testing if the new file works with your existing configuration before starting some other things
I'm back to work after the week end, and I tried your solution.
Well, now I have a /etc/X11/xorg.conf file, with the content you posted. Then I have restarted the computer and... no change at all. The wheel keep scrolling in only one direction...
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144
Rep:
Strange... well in that case you're free to remove the file we've created.
An other thing you can do (will give an effect immediatly, but will not be saved automaticly) is the next command:
Code:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
This forces the mapping of your currently used mouse. I don't know exactly wich position stands for wich button or scroll direction, but 123 are the first three mouse buttons, and depending on the model 45 stands for a scroll wheel and 67 can mean a scroll wheel or the 4th and 5th button. Feel free to expiriment with the order of the numbers. If you got a mouse with 4 buttons or more, or 2 scroll wheels or more you also can expiriment with maps above the number 8 and above in it.
If you've found out the right combination, and if it works at your machine, we can put this into ~/.xinitrc as an extra command wich will be executed every time X starts.
This was of great help, I think. Now I'm convinced it is an hardware problem.
Normally, does not matter in which direction I roll, it scrolls up.
If I run
Code:
pignatel@pignatel:~$ xmodmap -e "pointer = 1 2 3 7 5 6 4 8"
Warning: Only changing the first 8 of 32 buttons.
then the scroll up does not work anymore and the scroll down works... rarely. I mean, If I keep rolling, every couple of seconds it moves a bit (in the right direction). Similarly for other change which affect 4 but not 5.
My opinion is that my new mouse is broken and there is some contact inside it. When I scroll down it send only rarely the correct signal of "Page Down" and often the wrong signal "Page Up". Usually I can't see the few correct "Page Down" because of the many "Page Up".
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144
Rep:
You always can test it by connecting an other mouse if the problem persists. If the mouse is broken, the effects can be very strange idd. Is your problem after changing still there, then it has to be a software problem, or your usb or ps/2 port is broken.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.