[SOLVED] Need optical mouse with side buttons that works out of the box with Lucid.
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.
Glad to see you are up and running again. And that you have the NVIDIA module installed (nouveau was unable to handle my nvidia chipset).
While you were away I borrowed a 7 button mouse, and played with it.
You are right: those lines in xorg should swap the buttons, but they have no effect at all.
I expect something has changed in the way X works, but I cannot find the documentation.
It looks a little more complicated, but maybe that'll work for you.
Please let us know how you get on.
You are right about that link being more complicated. I tried to follow a few of the steps he proposed and now my system wont boot at all. I'm not familiar with the terminal enough to do this yet. He did have something interesting to answer both of our questions about the side button mapping. Read the link down to here:
Code:
Alternate Methods
The following methods use standard X.org mouse input driver (xf86-input-mouse) instead of using the evdev driver. It works on mice up to 7 buttons. Edit /etc/X11/xorg.conf InputDevice section for your mouse to reflect the changes shown below. Then restart X and you're done.
Code:
Method 3 - Auto
This has been tested on a Logitech MX400 and should work on most mice with up to 7 buttons.
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
Method 3 is the closest config to mine. So I guess this works only on mice with up to 7 buttons. Mine has 9. Once I get this system running again I'll try some of his other methods. Because I mainly only use the back button when browsing, I think I'll tinker with the Firefox 3 section?
I backed up my files using back in time to a second drive in my system. I'll reinstall Lucid and see if I can restore all my settings. I've never used this before.
Well, I reinstalled Ubuntu and put in a few of the changes I had before and remembered "Back in time". I didn't find much help or instructions as to how to restore a backup so I just went by the GUI and selected my last backup. ALL HELL BROKE LOOSE. . .It appeared to start restoring and the window filled with all kinds of errors and they just kept coming. I couldn't stop them so I finally did a power reset. I'm not going to grade back in time because it could have been my fault getting this problem. Ubuntu would not restart. Many boot errors. Instead of reinstalling Ubuntu I installed Kubuntu Lucid. I always wanted to try it out. I thought I would be more comfortable with KDE since my Mandrake 10 days a long time ago. KDE has changed considerably since then. I assume other than eye candy, the files like xorg are the same? Speaking of files. I tried to run xorg.conf and couldn't find it? What do you use in Kubuntu in place of gedit? It didn't like gedit? I noticed one thing I really like about Kubuntu is when I hot plug a USB device, I get notification on the desktop. The more I use it the more I like it. I think I'm about ready to start tackling this mouse issue again.
A reminder that it is always a good idea to test your backups before you find you need them
Quote:
KDE has changed considerably since then
Yes, 10.04 has KDE4, which is very different from KDE3. So different (and in my experience, unstable) that I switched to gnome. YMMV.
Quote:
I assume other than eye candy, the files like xorg are the same?
Correct.
Quote:
I tried to run xorg.conf and couldn't find it?
You'll need to generate it before you can edit it. The steps are in post #12 of this thread except that as you are now running KDE, it is kdm not gdm that you'll have to stop and then restart. So in any command that references gdm you should change gdm to kdm.
Quote:
What do you use in Kubuntu in place of gedit?
IIRC kubuntu has kate or kwrite, but you should be able to find a text editor in your KDE menus. nano is good if you are just using a VT, which you will have to do to follow the steps in post #12.
Quote:
I noticed one thing I really like about Kubuntu is when I hot plug a USB device, I get notification on the desktop.
gnome does that for me, but I know KDE is much more customisable than gnome. If you like KDE, use it. You can always install gnome as well [ you'll get a thing to click on your login screen that'll let you choose KDE or gnome before you login]
Myabe you don't need to mess with xorg.conf (ButtonMapping ... doesn't seem to work there any more).
This command, in a GUI terminal swaps buttons 6 and 7
Code:
xmodmap -e "pointer = 1 2 3 4 5 7 6"
so if you just want buttons 8 and 9 reversing, try this:
Code:
xmodmap -e "pointer = 1 2 3 4 5 6 7 9 8"
It's worth a try.
Well, try I did. It worked my friend! It gave me a warning stating I was only changing 9 of 16 buttons? It works though and I'm a happy camper.
I did come across another thing since I installed Kubuntu. My monitor powers down (sleep?) after a few minutes no matter what I do to the power settings. I have all the updates installed.
Thanks so much for being so patient and helpful with me as I get my feet wet with Ubuntu and Kubuntu
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.