I'm running Linux Mint 20 with the Xfce desktop environment. As I am used to hitting Super+D for minimizing all windows, I changed the shortcut from Ctrl-Alt-D to Super+D in Settings / Window Manager / Keyboard. It works perfectly.
Then a few minutes later, I run the setxkbmap -option ctrl:nocaps command at the terminal to make CapsLock act like a Control key. After that, the Super+D shortcut doesn't work anymore. It's still listed in Settings / Window Manager / Keyboard but hitting Super+D just types a D. If I edit the shortcut and set it to Super+D again, it works again.
Why does this happen, and how can I make the Super+D shortcut permanent?