HOW TO: Fix K3b not playing notification sounds

The K3b notification sound files in /usr/share/sounds are in .wav format. This doesn’t jive with K3b for reasons unknown to me. The solution is to format them to .ogg like all the other sound files in that directory. This requires enabling the packman repo from the community repos and installing ffmpeg. Once you have ffmpeg installed, open a terminal and run:

sudo ffmpeg -i /usr/share/sounds/k3b_error1.wav /usr/share/sounds/k3b_success1.wav /usr/share/sounds/k3b_wait_media1.wav -acodec libvorbis -aq 60 /usr/share/sounds/k3b_error1.ogg /usr/share/sounds/k3b_success1.ogg /usr/share/sounds/k3b_wait_media1.ogg

Vorbis is currently broken in ffmpeg, so I had to substitute -acodec vorbis with -acodec libvorbis for anyone that cares. This command will create 3 new files in /user/share/sounds with the same names as the originals, but with the .ogg format. Then go to K3b>Settings>Configure K3b>Notifications and select the new ogg file for each notification in place of the .wav files. Enjoy your K3b notifications!

Upon further investigation, the current version of ogg vorbis in ffmpeg is really broken. The above command rewrites all three files with the k3b_error1 sound byte even though they are separated. Using the ffmpeg -i <original_file.wav> -acodec libvorbis -aq Upon further investigation, the current version of ogg vorbis in ffmpeg is really broken. The above command rewrites all three files with the k3b_error1 sound byte even though they are separated. Using the ffmpeg -i <original_file.wav> -acodec libvorbis -aq 60 <new_file.ogg> command on each file separately works fine. If you have screwed up your k3b sound files, and don’t want to risk trying to convert anymore, send me a PM and I will send the fixed files to you. For some reason the forums won’t let me attach files.

EDIT by caf4926 to add zip file for download
http://files.myopera.com/carl4926/blog/K3b.zip

I added the file for you 67GTA
But I couldn’t add a zip file to the SUSE servers. So I put it on my Opera account. It will not expire. But there is a bit of a scary warning message for those who go there. LOL

Thanks for the hosting. I found a bug report. Hopefully this will get ironed out soon. https://bugs.kde.org/show_bug.cgi?id=237567

I have my own site and domain, with no scary messages.

Anyone interested or who may need to host something is more then welcome, just shoot me a PM.

However here is the zip file.

http://itsyourpc.org/bruce/files/K3b.zip

Just created a dropbox account. I’ve been wanting to try it. Just testing the setup. Hopefully no one will miss a download link for the fixed K3b sound files (LOL).

http://dl.dropbox.com/u/9661957/K3b_ogg.zip