libaosd
An advanced on screen display (OSD) library, which uses Cairo to create high quality rendered graphics to be overlaid on top of the screen.
When it comes to displaying an OSD, the main concern is surely its transparency.
Libaosd provides the following options here:
- No transparency — the startup default, you'll see a black rectangle;
- Fake transparency — when osd background is copied from the screen contents;
- XComposite — the way of screen composition with rapidly increasing popularity,
but falls back to fake transparency upon improper setup.
However, the most common use of OSD, and its original purpose after all,
is displaying the textual information. One of the natural ways to implement
this task with Libaosd is drawing a
Pango rendered layout.
If this matches your opinion, then you might consider using several Pango wrappers
which are bundled with Libaosd and installed as a separate library.
Given all that said, Libaosd should be considered a perfect replacement for an old-fashioned libxosd.
Libaosd is licensed under the MIT/X11 license.
Latest Release Highlights:
- As a library, we shouldn't call exit on X11 polling error, aborting now;
- On distclean, remove those files that were generated by configure and vice versa do not remove those that weren't;
- Updated the build system from its upstream to fix the installation on non-GNU systems;
- Updated the manual page for aosd_cat to explain the geometry parameters thoroughly.
Visit the Full Changelog
Development code (requires Git and autotools):
$ git clone git://git.atheme.org/libaosd.git
$ cd libaosd
$ ./autogen.sh
Installation is fairly typical:
$ ./configure
$ make
$ sudo make install
(If sudo isn't on your system, su to root.)