Dave Uhring wrote:
> On Tue, 16 Oct 2007 20:39:36 +0100, Dave wrote:
>
>> Basically I have a US keyboard, but I'm in the UK. I'm trying to
>> ascertain if I can convert it to a UK keyboard, so it produces the pound
>> sign. If not, I'll have to buy one. I'll take it apart and check, but I
>> don't want to shut the machine down.
>
> Perhaps:
>
> http://docs.sun.com/app/docs/doc/806...dq6q2n7?a=view
Thanks. I'm not exactly sure what is or is not possible. 'dumpkeys' and
'loadkeys' would appear to dump the translation:
NAME
loadkeys, dumpkeys - load and dump keyboard translation
tables
SYNOPSIS
loadkeys [filename]
dumpkeys
DESCRIPTION
<snip>
dumpkeys writes the current contents of the keyboard streams
module's translation tables, in the format specified by
keytables(4), to the standard output.
but whilst that displays something, I dont get anywhere:
kestrel / % dumpkeys > /tmp/foo
kestrel / % loadkeys /tmp/foo
/tmp/foo, line 4: syntax error
Also tried
kestrel / % kbd -s
1. Albanian 17. Malta_US
2. Belarusian 18. Norwegian
3. Belgian 19. Portuguese
4. Bulgarian 20. Russian
5. Croatian 21. Serbia-And-Montenegro
6. Danish 22. Slovenian
7. Dutch 23. Slovakian
8. Finnish 24. Spanish
9. French 25. Swedish
10. German 26. Swiss-French
11. Icelandic 27. Swiss-German
12. Italian 28. Taiwanese
13. Japanese-type6 29. TurkishQ
14. Japanese 30. TurkishF
15. Korean 31. UK-English
16. Malta_UK 32. US-English
To select the keyboard layout, enter a number [default 32]:
but that does not seem to make the slighest difference, whatever I select.
The following looks semi-promising:
tail /etc/default/kbd
# Uncomment the following line to set up the keyboard layout. The
# keyboard layouts supported can be listed by running 'kbd -s'.
# The value will override the keyboard-layout value supplied in eeprom
# if it exists in eeprom when system boots.
#LAYOUT=
But I cant reboot the machine yet, which that appears to need to take
effect. Hence I cant test it.