DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
pineapplemeat
pineapplemeat

Posted on

Remap caps lock as ctrl in Lubuntu

Do this for current session:

setxkbmap -layout us -option ctrl:nocaps
Enter fullscreen mode Exit fullscreen mode

Make it permanent:

$ sudo vi /etc/default/keyboard
Enter fullscreen mode Exit fullscreen mode

Change XKBOPTIONS to

XKBOPTIONS="ctrl:nocaps"
Enter fullscreen mode Exit fullscreen mode

http://www.noah.org/wiki/CapsLock_Remap_Howto

Top comments (0)

🌚 Life is too short to browse without dark mode