LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Can't change mime application associations (SolydXK) (http://www.linuxquestions.org/questions/linux-desktop-74/cant-change-mime-application-associations-solydxk-4175497040/)

opus-outlaw 03-04-2014 06:23 PM

Can't change mime application associations (SolydXK)
 
A unresolved problem with mime associations is discussed here:

http://forums.solydxk.com/viewtopic.php?f=7&t=2401

Note: ~/.local/share/applications/mimeapps.list has already been
modified:

audio/mp3=decibel.desktop
audio/x-mp3=decibel.desktop

Two possible problems / solutions are proposed:

Use the MIME Type Editor to change the mp3 association:
Problem: No entry exists for mp3 extensions and no way of creating a new entry ...
Which file(s) is this utility updating. (This is a Xfce environment.)
Perhaps I can add the mp3 association manually?

Some folks speculate that the "stubborn mime problem" may be caused because the file: /usr/share/applications/defaults.list does not exist.

Perhaps I could copy this file from a different distro? Or someone
could post their version that I could edit. Can this file be generated
from the command line?

Any other suggestions / advice on how I can force this audio/decibel association?

Tom

notKlaatu 03-04-2014 08:48 PM

what happens if you execute this command:

Code:

xdg-mime default foo.desktop audio/mpeg3 ; xdg-mime default foo.desktop audio/x-mpeg-3
in a terminal, and then click an mp3 file in your file manager? does it open application foo?


If that works, then you should be able to create some kind of login script (I think in terms of rc.local but you can use whatever the equivalent on your distro would be) to set that upon login.

opus-outlaw 03-05-2014 11:35 AM

executing xdg-mime default deciblel.desktop audio/mp3 ; xdg-mime default deciblel.desktop audio/x-mp3
did not solve the problem.

Thank you for your suggestion notKlaatu.

Tom


All times are GMT -5. The time now is 03:20 AM.