Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Occasionally when I hit the close button ('x' on the left) instead of closing the application I am looking at, it closes another application. A very common example situation:

I am using Firefox, and then I open the Trash directory. Then I click in the close button and the trash do not go away, but Firefox does.

How can I work around this problem?

share|improve this question

that happen to me, too (expecially with Eye of GNOME Image Viewer).

Workaround: first clik on the window you want active, then close it.


compiz-config → accessibility → opacify:

If the active windows is different respect the one you are looking, you see it also if it look like to be in the bottom (so, if you close, you know you are closing the one you see better).

Not a perfect english... but I hope you understood.


share|improve this answer

That happened to me as well, but I tend to blame my slow laptop. Because of this, I use Ctrl+W shortcut most of time to close window or Ctrl+Q to quit program.

share|improve this answer

I don't think I've ever used the X button in the corner. I usually head to the launcher, right click my current application, and quit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.