LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Colemak in ramdisk (https://www.linuxquestions.org/questions/slackware-14/colemak-in-ramdisk-4175732338/)

unInstance 01-01-2024 05:57 AM

Colemak in ramdisk
 
I use LVM on LUKS for full disk encryption, so I have to type my password to decrypt the drive each time I boot the computer. Keyboard layout is QWERTY, but I want Colemak.

Colemak website provides .kmap file, but /usr/share/mkinitrd/keymaps.tar.gz consists of .bmap files. Can I use .kmap? If not, then how do I have Colemak in there?

allend 01-02-2024 02:45 AM

Disclaimer: Not my area of expertise.

On my Slackware 15.0, I see an entry for /usr/share/kbd/keymaps/i386/colemak/en-latin9.map.gz, but no corresponding entry in /usr/share/mkinitrd/keymaps.tar.gz (which is dated 18-Dec-2009 in the source for mkinitrd, so quite old).

Busybox has a utility dumpkmap that is available in /boot/initrd-tree/bin/.

Perhaps you could try loading a keymap for Colemak, then run something like:
Code:

/boot/initrd-tree/bin/dumpkmap > /tmp/en-latin9.bmap
add the resulting file to /usr/share/mkinitrd/keymaps.tar.gz
and run mkinitrd with the -l option (thanks to Alien Bob!)


All times are GMT -5. The time now is 12:24 PM.