Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Why sometimes when I open a picture or Skype (probably there are other programs with the same behavior, but I don't remember now) the Image Viewer / Skype is not focused.

It doesn't happen all the time. I cannot catch the exact condition when this happens, but it really bothers me because often I close the wrong program.

share|improve this question

2 Answers 2

(NOTE: this answer might be Xfce-specific, I have not used gnome or unity enough to know)

In the window manager tweaks setting page, the focus tab allows you to change how focus is shared between programs.

share|improve this answer

This is related to your focus stealing preventing settings in Compiz.

Install Compizconfig-settings-manager from the software centre, open it, and then go to general options, and in there, set your focus stealing prevention level to a higher level:

enter image description here

share|improve this answer

Your Answer

 
discard

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.