LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   web browsers open mp3 files (https://www.linuxquestions.org/questions/linux-desktop-74/web-browsers-open-mp3-files-4175451462/)

Greenfuse 02-23-2013 08:24 PM

web browsers open mp3 files
 
I would like to be able to click on a link to a mp3 file in a web browser and select the option to either save the file or open it in the program of my choice. This has always been the expected behaviour until recently.

Now whenever I click on an mp3 file, the web browser opens it in an unidentified built-in media player.

Browsers - problem exists with firefox, chromium and opera.
Distro/Desktop Env - Have found this in OpenSuse 12.2 with Xfce and in Mint 12 with Mate

No plugins are enabled. All media players and browser plugins I could find have been uninstalled, except VLC player (not plugin) which is what I want to use to open the mp3. Browser preferences are ignored. Changing File manager preferences has no effect. I am unable to find any desktop settings which might change the problem.

Has anybody else found this a problem and fixed it?

dugan 02-23-2013 09:04 PM

It's expected HTML5 behaviour. Your options are to either right-click instead of left-clicking on the MP3 file, or (possibly) look for an "addon" that will give you the behaviour you're used to.

Greenfuse 02-23-2013 09:22 PM

In Linux Mint I uninstalled libtotem0 (and dependencies) and gecko-mediaplayer to get the desired behaviour.

Still can't find a solution for firefox on OpenSuse

Greenfuse 02-23-2013 09:23 PM

Thanks dugan, I will see if I can find a suitable add-on

fortran 02-27-2013 02:08 AM

For Firefox :
Edit -> Preferences -> Applications
mp3 -> set here save file in the dropdown.
It worked for me

If file starts playing in firefox, you can click on File -> save as,
it saves the mp3 file on your desired location.
.

Shadow_7 02-27-2013 03:59 AM

Edit -> Preferences -> Applications Icon

You have a handler for the media type. You can uninstall the handler or change the browser to behave your way. Or go old school and right mouse -> view source and wget the mp3 URL.

Habitual 02-27-2013 05:56 AM

Quote:

Originally Posted by Shadow_7 (Post 4900674)
Edit -> Preferences -> Applications Icon

You have a handler for the media type. You can uninstall the handler or change the browser to behave your way. Or go old school and right mouse -> view source and wget the mp3 URL.

or terminal >
Code:

exo-preferred-applications
:)

Greenfuse 02-28-2013 06:05 AM

Browser preferences are ignored for mp3

Edit -> Preferences -> Applications mp3 ... Always ask ... Save File ... Open with VLC ....

Changes nothing. All ignored. MP3 are still opened in the mystery built in player.

exo-preferred-applications is not available as a terminal command

Right-click will require extensive user training - we have 100+ people using this system.

frankbell 02-28-2013 07:49 PM

In Opera, it's Preferences-->Advanced-->Downloads-->[Select File Type]->Edit, then select the desired application.

http://help.opera.com/Linux/9.52/en/downloads.html

I have used this to disable internal players and it works.


All times are GMT -5. The time now is 04:20 PM.