2

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?

1 Answers1

2

I think I found the answer. When I added the Super D shortcut for "Show desktop" by clicking on the Edit button, that didn't remove the previous shortcut of Ctrl Alt D but rather added a new shortcut (the previous shortcut is not shown in the list, which made me think it was replaced by my shortcut).

When I clicked on "remove" to remove the Super D shortcut, the previous Ctrl Alt D reappeared out of nowhere! So I removed that one and then re-added the Super D shortcut. Everything has been working fine since then.

It seems that the bug is a combination of two things:

  1. When editing a shortcut, the previous shortcut is silently kept but not shown in the list.

  2. Invoking the setxkbmap command preserves only the first shortcut and not the second one (which is the one shown in the list).