17

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.

5 Answers5

15

It can be found in System--->Preferences--->Keyboard shortcuts

alt text

karthick87
  • 84,513
9

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:

    (begin
      (minimize)
      (quit))
    

    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

Zanna
  • 72,312
Isaiah
  • 60,750
2

Ctrl+Alt+D? You can set it in Gnome System->Preferences

Praweł
  • 6,536
1

Try using wmctrl.

sudo apt-get install wmctrl

Then, create a new custom shortcut that executes the following command.

wmctrl -k on

This should do what you are looking for.

Ramón
  • 1,647
0

This is built into Ubuntu Settings.

Go to: Settings > System Settings > Shortcuts and Gestures > Global Keyboard Shortcuts > Select 'KWin' in KDE Component pull-down menu > Then scroll down to 'Show Desktop' > Assign a custom hotkey. Presto!