install-keymap doesn't make setting permanent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-common (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: console-data
Ubuntu 7.10 gutsy
console-data 3:1.02-2ubuntu4
The man page states 'install-keymap [...] puts the result in /etc/console/
However when I try it, it seems to be in effect only until I reboot.
/etc/console/
Background - I'm trying to use tn5250 (from package of the same name) who's readme states I can use loadkeys us5250.map (which is included) to add F21 thru F24 and Shift-Tab to the standard linux kernel keymap.
If I run install-keymap us5250.map it does activate those keys, but only until I reboot.
If this is the expected behaviour then I could add something to run on boot I suppose, but then the man page is wrong.
Comments appreciated,
Brian
console-data is no longer installed by default and is no longer used or supported. (Actually install-keymap lives in console-common, but the same applies to that.) Ideally you need to use something involving console-setup.
The modern approach to what I think you're trying to do would be to add support for this keymap to XKB; at that point you can select the right layout and variant in /etc/default/ console- setup, run 'setupcon --save', and run 'update-initramfs -u'.
It looks kind of tricky to come up with a variant of install-keymap that still works with the new world order, unfortunately ...