1

I want to know how to restore all windows which I have minimized (using the mouse). I find it annoying to have to browse through my windows manually to restore all of them.

Both GUI-based and command line solutions work for me.

To show that I have searched for answers before posting here:

Pang
  • 373
DriesB
  • 51

2 Answers2

4

There's a package called xdotools which can do this. The command to be used is;

xdotool search --onlyvisible --name '.*' windowactivate %@

You can add this to a shortcut and place it on the toolbar so a single click opens everything.

Kulfy
  • 18,154
Tsundar
  • 51
4

Based on this post by user55822 on closing all open windows, I found the following solution:

WIN_IDs=$(wmctrl -l | awk '$3 != "N/A" {print $1}')
for i in $WIN_IDs; do wmctrl -ia "$i"; done
pomsky
  • 70,557
DriesB
  • 51