On 11 Nov 2002 22:14:58 -0600, Norvell Spearman wrote:
>
> fvwm-2.5.4
>
> How does one specify a sound directory for FvwmEvent without invoking
> FvwmAudio compatibility mode (I'm using esd/esdplay instead of rplay).
> If I missed this in the documentation, all apologies in advance.
There is no way to specify a sound directory in the plain FvwmEvent.
But there are 2 approaches how not to duplicate it every time:
*FvwmEvent-Sound: Cmd "Exec exec esdplay"
SetEnv SOUND_DIR /data/multimedia/sounds
*FvwmEvent-Sound: add_window $[SOUND_DIR]/add_window.au
*FvwmEvent-Sound: destroy_window $[SOUND_DIR]/destroy_window.au
*FvwmEvent-Sound: iconify $[SOUND_DIR]/iconify.au
...
If you don't want to hardcode any directory, use "relative" directory:
*FvwmEvent-Sound: add_window $./../sounds/add_window.au
*FvwmEvent-Sound: destroy_window $./../sounds/destroy_window.au
*FvwmEvent-Sound: iconify $./../sounds/iconify.au
...
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Nov 11 2002 - 23:57:59 GMT