The following is an sample WMSound file:
{
Dock = none;
UnDock = none;
Kaboom = none;
AppStart = none;
Maximize = none;
UnMaximize = none;
Hide = none;
UnHide = none;
Shade = none;
UnShade = none;
Shutdown = none;
Device = "/dev/dsp";
Startup = "/home/dann/GNUstep/Library/WindowMaker/Sounds/KDE_Startup.wav";
AppExit = "/home/dann/GNUstep/Library/WindowMaker/Sounds/
KDE_Close_Window.wav";
Iconify = "/home/dann/GNUstep/Library/WindowMaker/Sounds/
KDE_Window_Iconify.wav";
DeIconify = "/home/dann/GNUstep/Library/WindowMaker/Sounds/
KDE_Window_DeIconify.wav";
SoundPath = (
"~/GNUstep/Library/WindowMaker/Sounds",
"/usr/X11R6/share/WindowMaker/Sounds"
);
SoundSetPath = (
"~/GNUstep/Library/WindowMaker/SoundSets",
"/usr/X11R6/share/WindowMaker/SoundSets"
);
}
Most of this file defines the different sounds files to be used for
specific events. For instance, when an application exits (AppExit) the
KDE_Close_Window.wav is played.
The sound device is also specificied in this file. In this case sound is played through /dev/dsp.
Finally, the paths to sound files and sound sets are indicated.
The recommended way to edit this file is to use WSoundPrefs.app. To execute WSoundPrefs.app you will probably have to supply the full path (/usr/local/GNUstep/Apps/WSoundPrefs/WSoundPrefs.app is the default) since it is not installed in any bin directory. The WSountPrefs.app can be docked.