LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-04-2014, 06:23 PM   #1
opus-outlaw
LQ Newbie
 
Registered: Jan 2008
Posts: 18

Rep: Reputation: 0
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

Last edited by opus-outlaw; 03-04-2014 at 06:24 PM. Reason: typO
 
Old 03-04-2014, 08:48 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
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.
 
Old 03-05-2014, 11:35 AM   #3
opus-outlaw
LQ Newbie
 
Registered: Jan 2008
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
  


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
Changing MIME associations when using Enlightenment 17 File Manager (EFM) RMantingh Arch 0 09-15-2013 04:45 PM
remove an application and its file associations p3aul Ubuntu 9 12-18-2011 07:24 AM
mime type associations for Office files shadowsnipes Slackware 2 10-25-2009 07:27 PM
KDE jar MIME is application/zip and not application/java-archive in Ubuntu Intrepid? arobinson74 Linux - Software 2 09-18-2009 11:40 AM
How to change mime associations in firefox gkiagia Linux - Desktop 11 12-07-2006 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:55 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