Denny’s OpenBSD Newbies blog

November 7, 2009

Taking Desktop Screenshots

Filed under: openbsd — Tags: , , , , , , , , , — denny @ 4:18 am

I was Googling around the other night looking for graphics
help and ran across this site where I learned about some
X stuff I didn’t even know was there on my box:

Useful Things You Can Do with FVWM

Example of dumping the root screen using xwd, part
of the X Window System included with OpenBSD:
xwd -root -out file

Example of displaying the dumped image with xwud,
again part of the X Window System:
xwud -in file

Example of dumping the root screen & outputting it to
jpg format using xwdtopnm and pnmtopng, both
included in the netpbm port/package:

xwd -root |xwdtopnm |pnmtopng > file.jpg

Example of converting an existing screenshot taken with
xwd, using xwdtopnm and pnmtopng:

xwdtopnm < file | pnmtopng > file.png
xwdtopnm < file | pnmtojpeg > file.jpg

Example converting a screenshot taken with xwd with
convert, part of the ImageMagick port/package:

convert file file.png
convert file file.jpg

July 2, 2008

Fluxbox Desktop

Filed under: openbsd — Tags: , , , — denny @ 2:58 am

I finally got another write up done. This one is about how I rotate my
Fluxbox desktop wallpaper daily using a script, some environment
settings, and a cronjob. It’s late, I’m bushed, and it’s quite possible
there may be some ‘goofs’. I’m coming back later and recheck it, but
for now, if you see something wrong, let me know. Also let me know
if you try it and get it working.

Cheers!

Powered by WordPress

Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Linkedin button Webonews button Delicious button Digg button Stumbleupon button Newsvine button Youtube button