Score:0

The right key of my laptop keyboard has malfunctioned. I want to disable it. xmodmap is deprecated, help needed in writing a xkb script

in flag

I am using an Ubuntu 20.04.02 machine. I was using xmodmap to disable the right key, and make my pgdn key as my right key. Below is the code for that.

117 is the keycode for PgDn, and 114 is keycode for Right.

xmodmap -e 'keycode 117=Right'
xmodmap -e 'keycode 114='

I had made an executiable file, which ran on startup and everything worked for some time. Now xmodmap has deprecated and I am facing issues, the script stops working randomly. So, I have to use XKB. But I can't come up with a script to disable right key and, use pgdn as right key. So anyone who is familiar with XKB, please help.

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.