Score:1

Map Right Alt to Spacebar including in key combinations

vn flag

I am working on a laptop with a broken spacebar, so I re-mapped the right alt key to the spacebar with:

xmodmap -e "keysym Alt_R = space"

This works well, except it seems like the right alt key still works as alt in combination with other keys. For example, if I just press the right alt key, a space is inserted. However, if I press the right alt key at the same time as the f key, my browser's "file" dropdown opens. This is a pain when typing fast, because frequently my right alt (mapped to space) overlaps with other letters, triggering a key combo and doing something unwanted.

When I do xmodmap -pke | grep Alt_R, I get no results, so it looks like nothing else is left to recognize Alt_R, so I am not sure how to remap Alt_R for key combinations as well.

Andra avatar
tr flag
what's the output of `xmodmap` command before mapping?
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.