IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Finally, the .imwheelrc file in my home directory contains:
Code:
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
This configuration works perfect when I'm logged in as root. The wheel scrolls in Mozilla, and the Thumb Buttons allow me to move simulate "back" and "forward" page history functions.
However, when I log in as a normal user (which I created using "adduser" and all default values) the thumb buttons stop working as desired. If I click the thumb buttons over application windows, the new window will gain focus (I use KDE with MSWindows-like window behavior), but Mozilla no longer responds to these buttons by moving back and forth in page history. However, the scroll wheel continues to function.
I tried calling imwheel by using the "-p" flag, but that didn't fix anything. I also suid-rooted the imwheel binary by executing "chmod +s" on /usr/local/bin/imwheel, but that also did not help. In desperation, I used the KDE KUser utility to add my non-root user to the same groups that root belonged to. That also didn't do much to improve the situation.
Can you guys spot my mistake? Sorry to bore you, and thanks in advance.
Last edited by digital vortex; 03-01-2004 at 07:25 AM.
The problem is in your .imwheelrc if you are logged in as another user and the file is in /root/ folder you don't have access to it. create the file in your home folder where you are as normal user e.g. /home/mysuer
Mathwizard, sorry for the confusion. In my original post, when I said I created the ".imwheelrc file in my home directory," I meant that I already created this file in the home folder of the normal user.
So... I'm still having this problem. Thanks for the reply though.
But do you have the same .imwheelrc in the home directories of root and non-root users? If you don't have a .imwheelrc in root's home directory, and the wheel works for root, try removing .imwheelrc from non-root home directories. Another thing is to check permissions for /dev/mouse or /dev/input/mice. Did you try the mouse without using imwheel? I don't have a wheel, but I thought recent versions of X could handle it without imwheel.
Actually, now I've stopped using .imwheelrc files in user's home directories, and am simply referencing the global imwheelrc definitions file in /etc/X11/imwheel/imwheel.
So, same file for all users now.
Except the funky behavior still continues. Wheel + Thumb Buttons only work when logged in with root.
Only wheel works when logged in as normal user.
Greg, after removing the .imwheel file, thumb buttons became equivalent to page up and page down keypresses, and the wheel stopped working entirely. This idea did not fix the problem.
Last edited by digital vortex; 03-01-2004 at 04:51 PM.
2. Chmodding +s the /dev/mouse and /dev/psaux devices.
3. Adding the xmodmap and imwheel startup commands to ~/.xinitrc instead of in /etc/X11/xinit/xinitrc.kde
4. Praying.
5. Using variations on the imwheel startup, such as "0067" instead of "67." And the -f flag.
6. Referencing the ~/.imwheelrc file again, instead of /etc/X11/imwheel/imwheelrc.
7. Manually adding "pointer = 1 2 3 6 7 4 5" to the vestigal /etc/X11/xinit/.Xmodmap file.
8. Forgot to mention that I disabled gpm from starting up as a service during the Slackware install. I read somwhere once that Slack's copy of gpm and imwheel are not best of friends.
Gah, I'm stuck. Thank you all for your help.
Continued suggestions are welcome. I'm pretty sure nothing is wrong with my imwheel setup, and it's accompanying files. Instead, I think I did something wrong when I originally employed "adduser" to create the non-root user. But that's just my inexperienced, humble opinion.
I'm considering just using the root user for everything.... blah.
Last edited by digital vortex; 03-02-2004 at 10:55 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.