Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to execute a command that will close
all windows except the one that is currently active.

i would likely to place this command in the gnome-panel
which means when i click on the button, if i have firefox
open for example...

everything gets closed except for firefox that is in the front.

one theory is, xdotool can do this, but maybe there is
some other method because xdotool can not really do this alone.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .