Ubuntu – How to take screenshot on Ubuntu-guest (Virtualbox)


I am running Ubuntu 10.10 amd64 in a Virtualbox on windows host. whenever i try to take a screenshot by pressing the print screen or by launching the gnome-screenshot option the screenshot appears completely black.
any idea how to get a screenshot inside the Virtualbox?

Best Answer

Ok guys! I have found out the problem and the solution. :P

The problem is Compiz and the solution is to disable it using the command:

metacity --replace &

Now, I can take screenshot of any window inside the VirtualBox.