Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: