This question already has an answer here:

When I have a file browser and an image viewer opened and I double click a photo, the image viewer doesn't jump to the foreground, its icon just shakes a bit and acquires a glow around it, and I have to manually click on it to actually see the photo. How could I make it automatic, so that a double click on a photo shows it immediately, even when the image viewer is already opened in the background?

share|improve this question

marked as duplicate by Mitch Oct 7 '15 at 6:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 22 down vote accepted

This behaviour can be changed from the command line, open a terminal and type:

dconf write /org/compiz/profiles/unity/plugins/core/focus-prevention-level 0

To restore the default value:

dconf write /org/compiz/profiles/unity/plugins/core/focus-prevention-level 1
share|improve this answer
    
hi, strange, in my ubuntu 14.04 there is no setting "focus-prevention-level" at this place :-| , any ideas ? – user157697 Sep 23 '15 at 12:53
    
@user157697, you should be able to find the setting via CCSM. See this answer. – wjandrea Oct 7 '15 at 1:44
    
@Burnaby : thanks it worked. – user157697 Oct 8 '15 at 22:00
2  
Thank you so much for this. The default behavior was wildly irritating to me. – jdc Apr 22 '16 at 5:02
    
Worked for me on 14.04 – tigerjack89 May 15 '16 at 11:20

protected by Sylvain Pineau Apr 22 '16 at 7:24

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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