Score:1

Change default keyboard layout for virtual terminal

us flag

I use customized keyboard layout, which was set to default in UI gnome settings. It works well in gnome.

However, when I open a new virtual termnial (Ctrl+Shift+F4 orCtrl+Shift+F5 ) It does not use my prefered layout :(

Any idea how to make my layout the default everywhere ?

PS: When I was on uubntu 20, it was everywhere by default. Now I ugraded to ubuntu 22 (and I'm using X11 server) and this problem appeared.

Score:1
uz flag

Edit the /etc/default/keyboard file to your liking. If you are not sure how to do it manually, there is a tool for the purpose:

sudo dpkg-reconfigure keyboard-configuration
n0tis avatar
us flag
Thanks, worked well ! BTW, for anyone willing to go this route, it's wise to ensure you have another machine capable of ssh'ing into the one you're modifying, to ensure you don't lock yourself out because of a defective keyboard config
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.