NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Writing to root-window



At Thu, 22 May 2025 15:41:36 -0400, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
Subject: Writing to root-window
>
> I can splash a graphic to X root-window.
>
> How do I do this  with text ?
> Especially, how to stick  the text on top
> of a graphic that is on the root-window?

I presume you want an application to do this, not C code, or?

You can write the text onto (maybe a copy of) the image with something
like magick (from ImageMagick).

Then update the root window with the new image (using xli, or xv, or
display (from ImageMagick)).

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpV2BrerzhIJ.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index