xwd utility does not capture screen properly on unity2d
Bug #1081674 reported by
p!F
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-2d |
Invalid
|
Undecided
|
Unassigned |
Bug Description
xwd -root
This command fails to capture normal screenshot of the screen.
More information and example pictures here:
http://
Same mechanism is used by java Robot for screenshots, so it doesn't work as well.
Changed in unity-2d: | |
status: | New → Invalid |
To post a comment you must log in.
This is a consequence of how unity-2d draws itself on screen. Effectively it creates a window that covers your entire desktop & all open applications windows on your screen, then specifies to X the bits it wants to be transparent (using XShaping). The compositor (metacity in this case) then takes this info to draw your desktop.
The tool you're using to grab screenshots unfortunately is not aware of XShaping. I would encourage is the use of another screenshotting tool. gnome-screenshot is capable, and should be scriptable in a similar way to xwd.
Alternatively you could try turning off metacity's compositor, logging out & in again. Unity-2d will fall back to a different XShaping routine that may work better with xwd. Try this with: general/ compositing_ manager false
gconftool --set --type bool /apps/metacity/