On Mon, Feb 02, 2015 at 11:28:42AM +0100 I heard the voice of
Maurizio Dall'Acqua, and lo! it spake thus:
>
> I would like to implement sound events in my installation of ctwm. I
> use linux mint and the sound flag USE_SOUND has been enabled at
> compile time. I have created a .ctwm-sounds file in my home directory
> with this inside:
>
> {Startup}: {$HOME/Music/202029__hykenfreak__notification-chime.wav}
> {ButtonPress}: {$HOME/Music/233539__oceanictrancer__click(1).wav}
Well, you may be the only one I've yet heard of trying it, so I
wouldn't be surprised to find bugs :)
But just in looking over the code quickly, I see at least two
potential issues.
1) That doesn't seem to match the format the code is expecting.
Specifically, lose the braces. It should just be
Event: file.wav
on the lines.
2) I don't think it'll interpolate $HOME (or ~ or any other such
reference). I presume it'll interpret paths relative to the
working dir of the ctwm process.
--
Matthew Fuller (MF4839) | [email protected]
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.