How can I get the Super-D key binding in Xfce desktop? The Start+d is not working and invoking the Whisker menu but not showing the desktop. I tried changing, in the shortcuts, from Ctrl+alt+D to Start+D but that still doesn't work.

This works well in Cinnamon when the Super key is pressed, the menu appears, and for Start+d it just works like in Windows.

What could be the reason, if it works in Cinnamon, it couldn't also work in Xfce?

  • Can you please explain how you tried changing the shortcuts? – Panagiotis Tabakis Aug 15 '16 at 17:40

You can change the shortcuts that handle the window manager by opening Window Manager from Settings > Window Manager, Keyboard tab.

  • Scroll down until you see Show desktop, (default Ctrl+Alt+D)
  • Click to select the row, and press Edit Window Manager
  • Press the desired keyboard keys combination on Window Manager Action Shortcut popup window (Super+D in your case).
    Window Manager Action Shortcut
  • Click Close.

This way Show desktop will be triggered by Super+D.

| improve this answer | |
  • 3
    This doesn't work if you have the Super key bound to open the whisker menu, it seems – Clément Mar 19 '19 at 17:38

I've had the same problem in Linux Mint 18 Xfce.

I've solved it with the solution in the answers of this link: http://www.linuxquestions.org/questions/linux-software-2/how-to-show-desktop-in-xfce4-601161-print/

A script using the command «wmctrl -k on» and «wmctrl -k off»

if xprop -root  _NET_SHOWING_DESKTOP|egrep '= 1' ; then
      wmctrl -k off ;
      wmctrl -k on ;

You can create a shortcut to the script in the keyboard settings.

| improve this answer | |
  • 1
    Didn't it conflict with Whisker menu? This happens if you have <Super> to trigger the whisker menu. – user12458 Aug 20 '16 at 15:10
  • That's not a conflict for me if I have enough time <super>pulsed. So I pulse first <Super> and then <D> and I have no problem. In fact, I have more shortcuts with <super> + <letter>. Also, if you want, you can delete de shortcut to Whisker menu in the keyboard settings. – Pseudoabulafia Aug 21 '16 at 8:17
  • Can that time be adjusted? – user12458 Aug 21 '16 at 9:05
  • That the only solution worked from me xubuntu I add that script to new file sudo nano /usr/local/sbin/showdesktop and sudo chmod +x showdesktop Assatinate the shortcut from xfce setting / keyboard application shortcut menu – Salem F Jul 23 '18 at 18:05

To enable do this:

  • Go to the folder ~/.config/xfce4/xfconf/xfce-perchannel-xml/ (notice, this is a hidden folder, so, if you use Thunar, press Ctrl+H to see hidden folders and files)

  • Open the file xfce4-keyboard-shortcuts.xml with a text editor (if you double-click, it will open in a browser)

  • Add the following line:

    <property name="&lt;Super&gt;d" type="string" value="show_desktop_key"/>

In my case I have it in the second subsection, <property name="xfwm4" type="empty">, but it might work in the first one, <property name="commands" type="empty">.

| improve this answer | |
  • Not working for me! – user12458 Aug 4 '16 at 15:30
  • Then try the above in the same file but in any of these folders (requires sudo power): /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/ and /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ – user308164 Aug 5 '16 at 12:16
  • Not working still! Do I have to place it in defaults property? or just directly under xfmw4? I also tried logging out and testing! but still didn't work – user12458 Aug 5 '16 at 16:26
  • Strange... have you tried modifying through the Settings Menu? Open the Settings (xfce4-settings-manager in the terminal), select Window Manager, then select Keyboard tab, and scroll down until you see "Show Desktop". Change that one using your key option. – user308164 Aug 5 '16 at 16:41
  • Yes, but that didn't work. – user12458 Aug 5 '16 at 16:45

I think there is a bug in XFCE. If I go to Settings > Window Manager > Keyboard and assign the shortcut Super + D it works until the next restart. In order for this shortcut to work always, you need to first remove the existing shortcut assignment. So, first hit the button [Clear] to remove the default shortcut and then hit the Super + D combination. Otherwise, the existing shortcut remains "under cover" and interferes.

Also, of course, you may want to clear any other places where the Windows Key (Super) is used, e.g. to show Whisker Menu, because, otherwise every time you hit Super + D it will try to open Whisker Menu. For example, I use other combinations with the Windows Key, like Super + T = launch Terminal, Super + E = launch Thunar (analogy of Super + E on Windows, where it launches Windows Explorer). So, I had to clear the assignment of the Win Key to show Whisker Menu to prevent the menu from always popping up.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.