fladdy
Posts: 7
Joined: Tue Sep 04, 2012 11:45 am

xmodmap disconnects the mouse buttons

Sun Jan 13, 2013 1:22 pm

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

fladdy
Posts: 7
Joined: Tue Sep 04, 2012 11:45 am

Re: xmodmap disconnects the mouse buttons

Sun Jan 13, 2013 1:33 pm

One detail I just observed: If I unplug and plug the mouse after applying xmodmap everything works fine.

fladdy
Posts: 7
Joined: Tue Sep 04, 2012 11:45 am

Re: xmodmap disconnects the mouse buttons

Sun Jan 13, 2013 1:59 pm

Sorry, my mistake ... i was just impatient. After waiting 2 minutes the mouse operation was as before. So it's just slow... :lol: :lol:

User avatar
jojopi
Posts: 3271
Joined: Tue Oct 11, 2011 8:38 pm

Re: xmodmap disconnects the mouse buttons

Sun Jan 13, 2013 2:42 pm

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.

Return to “General discussion”