LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-04-2008, 08:42 PM   #1
Alstare
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79

Rep: Reputation: 15
KDE Sytem Sounds not working <.ogg files>


For some odd reason my KDE system sounds wont play, or just make a random buzzing sound lately. Only the .ogg ones, the wav files play fine.

These are the .ogg files found in "/usr/share/sounds".

My sound card works fine, all other file types play fine, except .ogg. I can get .ogg files to play in a few random players like smplayer or xmms.

But Noatun wont play them, which is the default sound player it seems for KDE. And when I switch the default player for the .ogg files in the "KDE component chooser section" i end up with an xmms or smplayer popping up and active everytime a sound is being requested. Not an ideal sound system.

Does anyone have any solutions for this? I tried to find a codec pack missing for Noatun or something but everything I find says it plays .ogg natively.

Thanks in advance for any help.

Last edited by Alstare; 03-04-2008 at 09:22 PM.
 
Old 03-04-2008, 09:48 PM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
iirc, the ogg is an audio format. As you have smplayer installed , clearly you have mplayer installed too.

Could you just kill kde , go to init 3 (type 'init 3' as root) and then try to play the same file with mplayer from the command line (make sure you have run alsamixer and increased volumes !) .

If it plays there , there is something wrong with KDE , if not then there is something wrong with your codecs.
 
Old 03-04-2008, 09:56 PM   #3
Alstare
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks for the suggestion.

Although mentioned above I can play the .ogg files in other players such as Mplayer/SMplayer/xmms no problem. So your suggestion for trying it from the command line I have already tried and works fine.

The problem then lies in if I use any of those programs as the default player for my sounds every time a system sound is called<ie. opening a window sound> the player loads up on the screen then plays the sound then just remains on the screen.

All of which is a bit cumbersome for just having a system sound play.
 
Old 03-04-2008, 10:10 PM   #4
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
hmm, I believe you go to control panel, system notifications and then player settings. I hope that will help.
 
Old 03-04-2008, 10:18 PM   #5
Alstare
Member
 
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks again for the suggestions, I tried all the different players possible in that section and thats how i got the external programs to load for the sounds, which was inconvenient.

But FINALLY I have got my problem solved so I figured I would post up the solution in case someone else encounters the same problem.

After searching google for most of hte day I came across a similar thread from another board<sorry forgot to copy the link for reference>.

I am not sure why it works, but it does for my problem, I am assuming that is is some kind of lock file for the sounds?

Code:
# mv ~/.kde/share/config/knotifyrc ~/.kde/share/config/knotifyrc.bak
And then restart X and everything was back to normal.

Give it a shot if you have a similar problem.
 
Old 04-04-2008, 06:26 PM   #6
mrpringle
Member
 
Registered: Jul 2004
Posts: 31

Rep: Reputation: 15
Thanks. Exact same thing happened to me and removing the knotifyrc file / restarting X fixed it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rip OGG files from Audio CD - SuSE 10.1 - KDE 3.5.1 wmeler Linux - Software 4 08-31-2007 06:01 PM
KDE sound system and ogg files mattydee Linux - Desktop 5 07-16-2007 12:05 PM
Cannot play Ogg Vorbis files in KDE Wynd Slackware 13 10-19-2006 05:53 PM
Can't play .ogg or .wav files in KDE DaneM Linux - Software 3 11-12-2005 05:50 PM
No Sytem Sounds in KDE, all other sound is ok r00tnuke Red Hat 3 11-10-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration