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 use Ubuntu 12.04 plus Windows 7 from VirtualBox. The thing is that, when I am in Windows "too long" (longer than the time after which Ubuntu normally locks), Ubuntu locks. It's not expected, because I still use PC. I would only like to lock it, when I don't use mouse/ keyboard at all.

Conclusion is that probably, when the focus is in Windows, Ubuntu doesn't know about that (doesn't have info on keyboard/ mouse moves).

Has anyone else experienced similar issue? Is there a way to prevent it?

Many thanks in advance, Konrad

after edit: - Guest additions are installed for Windows 7, - I don't use Unity - I don't use Compiz - to clarify: locking occurs, when I go back to Ubuntu from Windows, after that time

share|improve this question
Had you installed the Guest Additions? – Takkat Apr 9 '13 at 7:10
yes, I had. however, as far as I know, this issue also occurs when Guest Additions are not installed. – user147931 Apr 10 '13 at 7:07

Your Answer


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

Browse other questions tagged or ask your own question.