logoalt Hacker News

teddyhyesterday at 12:21 AM2 repliesview on HN

> I must bind caps-lock to control, and […] no operating system does this in a way that really works besides OSX.

What? This has worked for me in X11 for at least two years now:

  setxkbmap -model pc104 us -option ctrl:nocaps
(If you still need a Caps Lock key, there’s -option ctrl:swapcaps)

Replies

nasduiayesterday at 1:14 AM

Yes, and that option is in most desktop environments' keyboard configuration dialogs.

bjoliyesterday at 6:36 AM

I always use "two shift keys activates caps".