Score:2

Is there a way to swap the [Left Alt] key and [Tab] key on the keyboard?

id flag

Is there a way to swap the Left Alt key and Tab key on the keyboard?

Long story short I have a family member that lost their left-hand pinky and we want to remap the keys for them,

Their current keyboard layout is English (US),

Asus laptop Running Ubuntu 20.04 focal with the Cinnamon Desktop Environment 4.4.8

Score:2
br flag

You can edit xbd file: (/usr/share/X11/xkb/symbols/pc).

In this case you will make these entries:

key <Alt> { [Tab] }
key <Tab> { [Alt] }

Clear xkb settings cache: rm -rf var/lib/xkb/*

Reboot, and your keys will be mapped.

Also there is another way Xmodmap in latest ubuntu but changes are lost after reboot. For Xmodmap, please refer this article

P.S. I haven't tested this in Ubuntu 20.04, however i have used this method in the past, so you can try this once.

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.