After upgrading to xmodmap-1.0.1 all of my mouse buttons were screwed up. For example right click was middle click, middle click was right click scroll up/down was page up down(I have an MX 1000 so I have 12 buttons). It gets very annoying and the only way I can fix it is by downgrading to xmodmap-1.0.0 I am using the latest X.org 7 and fluxbox-0.9.15.1 is my wm. emerge --info Portage 2.1_pre10-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.1 6-gentoo-r4 x86_64) ================================================================= System uname: 2.6.16-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4 400+ Gentoo Base System version 1.12.0_pre18 dev-lang/python: 2.3.5, 2.4.3 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -ffast-math -msse3 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share /config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kd e/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/sha re/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/t erminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -ffast-math -msse3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aim alsa amd64 ao asf avi bash-completion berkdb bitmap-fonts bon jour browserplugin bzip2 bzlib cdb cdr cli crypt cups dbus dedicated divx4linux dlloader dri dvb dvd dvdr dvdread eds emboss emul-linux-x86 encode ethereal exam ples ffmpeg flac foomaticdb fortran ftp gcj gif gimpprint glut gnome gnutls gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 isdnlog java javascript jpeg k de ldap lm_sensors lzw lzw-tiff mad mmap mng mozcalendar mozdevelop mozilla mozn oirc mp3 mpeg nas ncurses nls nocd nptl nptlonly nsplugin nvidia offensive ogg o ggvorbis openal opengl oscar oss pam pcre pda pdflib perl png pppd python qt qui cktime readline reflection sdl session smp spell spl ssl svg tcpd theora tiff tr uetype truetype-fonts type1-fonts usb videos vorbis vv xine xmms xorg xpm xprint xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mous e input_devices_evdev kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLA GS, LINGUAS, PORTDIR_OVERLAY
Which driver are you using for your mouse?
I am using evdev as my driver. Here is the mouse portion of my xorg.conf incase you want to look at that Section "InputDevice" Identifier "USB Mouse" Driver "evdev" Option "Dev Name" "Logitech USB Receiver" Option "Dev Phys" "usb-*/input0" Option "Device" "/dev/input/event1" Option "Buttons" "12" Option "ZAxisMapping" "11 12" Option "Resolution" "800" EndSectio
Which evdev version are you using? If it's 1.0.0.5, you should give 1.1.1 a try. You'll need the masked versions of xorg-server, mesa, and all your video and input drivers.
Sorry it took so long to get back ive been very busy. Anyway I am using x11-drivers/xf86-input-evdev-1.0.0.5 and I can not goto xorg 7.1 because I am running the nvidia drivers. The problem is still here and the only way around it is to mask xmodmap
I was just doing a little searching around x.org and it seems that they place xmodmap 1 in the directory for X.org 7.0 while xmodmap-1.0.1 is in the direcotory with X.org 7.1. Im thinking they do this for a reason. Since xmodmap-1 was taken out of portage I think we should put it back into portage and set the xorg-x11-7.0-r1 ebuild to have its dependency to be =xmodmap-1
This is the change it was bumped for, and no, it's not specific to 7.1: 2006-03-22 Matthias Hopf <mhopf@suse.de> * handle.c: (do_pointer): Allow changing of only a few buttons (not all).
(In reply to comment #6) > This is the change it was bumped for, and no, it's not specific to 7.1: > > 2006-03-22 Matthias Hopf <mhopf@suse.de> > > * handle.c: (do_pointer): > Allow changing of only a few buttons (not all). > I understand that but I dont see why else my computer has all the wrong mouse buttons. There is nothing I can do to fix it besides downgrading.
Ok ignore my last comment. I did a little digging and found that some other people(actually Gentooers) were having the same problem and had a bug posted on the freedesktop bugzilla. There solution is to look at your mouse configuration by doing xmodmap -pp All the physical buttons and button codes should match up except that 2 and 3 are swapped. I looked at mine and the numbers were all weird so I did xmodmap -e "pointer = 1 3 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32" and it seems to have fixed it. Now im adding it to my ~/.Xmodmap file. Anyway I guess that was it.