On Linux Mint with Cinnamon, you can do this in system settings by going to Keyboard → Layouts → Options → Caps Lock behavior. (You can also put that line in a shell script and set the script to run at startup.)
On Linux Mint with Cinnamon, you can do this in system settings by going to Keyboard → Layouts → Options → Caps Lock behavior. (You can also put that line in a shell script and set the script to run at startup.)