Background: I am running Ubuntu 22.04.1 LTS. I am new to Linux. I do not have a programming or computer science background.
Problem: I am trying to reassign the function of 'Tab' to the 'Insert' key as the main 'Tab' key is broken.
Solutions tried: I went through the following steps:
- Found out the keycode for the 'Insert' key using xmodmap -pke command.
- Used the command xmodmap -e "keycode 118 = Tab" command to assign the key to tab.
- running xmodmap -pke command again shows that keycode 118 has been assigned to 'Tab' key.
- However, when pressed, 'Insert' key does not act as 'tab' key.
I am at a loss. What went wrong? Thanks in advance.