GBP symbol

Tristan Wibberley maihem at maihem.org
Sun Sep 25 15:58:54 UTC 2005


Lee Braiden wrote:
> On Sunday 25 September 2005 12:29, Tristan Wibberley wrote:
> 
>>My pound symbol doesn't work (shift 3), on a british english keyboard -
>>I just get the number 3. Is this a configuration error on my part or
>>should I report a bug?
> 
> 
> Usually, you would get some other keyboard's symbol there, like the # key from 
> US keyboards, if it was misconfigured.  As Johnny (ngms27) says, it does 
> sound like your shift key is dodgy.  Try the other shift key, if your 
> keyboard has two.

Both shift keys behave the same. I can't try it on a text console as the
x server doesn't respond to Ctrl-Alt-F?.

> Otherwise, open a terminal and run xev (install the xev package, if you need 
> to).  Then, press the key combination, and see if the xev output in the 
> terminal shows the correct output.  It can be hard to read, and the output 
> may be slightly different on your keyboard, but for the keys 3 and shift+3, I 
> get:
> 
> KeyPress event, serial 27, synthetic NO, window 0x3200001,
>     root 0x40, subw 0x0, time 171661519, (282,263), root:(894,286),
>     state 0x0, keycode 12 (keysym 0x33, 3), same_screen YES,
>     XLookupString gives 1 bytes: (33) "3"
>     XmbLookupString gives 1 bytes: (33) "3"
>     XFilterEvent returns: False
> 
> 
> KeyPress event, serial 30, synthetic NO, window 0x3200001,
>     root 0x40, subw 0x0, time 171662109, (282,263), root:(894,286),
>     state 0x1, keycode 12 (keysym 0xa3, sterling), same_screen YES,
>     XLookupString gives 2 bytes: (c2 a3) "£"
>     XmbLookupString gives 2 bytes: (c2 a3) "£"
>     XFilterEvent returns: False

Below is what I get for the following sequence, everything looks spot on
except the keysym - the state is 0x1 so I don't think it is a problem
with the shift key, looks like the keysym is being chosen wrongly.

Press 3, Release 3
Press left shift, release left shift
Press left shift, press 3, release 3, release left shift




KeyPress event, serial 26, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28974888, (65,-16), root:(722,229),
    state 0x0, keycode 12 (keysym 0x33, 3), same_screen YES,
    XLookupString gives 1 bytes: (33) "3"
    XmbLookupString gives 1 bytes: (33) "3"
    XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28974947, (65,-16), root:(722,229),
    state 0x0, keycode 12 (keysym 0x33, 3), same_screen YES,
    XLookupString gives 1 bytes: (33) "3"




KeyPress event, serial 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28977656, (65,-16), root:(722,229),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28979418, (65,-16), root:(722,229),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:




KeyPress event, serial 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28982890, (65,-16), root:(722,229),
    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 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28983459, (65,-16), root:(722,229),
    state 0x1, keycode 12 (keysym 0x33, 3), same_screen YES,
    XLookupString gives 1 bytes: (33) "3"
    XmbLookupString gives 1 bytes: (33) "3"
    XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28983531, (65,-16), root:(722,229),
    state 0x1, keycode 12 (keysym 0x33, 3), same_screen YES,
    XLookupString gives 1 bytes: (33) "3"

KeyRelease event, serial 29, synthetic NO, window 0x3000001,
    root 0x9f, subw 0x0, time 28983730, (65,-16), root:(722,229),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:


-- 
Tristan Wibberley

Opinions expressed are my own and do not necessarily coincide with those
of my employer, etc.





More information about the ubuntu-users mailing list