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

I enjoy using VLC to play video while I do other work.

The VLC window is set to by 'Always on top' and 'Always on visible workspace'.

In former versions of Ubuntu this has worked great. When I changed to a different workspace then whatever application I was working in would get the focus.

But in 12.04 the VLC window will now always steal focus when I switch workspace.

Does anyone know how to change this?

share|improve this question
Can confirm this in 14.04 as well. – hakermania Apr 28 '14 at 19:39
Please try disabling always on top. – Elder Geek May 7 '14 at 18:12
Wouldn't disabling 'always on top' make it .. not on top? Anyway, the question is two years old, there might be a way to do it now, but I don't use Ubuntu that often anymore. – freeall May 10 '14 at 14:32
My suggestion was based on the thought that always on top and always in focus might be somewhat synonymous. Seemed a very easy thing to try. The question is indeed almost 2 years old, however, the question appears to be still valid as @hakermania confirms it exists in 14.04. I'm just trying to do my part for the community, others may benefit even if you are no longer interested. – Elder Geek May 16 '14 at 21:25
If you're using Compiz, and have CCSM installed, there is a place in the Window section to set windows that never get the focus, etc, that might work. – Marty Fried May 25 '14 at 22:07

Disable "Click to Focus" On CCSM,

Go to; General -> General Options -> Focus & Raise Behaviour => Disable "Click to Focus"

share|improve this answer

I don't have the rep to leave a comment, so I'll put an answer and hope a mod puts it into a comment instead.

Try the setting for window under mouse has focus. Then you will need to test to see if it is based on the location of your mouse pointer. If the mouse invariable sits over your VLC window, when you switch desktop you may find that this window will grab focus by default.

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.