Change LUKS passphrase keyboard
Sometimes you need to use another keyboard than the default one. My current case is because it is a lot easier to use a French (fr) keyboard to do my work than the built in keyboard (US- Euro on 5) for the laptop.
An added annoyance is that when entering the encryption passphrase on boot I need to remember the QWERTY layout otherwise the characters aren't correct. It's a small annoyance but still.
It turns out to be fairly easy and it should work on any Ubuntu based machine.
sudo dpkg-reconfigure keyboard-configuration
I have in the past tried to manually edit /etc/default/keyboard and then update initramfs but every time I have to hunt down the correct values for my keyboard whereas this is quick, easy and works.
The only thing I have to watch out for now is to set the correct keyboard for Mint. I did have it on French 105 key but having dug out the box I have realised mine is a French AZERTY 104 key. Ah keyboards...