Article 5GE7F Can you prevent a program from taking over as default for file associations?

Can you prevent a program from taking over as default for file associations?

by
bassmadrigal
from LinuxQuestions.org on (#5GE7F)
Per the title, is it possible to ensure a program can't take over as the default application for file types? My experience is strictly with KDE4 (on 14.2), so I'm not sure if this is specifically a KDE issue or something within the OS itself.

Background

I'm the maintainer of mediainfo. When I install this package (with the GUI=yes option), mediainfo-gui becomes the default application for several different file types (I've changed the defaults on my system, so I couldn't tell you which ones).

This also happens with MusicBrainz's picard, taking over aac, ac3 and midi.

I also noticed that EasyTag has become the default application for flac and mp3.

I know I can change the defaults back, but it seems that there should be a way to prevent certain programs from ever being default (assuming another program is already registered to the system). I don't think anyone would ever want to double click a media file and have mediainfo open up (especially when it adds an entry to the context menu).

I maintain both mediainfo and picard on SBo and I'd love to be able to add something to the resulting packages to make sure I'm not mucking up with people's file associations.

Any ideas?latest?d=yIl2AUoC8zA latest?i=39IbtOFnbIQ:X-bKg8jaI1I:F7zBnMy latest?i=39IbtOFnbIQ:X-bKg8jaI1I:V_sGLiP latest?d=qj6IDK7rITs latest?i=39IbtOFnbIQ:X-bKg8jaI1I:gIN9vFw39IbtOFnbIQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments