Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-01-2006, 10:00 PM
|
#1
|
Member
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31
Rep:
|
LOGITECH MX500 button problem
For some reason my mouse buttns do not work anymore only the left and right mouse button?? I had it working fine with all of them and then I upgraded slack and now I got problems. heres my Xorg and yes i edited my .xintrc. I need some insight..
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "10"
Option "ZAxisMapping" "8 9"
I also tried all the walkthroughs on linux gamers etc. I am using it through a kvm with the ps2 converter.
|
|
|
03-02-2006, 02:47 AM
|
#2
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
So you've got the pointer = 123894567 in .Xmodmap? What did you upgrade to? Current? It might also have something to do with the kvm.
|
|
|
03-02-2006, 02:16 PM
|
#4
|
Member
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31
Original Poster
Rep:
|
I upgraded to the new kde 3.5 and kernel 2.6.15.3.
heres my .xintrc
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
xmodmap -e "pointer = 1 3 2 4 5 8 9 6 7 10"
xbindkeys
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
startkde
|
|
|
03-02-2006, 02:42 PM
|
#5
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
What does your .Xmodmap say?
|
|
|
03-02-2006, 08:52 PM
|
#6
|
Member
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31
Original Poster
Rep:
|
Quote:
Originally Posted by simcox1
What does your .Xmodmap say?
|
My post above is my xmodmap its the .xintrc that you enter the xmod in right? Or am I missing something?
|
|
|
03-02-2006, 09:31 PM
|
#7
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
Remove from your xorg config file
Option "Buttons" "10"
Option "ZAxisMapping" "8 9"
Remove the xmodmap line from .xinitrc.
The new x11 should deal with your mouse without any configuration. If you are still having errors, use xev to see what the buttons are being detected as.
|
|
|
03-06-2006, 06:41 PM
|
#8
|
Member
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31
Original Poster
Rep:
|
I tried all that and my mouse wheel still doesnt work and it recognizes my left right and middle mouse. both thumb buttons are as middle mouse too WTF? It works properly in windows so I assume its not the kvm. But maybe since windows accepts sloppy device actions?? I will bypass my kvm and see.
|
|
|
03-07-2006, 06:25 AM
|
#9
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
I dont use the xinitrc like that myself. With a 2.4 kernel, I created a .Xmodmap file in /etc/X11/xinit/.Xmodmap, and just put pointer = 1 2 3 6 7 4 5 in there. In my /etc/X11/xorg.conf, I've got:
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
That's for a logitech wireless mouse with left/right/middle click, scroll up/down, and 2 side buttons for back/forward.
In other words, your original post looked ok, but try creating a .Xmodmap file and putting the 'pointer =' info in there instead of your xinitrc file.
|
|
|
03-07-2006, 06:30 AM
|
#10
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
I noticed you've got .xmodmap settings in your xinitrc file It says
usermodmap=$HOME/.Xmodmap
and
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
So create your .Xmodmap file in one of those locations. One will affect just your user and the other is system wide.
|
|
|
05-10-2006, 01:07 AM
|
#11
|
Member
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43
Rep:
|
Hey, I'm also trying to get my mouse working.. I did the same thing as you, but it seems that xinitrc never gets processed unless I use the XDM session manager (ugly). The XFce window manager is an exception, but then my xinitrc.xfce is a symlink to a file specific to XFce, so I think xinitrc.xfce is executed as part of XFce's startup routine, not that of X, and therefore won't work for other window managers. Does anyone know whether there's anything I can use that gets automatically executed, regardless of window manager, after X initializes? I tried /etc/rc.d/rc.4, but that runs before X starts so xmodmap gives a display error.
I'm pretty sure this is all I need now (everything works perfectly if I just manually enter the xmodmap line in a terminal), but I've been working on this all day and I've run out of ideas for config files and shell scripts to prod. Any help would be greatly appreciated.
**EDIT**
I think it also works if I just say 'startx', but then I'd be on runlevel 3 and wouldn't have the pretty GUI for window manager selection. I'm hoping to get this to work even if I just boot straight into runlevel 4.
Last edited by Hunter2; 05-10-2006 at 01:09 AM.
|
|
|
All times are GMT -5. The time now is 05:49 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.
|
Latest Threads
LQ News
|
|