Hacker News new | past | comments | ask | show | jobs | submit login

setxkbmap -option 'caps:ctrl_modifier'

handles part of it and

xcape -e 'Caps_Lock=Escape'

does the rest. xcape is in the ubuntu repos, for fedora there's a copr (dawid/xcape).




Thanks, I'll check out xcape.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: