Hi Ted,

On Mon, Dec 06, 2021 at 01:23:49PM -0700, Ted Bullock wrote:
| btw, is there a tool in base that I can use to grab a screenshot of
| what X is showing?

Try xwd(1).  You can view its output with xwud(1), but there are also
several tools in ports that allow you to read these dumps, I use
graphics/netpbm in a small shell script.  The meat of the matter is
this:

        xwd -root | xwdtopnm -quiet | pnmtopng -compression=9 > ${OUT}

Cheers,

Paul

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to