Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When using the built-in window screenshot function on Ubuntu (alt-printscreen) with dual monitors, a black rectangle covers about the top third of the captured window (or that area is not captured). When capturing the entire screen (printscreen), the left monitor shows the same size rectangle, but it doesn't cover the window, but pushes it down. It's as if the capture is using the smaller monitor's dimensions, and is not aware of the larger monitor.

Here are the images:

Window capture: http://moby.to/8d69hp
Screen capture: http://moby.to/v99gqs

When using the command line, I get this error:

$ gnome-screenshot --window
(gnome-screenshot:8522): GdkPixbuf-CRITICAL **: gdk_pixbuf_composite: assertion `dest_y >= 0 && dest_y + dest_height <= dest->height' failed

System info:
Ubuntu 10.04.2 LTS (Lucid)
Linux 2.6.32-32-generic
Left monitor (laptop) 1280x800
Right monitor (external) 1920x1080

Video card:

$ lspci | grep -i graphics
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

Is there a way to get this to work?

Edit: this does not happen with one monitor or when the monitors are mirrored.
2nd edit: if this would be better asked on SuperUser, please let me know.

share|improve this question

2 Answers 2

That happens because you have different size of monitors, depending on your video card you can play with the sizes and configurations. Usually the closed drivers of Nvidia or Ati handle this things better. What type of video card you have

share|improve this answer
    
That's what I figured, but I like the current config. Video card info added to question. –  Hollister Jun 27 '11 at 16:52

This doesn't really answer the question (I'd still like to know what causes the issue), but others reading this may be interested.

I installed Shutter ($ sudo apt-get install shutter) and it works like a charm. Much more feature-rich as well.

share|improve this answer

Your Answer

 
discard

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.