Ubuntu – keybind to minimize all windows, without a toggle


I know about the show desktop keybind (default Ctrl+Alt+D), which I use often enough. However, I'm looking for a way to minimize all windows without activating "show desktop".

I'm on a default install (i.e Gnome, Metacity & Compiz). I've looked through all the locations to configure keybinds, that I know. I've also looked at the default keybind list in the Ubuntu wiki and in the Compiz wiki. (Not to mention, searching here.)

I'm interested in knowing where it is available, if not in Gnome/Metacity/Compiz, or some other way to accomplish this with a keybind.

Best Answer

This person found a way to do what you are looking for: http://www.cs.bgu.ac.il/~gwiener/linux/minimizing-all-windows-in-gnome/

  1. First install devilspie

    sudo apt-get install devilspie
  2. Then create a file called minimize.ds in your home folder. In that file put the following:


    Test it out by running: devilspie minimize.ds

  3. If it works as it should then add a shortcut: System ➜ Preferences ➜ Keyboard Shortcuts.

    Click on the Add button and fill in the fields as shown below, replacing YOURUSERNAME with your actual username.

    And finally double-click where it says Disabled and press your shortcut keys.

    alt text

Related Question