Message: previous - next
Month: June 2013

problems with xmodmap and international keyboards

From: Uwe Brauer <oub.oub.oub@...>
Date: Wed, 26 Jun 2013 11:36:13 +0200
<#secure method=smime mode=sign>

Using a thinkpad X61 Laptop I am on Kubuntu 10.04 with trinity 3.5.10 (I
think), my environment language is (US) english.

Now I want to bind the control key to hyper (and capslock--> control and

I do this with the following xmodmap file 

keycode 133 = Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R
keycode 37 = Hyper_L NoSymbol Hyper_L
keycode  66 = Control_L NoSymbol Control_L
add    Mod4    = Hyper_L

That works nicely.

However when I change the keyboard, from US english say to Spanish or
German via the trinity/KDE interface, the hyper binding is gone.

I execute xmodmap again, with the above configure file and xev tells me
that the binding is as expected but when I type it is not. So I have to
restart the Xserver execute xmodmap and then everything is fine again.

Anybody can help me with this issue?