Re: FVWM: Get the current content of root window

Klaus Ethgen <[email protected]> Thu, 18 Feb 2021 12:07:35 +0100
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
Hi Rainer,

Am Do den 18. Feb 2021 um 11:57 schrieb Dr Rainer Woitok:
> On Thursday, 2021-02-18 10:44:03 +0100, you wrote:
> 
> > ...
> > Both just get the current visible desktop; with all windows ans other
> > stuff that is ontop of the root window.
> 
> That's something you can do with "xwd":
> 
>    $ xwd -root | convert xwd:- file.png

I already tried that but it only gives me the current desktop with all
windows above the background.

> > I want to get the content of the root window itself; the one that was
> > set by display/xsetbg or others.
> 
> Hmmm,  must be burried somewhere  in your personal X11 configuration ...
> sorry, no idea.

Well, you misunderstood. I know, where the image is coming from. But I
want to readout the image from the current state to use it, for example,
as pseudo transparency or to draw something additional on the root
image.

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
signature.asc (application/pgp-signature, 688 B)
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAABCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAmAuSncACgkQpnwKsYAZ
9qy81QwAsmHdAe89beZDrumXcDqIMQtPwbxcqIcvcht6Y4C2nfFkmuHYCy9BrDl2
IZzKytwABeCOl6jmEZm5XD0Xa9bLCRCbkaTBBlMDZE6aKD0gyUzF0zx3/pM6MX75
8TlFT2DuloRbUAzC56NcOSNE/U6VCbv9TxiTP2JxojKK0/RIHqizimu/LDSavJ+v
9khazJaXUMmvd7vwPTJAMGl/buJKAkiBGPgP4+1/6lMRsXqht0BywJ93FEUtaVQN
5xk1/o7gM4efDvwgq3TbPUTQfXP3g3BJz5oEGhN7ZG8ADo/I+myPHxO6p0Lt5qBN
81e8L5M461rtP8z3wUw3z4KwjTN4u3d1NVmiJEt2sQQNhrEAIh1gzNXqWz+kWveC
2IEHQKKfInd3/qXW/m+RkN/SJjzJO8V4OHpPoAn3CiZcFws1CBrMD2txM8Dbc1cK
SLMy5QjYCFBME9UYxLC5ULWyqf6ebyx6G3kUbjvc5WgdUkEJrexUesSK7d+FOqUd
fal99cbN
=loMd
-----END PGP SIGNATURE-----