Uwe Brauer writes:
keycode 133 = Super_L NoSymbol Super_L
to
keycode 133 = Hyper_L NoSymbol Hyper_L
And run xdmodmap kbstatus
again
But it did not work!
No, that won't work.
It might be easier to do all this with setxkbmap. See if
setxkbmap -option caps:hyper
does what you want. If not, the theory is that you need to also
change the modifier mapping. What does "xmodmap -pm" say in the
default Kubuntu configuration?
For example, on my Mac I get
MacPorts 13:40$ xmodmap -pm
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x40), Shift_R (0x44)
lock Caps_Lock (0x41)
control Control_L (0x43), Control_R (0x46)
mod1 Mode_switch (0x42), Mode_switch (0x45)
mod2 Meta_L (0x3f), Meta_R (0x47)
mod3
mod4
mod5
Note: no Super_*, no Hyper_*. Even if I define a Super_L and a
Hyper_L, there will be no Super key or Hyper key unless a modifier bit
is assigned to that key. Unfortunately, there's no easy way to ensure
that software will recognize a given modifier bit as a given modifier
key. XEmacs does this correctly (it parses the modifier map), but
many apps assume a particular modifier to key mapping.
As a last resort, you could try xkeycaps (there should be an Ubuntu
package for it, if not, a source build shouldn't be that hard).[1] For
keyboards it knows about, it knows how to do all this stuff correctly.
Jamie says it's "obsolete", but apparently not for Kubuntu. ;-)
Footnotes:
[1]
http://www.jwz.org/xkeycaps/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta