pngphoon 1.1

A successor to the great xphoon program.
pngphoon project is intended as a successor to the great xphoon program (X PHase of mOON), which was written by Jef Poskanzer and Craig Leres and is available from: xphoon is a program that displays the actual phase of the moon on the X11 root window.

Nowadays all desktop systems like KDE hide the X11 rootwindow with an own background image, so xphoon could paint as much in the root window as it likes to, but nothing was to been seen.

KDE has an advanced interface for programs to dynamically provide background images in png format. That's what is program was originally written for. Here's an example. The image size must be 760x760 or bigger to place the moon. If it's smaller just the stars will be drawn. And by the way: it is pronounced "pingphoon" (like "typhoon").


necessary are only a C compiler and
the development files of the png library (png.h and or .a and their dependencies of cause)
a simple "make" should create the binary.

Setting up pngphoon for KDE:

assuming that the binary has been copied to /usr/local/bin/pngphoon
select configure desktop
bring up the advanced options dialog
check "Use the following program for drawing the background"
click add and fill out the form like this:
Name: pngphoon
Comment: Phase of moon
Command: /usr/local/bin/pngphoon -w %x -h %y -f %f
Preview Cmd: /usr/local/bin/pngphoon -w %x -h %y -f %f
Executable: /usr/local/bin/pngphoon
Refresh Time: 60 min
click "OK" on everything you opened

last updated on:
February 16th, 2009, 21:41 GMT
developed by:
license type:
GPL (GNU General Public License) 
ROOT \ Desktop Environment \ Tools


In a hurry? Add it to your Download Basket!

user rating 15



Rate it!
What's New in This Release:
  • The program crashed when a mandatory parameter was missing.
  • When the width was not a multiple of 8, both the moon and stars were not drawn correctly.
  • Both of these bugs were fixed.
read full changelog

Add your review!