Is there a 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.

5 Answers

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

alt text

1

This person found a way to do what you are looking for:

  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

2

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

2

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.

5

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!

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like