Try using double "/" so like:
user_pref("mail.biff.sound_file", "//usr//share//sounds//phone.wav");
I had to do this under windows so maybe it's the same for Linux. I'm
not sure if this is just a quote type of thing as you would use in
programming to state that you want the actual character instead of the
interpreted character.
Anyway try that.
Julz
Ned Lilly wrote:
> What if it's a .wav file?
>
> I did:
>
> user_pref("mail.biff.sound_file", "/usr/share/sounds/phone.wav");
> user_pref("mail.biff.use_default_sound", false);
>
> ... but it didn't work.
>
> Would a mail.wav.sound_file construction work (doesn't seem to!), or do
> I need to convert the wave file to .biff format?
>
> Thanks!
>
>
>
>
> Pratik Solanki wrote:
>
>> I dont know what the location of teh sound file is but if you want to
>> change the sound that gets played, you can add the folowing two lines
>> to your prefs.js and change it.
>>
>> user_pref("mail.biff.sound_file", "<path-to-you-file>");
>> user_pref("mail.biff.use_default_sound", false);
>>
>> Pratik.
>>
>> Ned Lilly wrote:
>>
>>> Sorry if this is a FAQ, haven't seen it anywhere...
>>>
>>> I know there isn't a button (yet) to select the sound that's played
>>> when you get new mail (I'm using 0.81 for Linux). Can someone point
>>> me to the location of the file? Right now it's a default beep.
>>>
>>> Please reply via email if possible.
>>>
>>> Thanks,
>>> Ned
>>