DEV Community

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)