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.
It can be found in System--->Preferences--->Keyboard shortcuts
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/
First install
devilspie
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
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.
Ctrl+Alt+D
? You can set it in GnomeSystem->Preferences
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.
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!