How to remap capslock to escape in zorin 15.3 lite

Any ideas on How to remap my caps lock key to act as another escape key?

You can use something like xmodmap.

This is more specific to your request.
Hope this has helped?

Thanks for the help. I wound up using xmodmap sightly differently, by creating a /.xmodmap file with…

! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock

And that works. But how do I get xmodmap to read that file on startup?

It reads the file ~/.xmodmap. You created the file in root.

Try moving it to your home folder and try again.

You can test this by running.

xmodmap ~/.xmodmap

1 Like

Awesome, thanks.