This question already has an answer here:
I'm running Ubuntu 15.10. I'm running the following command in the terminal to swap the left Alt and left Control keys:
setxkbmap -option ctrl:swap_lalt_lctl. It works, but as soon as I reboot It's gone and I have to run that command again. I tried adding it to the "Startup Applications." I clicked "Add" in the Startup Applications GUI and in the "command" field I entered
setxkbmap -option ctrl:swap_lalt_lctl. I named it "Swap Alt Ctrl." It doesn't work. What am I doing wrong?