I set my Caps Lock to be a Ctrl in Ubuntu 16.04 using:
setxkbmap -option 'caps:ctrl_modifier'
But when I change my keyboard from En to Cs, the Caps Lock becomes a Caps Lock again, not a Ctrl.
To fix it, I have to execute the above setxkbmap
command again from a terminal.
How can I make the setting permanent, even if I switch keyboard layouts?