Page 1 of 1

xmodmap disconnects the mouse buttons

Posted: Sun Jan 13, 2013 1:22 pm
by fladdy
Hi all,

While I was trying to get the Keyrah USB interface connected to a c64 keyboard working with X I came across an issue (even with a normal keyboard).

If I type

Code: Select all

xmodmap -pke >.xmodmaprc
and then

Code: Select all

xmodmap .xmodmaprc
with no changes to the mapping it is no longer possible to use the mouse. The mouse pointer moves but I can't click an move windows or invoke menus.

What am I doing wronge here?

Thanks
Fladdy

Re: xmodmap disconnects the mouse buttons

Posted: Sun Jan 13, 2013 1:33 pm
by fladdy
One detail I just observed: If I unplug and plug the mouse after applying xmodmap everything works fine.

Re: xmodmap disconnects the mouse buttons

Posted: Sun Jan 13, 2013 1:59 pm
by fladdy
Sorry, my mistake ... i was just impatient. After waiting 2 minutes the mouse operation was as before. So it's just slow... :lol: :lol:

Re: xmodmap disconnects the mouse buttons

Posted: Sun Jan 13, 2013 2:42 pm
by jojopi
Ouch, that is horrible! For several minutes after xmodmap completes, openbox uses 90% CPU repeatedly rereading /usr/share/X11/locale/en_US.UTF-8/Compose. I am not sure if the mouse buttons are actually unbound during this time or if there is just a massive backlog on delivering the events.

I guess: change only the keys you really need to change. Or use a different window manager. fvwm does not appear to have any such problem.