Ubuntu – How to make Ubuntu not to lock the screen while running VMware in fullscreen


I am running Windows XP inside VMware Player. I have two monitors and I keep VMware in fullscreen on the second monitor.

The problem is that if I work long enough in inside Windows XP, Ubuntu locks the screen as if I was idle. Once that happens I need to enter my password in order to return to the desktop on the other monitor.

Is there a way to fix or workaround this problem without disabling screensaver lock in Ubuntu temporarily or permanently?

Best Answer

I think installing Caffeine could help you. It's a nice application which blocks your PC from going to suspend/lock-screen/black-screen when selected applications are running.

You can install it like this (available for precise):

sudo add-apt-repository ppa:caffeine-developers/ppa

sudo apt-get update

sudo apt-get install caffeine

After that just run the program. You will have a little indicator of a coffee mug in your panel.

You can manually activate Caffeine by clicking on the indicator and selecting "Deactivate screensaver" or you go to Preferences and select the applications for which it should activate itself automatically. It's also great for video players or Flash videos.

enter image description here

You can also read all about it on OMG!ubuntu.