Hello,
As my name implies, I like slightly wacky keyboard layouts. More
specifically, I grew up on the old Sun workstation style of
keyboards, so I prefer my BackSpace key where on most PC keyboards
the BackSlash/Pipe ("\" and "|") key is located. So I've gotten
into the habit of using xmodmap(1) to swap the two.
However, under Intrepid Ibex (8.10), I am unable to use the key
combination Shift-BackSpace to obtain the Pipe ("|") character.
A search of "Shift-BackSpace" turned up many entries about how
this kills, or used to kill, the X server, so I'm guessing that
Shift-BackSpace is disabled. But I have no idea (if this is the
case) how to re-enable it.
Can anyone help?
Thanks!
Setting information and experiment data follow:
This is a fresh installation of Ubuntu 8.10. Keyboard remapping
is one of my top priorities! I used xmodmap(1) to obtain the
existing mapping, and then swapped the keycodes for the entries
for the two keys, and then invoked xmodmap again:
% xmodmap -pke > .xmodmaprc
% vi .xmodmaprc
% xmodmap .xmodmaprc
At this point, if I hit the BackSpace key, I'll get the BackSlash
character ("\"). But if I hit Shift-BackSpace, I'll still get
the BackSlash character, not the Pipe character. xev(1) indicates
that a LeftShift+BackSlash event is being seen, but it's being
mapped to the BackSlash character:
KeyPress event, serial 31, synthetic NO, window 0x3400001,
root 0x25b, subw 0x0, time 1840638, (70,123), root:(1538,174),
state 0x0, keycode 22 (keysym 0x5c, backslash), same_screen YES,
XLookupString gives 1 bytes: (5c) "\"
XmbLookupString gives 1 bytes: (5c) "\"
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x3400001,
root 0x25b, subw 0x0, time 1840707, (70,123), root:(1538,174),
state 0x0, keycode 22 (keysym 0x5c, backslash), same_screen YES,
XLookupString gives 1 bytes: (5c) "\"
XFilterEvent returns: False
KeyPress event, serial 34, synthetic NO, window 0x3400001,
root 0x25b, subw 0x0, time 1841574, (70,123), root:(1538,174),
state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 34, synthetic NO, window 0x3400001,
root 0x25b, subw 0x0, time 1842142, (70,123), root:(1538,174),
state 0x1, keycode 22 (keysym 0x5c, backslash), same_screen YES,
XLookupString gives 1 bytes: (5c) "\"
XmbLookupString gives 1 bytes: (5c) "\"
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x3400001,
root 0x25b, subw 0x0, time 1842197, (70,123), root:(1538,174),
state 0x1, keycode 22 (keysym 0x5c, backslash), same_screen YES,
XLookupString gives 1 bytes: (5c) "\"
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x3400001,
root 0x25b, subw 0x0, time 1842519, (70,123), root:(1538,174),
state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Bookmarks