DEV Community

Discussion on: Remap keys in the keyboard in Ubuntu

Collapse
 
blackbeerben profile image
blackbeerben • Edited

$ xkbcomp /home/user/.xkbmap ":0"
Error: Cannot open display ":0"
Exiting

Gave up on terminal. Unsure what the command ":0" is supposed to do. I read this article- linuxuprising.com/2020/12/remap-ke...
Then I installed input-mapper- github.com/sezanzeb/input-remapper

Got this funky UK keyboard on a Starbook laptop with a narrow left hand shift key where there is an extra ">" less than key which I changed to be an additional left shift key. Now I can type at a normal speed again.

Running- Pop!_OS 21.10 x86_64 on a Starbook-mk-v

Thanks for the efforts. Couldn't get it to work for me.

Collapse
 
abidkhairyak profile image
AbidKhairyAK

Pop OS use display ":1"

Collapse
 
blackbeerben profile image
blackbeerben

Thanks for this