Remap one key to another

I am new to Linux and I liked this project, especially Gnome, My question If i want to make gnome extension to my self that remap capslock key to another super key , what the module i need to import in extension.js ?

when i console.log thing where i can find the output ?

You don’t need an extension for this. This can be configured in gnome-tweaks under “Keyboard” → “Additional Layout Options” → “Caps Lock behavior” → “Make Caps Lock an additional Super”.

1 Like

I know ,But i need to learn .