MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
Mandy 10.0 Now here's another funny thing!
OK,
Followed the threads for the knotify problem, and the choose external->artsplay works for me to. So I go into control centre and choose notifications for say kde events. I choose an event, it could be anything, and enable the play sound box. Then I browse for a sound, which by default opens /usr/share/sounds, with the filter set to show all supported files. But, the directory viewer only shows other sub directories, and files ending with the .ogg extension. If I set the filter to show WAV Audio, it displays no files, even though all of the sound event files are in this directory, and are .wav files. Does this mean that .wav files aren't supported, or is this another Mandy feature!!
Also, and I don't know if this is connected, or whether to start another thread, in my previous incarnation of Mandy 9.0/9.2, when I browsed my PC using konqueror, and I simply hovered my mouse over an audio file, be it .wav, .ogg, .mp3 etc, then the file would just play. Now I have to click on it and choose which application to use. Again, is this something new. If it is, then it seems to be a retrograde step IMHO. If this facility is still available, can anyone tell me how?, or has KDE lost the ability to do this as part of it's evolution.
Easy answer for your second question:
go to view-preview-and check sound files in Konqueror. That should make the hover over sound work.
The reason it's off by default this time around IMO is that it can turn on at inopportune moments like when you click a movie to watch and the pointer falls on a sound file after so that you've got two audios mixing together.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Half way there then
OK, So far that has sort of worked. Now when I hover over .ogg and .mp3 files, they play automatically as I have been used to. Still does nothing though with .wav files. Do you have any more suggestions.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Tried that thread but no luck. Here is something else that may be connected. If I browse to a .wav file and then right click and look at the properties, then they are as follows:-
shutdown1.wav located in /usr/share/sounds
Type audio/x-pn-windows-pcm
Contents WAV Audio
Why is this not of type audio/wav?
This just gets stranger all the time.
All the .wav files on my PC that I have checked all show the same. Is this a bug perhaps?
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
OK, Have checked out and read up on mime types, and now I'm even more confused. When I look at my file associations, using .wav as a filter, I have several different mime types using that extension.
i.e. audio/wav, audio/x-wav, audio/x-pn-windows-pcm/asm etc. I have tried all sorts to get any audio from .wav files including setting all/none of the above to a combination of:- use embedded player, use external player and use settings for group audio. What do you suggest I try next?
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Hello again,
I can't get any programme to play .wav files, but here is some more info for you.
If I log in as root, then everything works fine. As user running konqueror as root, no .wav files will play with any app. As root, the mime type for the .wav files on the system is audio/wav. As user the mime type for .wav files is audio/x-pn-windows-pcm. So, can I make the mime types under user the same as under root?, as this may well fix my problem.
Hmmm, Okay I did some investigating. Before you continue maybe you should try making another user and see if you have the same problem, not that it's dangerous or anything, it'll just save you some hassle.
Okay, I did a search for the word mime and found some config files:
Relevant ones being:
/usr/share/mimelnk/
/etc/mime-magic
/usr/share/misc/magic.mime
/usr/share/misc/file/magic.mime
There's probably some that I missed though.
Anyway, I compare the wav entries of /etc/mime-magic and /usr/share/misc/magic.mime, they both have the same entry for wav:
0 string RIFF audio/x-wav
The entry for wav in /etc/mime.types is: audio/x-wav wav
and the entry in /usr/share/misc/file/magic.mime is:
>8 string WAVE audio/x-wav
Right, that's the troubleshooting I've done. Maybe you can try some more.
One more thing, was this a new install of Mandrake? Something is definitely broken here, coz I don't know much about mimetypes, so I can't really suggest anything useful.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Hello again,
It turns out that this is a bug in Mandy 10.0 According to the developers of KDE, there is no mime type audio/x-pn-windows-pcm recognised or incorporated into it. I have safely renamed that offending mime type with no adverse effects, and my system is now responding as I would expect it to do.
Thank you very much for your help, it has been a worthwhile learning experience.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.