=pod =head1 NAME icesound - play audio files when interesting GUI events happen =head1 SYNOPSIS B [I] =head1 DESCRIPTION The L window manager generates so-called GUI events in response to interesting actions, like opening or closing of application windows, switching of work space, etc. GUI events are a property of the X root window. L changes this property whenever a new GUI event occurs. Interested applications can listen for changes to this property. There are nearly twenty GUI events defined. B is an application, which is one of the L applications, which responds to these GUI events by playing audio files. These sound files are F<.wav> files located in a F sub-directory in one of the L configuration directories. B supports several common audio interfaces. These are: ALSA, OSS and libAO. These must be enabled during configuration. ALSA, OSS and libAO all require support for L, which is a very common library to read audio files. =over =item B B is rather involved to program and it works, but this could use more testing. It plays at most one sound at a time. =item B B is a cross-platform audio output library which is a convenient wrapper around a significant number of common audio interfaces. It has a simple configuration file which is documented in the L manual page. =item B The I is a cross-platform sound interface, which is fully supported by B. =back When multiple audio interfaces are available B will examine them all until it finds one which it can connect to and then use that one. By default it prefers them in the order of: B, B, B. =head1 OPTIONS =head2 SPECIFIC OPTIONS =over =item B<-d>, B<--display>=I X11 display used by L (default: $DISPLAY). =item B<-s>, B<--sample-dir>=I Specifies a directory with sound files. The default is: F<$HOME/.config/icewm/sounds>, F<$HOME/.icewm/sounds>, F and F. See the output of C. =item B<-i>, B<--interface>={B|B|B}[,{B|B|B}]* Specifies the audio output interfaces. One or more of: B, B, B separated by commas (C<,>). =item B<-D>, B<--device>=I Backwards compatibility only: the default device. Please prefer one of the B<-A>, B<-O> or B<-S> options. =item B<-O>, B<--oss>=I Specifies the OSS device (default: F). =item B<-A>, B<--alsa>=I Specifies the ALSA device (default: C). =item B<-z>, B<--snooze>=I Specifies the snooze interval between sound events in milliseconds. Default is 500 milliseconds. =item B<-p>, B<--play>=I Plays the given sound (name or number) and exits. =item B<-l>, B<--list-files> Lists the available sound file paths and exits. =item B<--list-sounds> Lists the supported sound file names and exits. =item B<--list-interfaces> Lists the supported audio interfaces and exits. =item B<-v>, B<--verbose> Be verbose and print some information when sound events occur. =back =head2 GENERAL OPTIONS =over =item B<-h>, B<--help> Print a brief usage statement to F and exit. =item B<-V>, B<--version> Print the program version to F and exit. =item B<-C>, B<--copying> Print copying permissions to F for the program and exit. =back =head1 EXIT STATUS =over =item B<0> Success. =item B<1> General error. =item B<2> Command line error. =item B<3> Subsystems error (i.e cannot connect to server). =back =head1 SEE ALSO L, L, L, L, L. =head1 BUGS Please report bugs at L. =head1 AUTHOR Brian Bidulock L. See B<--copying> for full copyright notice and copying permissions. =head1 LICENSE B is licensed under the GNU Library General Public License. See the F file in the distribution or use the B<--copying> flag to display copying permissions. =cut # vim: set sw=4 tw=72 nocin spell spelllang=en_ca: