Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240171

Re: Colemak layout at boot time

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Colemak layout at boot time
Date 2021-09-19 21:40 +0200
Message-ID <CZaPn-2Lk-5@gated-at.bofh.it> (permalink)
References <CYGoh-10m-11@gated-at.bofh.it> <CYNSO-5HI-15@gated-at.bofh.it> <CYPBg-6v6-5@gated-at.bofh.it> <CYWW5-2GO-3@gated-at.bofh.it> <CZ0wG-4WE-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 19 Sep 2021 at 09:38:26 (+0100), piorunz wrote:
> On 19/09/2021 05:49, David Wright wrote:
> > On Sat 18 Sep 2021 at 21:56:34 (+0100), piorunz wrote:
> > > On 18/09/2021 20:00, David Wright wrote:
> > > 
> > > > A lot of hits from googling   grub colemak   including
> > > > https://forums.debian.net//viewtopic.php?f=16&t=76833
> > > > which uses dvorak as an example.
> > > 
> > > Thanks for your reply.
> > > Yes I seen this page.
> > > 
> > > ckbcomp dvorak command outputs the layout details and everything.
> > > 
> > > However:
> > > $ ckbcomp colemak
> > > /usr/bin/ckbcomp: Can not find file "symbols/colemak" in any known directory
> > > 
> > > > 
> > > > I don't recall the definition of "boot time password". Does this
> > > > denote something that Grub asks, or is it when dmcrypt is running
> > > > from the initrd?
> > > 
> > > By that I meant GRUB editor and Debian's standard whole disk encryption
> > > in Debian. I don't have Colemak there. I need to enter password in
> > > Colemak. Yes, I think that's called dmcrypt.
> > > 
> > > > Which is a reminder: is your keyboard definition
> > > > in /etc/default/keyboard getting incorporated into the initrd or not?
> > > 
> > > I don't know that. I only have Colemak in KDE. Everything else,
> > > including virtual terminals (Ctrl+Alt+F keys) are Qwerty.
> > 
> > How do you normally login, at a VC or in a Display Manager?
> 
> I login to KDE login screen. Actually I have clean Debian 11 with KDE.
> No modifications to system.

I forgot to ask one more question: is your /boot encrypted, or just
everything else? Very relevant to the comment you added to this post.

> > Where did you run "sudo dpkg-reconfigure keyboard-configuration" from?
> 
> I run it from Konsole.

My understanding is that when you switch to a console from a DE,
spme (mumbling) is done, and this is reversed when you switch
back again. This might be why your changes aren't persisting.

When I configure the keyboard and console-setup, I always do it
before I start X, so I can use my 1988 British IBM clicky keyboard
to login.

However, I've made no attempt to configure Grub, as I know about
the odd punctuation keys that are swapped about with US/GB.

> > Have you seen this line:
> >    update-initramfs: Generating /boot/initrd.img-4.19.0-17-amd64
> > since you changed /etc/default/keyboard and ran
> >    sudo dpkg-reconfigure keyboard-configuration?
> 
> No. sudo dpkg-reconfigure keyboard-configuration asked questions, and
> didn't generated any output in terminal. I actually run this command
> several times now, with reboots, and no change. in
> keyboard-configuration menu itself, Colemak is selected,
> /etc/default/keyboard file also is all correct, but I don't have Colemak
> at dm-crypt password time, nor in virtual consoles (Ctrl+Alt+F keys).

Then I would rebuild my initramfs with update-initramfs.

> > Checking your current initrd is a little tedious: you run
> > unmkinitramfs to unpack the initrd, and you zcat your
> > /etc/console-setup/cached_UTF-8_del.kmap.gz to, say, /tmp.
> 
> Unpacked:
> unmkinitramfs /boot/initrd.img-$(uname -r) initramfs/
> 
> > Then run, eg:
> > 
> > $ diff -u …/main/etc/console-setup/cached_UTF-8_del.kmap /tmp/cached_UTF-8_del.kmap
> 
> ~/initramfs/main/etc$ ls
> default  fonts  fstab  ld.so.cache  ld.so.conf  ld.so.conf.d  lvm  mdadm
>  modprobe.d  mtab  nsswitch.conf  os-release  passwd  plymouth  udev
> 
> There is no console-setup folder in unpacked initramfs folder.
> 
> $ diff -u …/main/etc/console-setup/cached_UTF-8_del.kmap
> /tmp/cached_UTF-8_del.kmap
> diff: …/main/etc/console-setup/cached_UTF-8_del.kmap: No such file or
> directory
> diff: /tmp/cached_UTF-8_del.kmap: No such file or directory
> 
> $ apt-file search cached_UTF-8_del.kmap
> (no results here)

After update-initramfs, you should get console-setup in your initramfs.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-18 13:10 +0200
  Re: Colemak layout at boot time David Wright <deblis@lionunicorn.co.uk> - 2021-09-18 21:10 +0200
    Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-18 23:00 +0200
      Re: Colemak layout at boot time David Wright <deblis@lionunicorn.co.uk> - 2021-09-19 06:50 +0200
        Re: Colemak layout at boot time "Gareth Evans" <donotspam@fastmail.fm> - 2021-09-19 07:20 +0200
          Re: Colemak layout at boot time "Gareth Evans" <donotspam@fastmail.fm> - 2021-09-19 12:50 +0200
            Re: Colemak layout at boot time "Gareth Evans" <donotspam@fastmail.fm> - 2021-09-19 14:10 +0200
              Re: Colemak layout at boot time "Gareth Evans" <donotspam@fastmail.fm> - 2021-09-19 14:30 +0200
                Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 14:50 +0200
                Re: Colemak layout at boot time "Gareth Evans" <donotspam@fastmail.fm> - 2021-09-19 15:10 +0200
                Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 15:30 +0200
                Re: Colemak layout at boot time Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-19 21:40 +0200
                Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 22:40 +0200
                Re: Colemak layout at boot time David Wright <deblis@lionunicorn.co.uk> - 2021-09-20 01:40 +0200
        Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 10:40 +0200
          Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 12:40 +0200
          Re: Colemak layout at boot time David Wright <deblis@lionunicorn.co.uk> - 2021-09-19 21:40 +0200
            Re: [SOLVED] Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 22:40 +0200
            [SOLVED] Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 22:40 +0200
              Re: [SOLVED] Re: Colemak layout at boot time David Wright <deblis@lionunicorn.co.uk> - 2021-09-20 01:40 +0200
                Re: [SOLVED] Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-20 02:40 +0200
                Re: [SOLVED] Re: Colemak layout at boot time Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-20 07:00 +0200
                Re: [SOLVED] Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-20 16:20 +0200
                Re: [SOLVED] Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-20 23:10 +0200
  Re: Colemak layout at boot time Curt <curty@free.fr> - 2021-09-19 14:40 +0200
    Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 14:50 +0200
      Re: Colemak layout at boot time Curt <curty@free.fr> - 2021-09-19 15:20 +0200
        Re: Colemak layout at boot time piorunz <piorunz@gmx.com> - 2021-09-19 21:00 +0200
          Re: Colemak layout at boot time David Wright <deblis@lionunicorn.co.uk> - 2021-09-19 22:10 +0200
          Re: Colemak layout at boot time Curt <curty@free.fr> - 2021-09-19 22:20 +0200

csiph-web