Dumping root background with xwd

John Lane john at lane.uk.net
Mon Aug 24 04:13:01 PDT 2015


I posted a question on the xorg list asking how to dump the current root
background but I never received a reply. Being unaware of any existing
method to achieve this, I patched "xwd" to do it. My patch allows one to
do this:

    $ xwd -root -bg | convert - bg.png

Here is an example background from a triple monitor display:
http://imgur.com/NeVv5wa. It also works with individual windows with or
without frames.

Would there be interest in this - is it worth me submitting the patch?

-------------- next part --------------
xorg at lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

More information about the xorg mailing list