Libss 0.0.2 review

Download
by rbytes.net on

Libss is a cross-platform library for controlling screensavers

License: GPL (GNU General Public License)
File size: 50K
Developer: W. Michael Petullo
0 stars award from rbytes.net

Libss is a cross-platform library for controlling screensavers. It allows one to temporarily disable a screensaver.

Libss library is useful for fullscreen, visual applications that take little input.

BUILDING

Procedure 1. To build, cross your fingers and try...

1. ./configure
2. make
3. make install

Read the ``INSTALL'' file for generic detailed information on installing this program.

NASTY DETAILS

The screensaver_init() function initializes the library.

The screensaver_enable() function turns on the system's screensaver.

The screensaver_disable() function turns off the system's screensaver.

The screensaver_restore() function restores the screensaver to the state it was in when the library was initialized by screensaver_init().

Currently, libss supports only Linux, the X Window System, and XSreenSaver. However, the library is designed to support other platforms. Please feel free to contribute.

Originally libss's code was to be integrated with SDL. However, due to a feature freeze, this functionality will not make it into SDL for quite some time. In the meantime, I am packaging libss as a separate library. Libss also serves as a testbed for XScreenSaver-controlling APIs. I would like to offer a better interface to XScreenSaver than jwz's:

if (playing && !paused) {
system ("xscreensaver-command -deactivate >&- 2>&- &");
}

Consider libss a proof-of-concept which may turn into
something useful.

Libss 0.0.2 keywords