Re: [kde] Changing file association for all media files
- From: "Dotan Cohen" <dotancohen@xxxxxxxxx>
- Date: Thu, 29 Nov 2007 01:25:40 +0200
On 29/11/2007, Kevin Krammer <kevin.krammer@xxxxxx> wrote:
On Wednesday 28 November 2007, Dotan Cohen wrote:
Thank you Kevin. I don't think that I was very clear in my question,
so I will rephrase it. How do I configure KDE to open every type of
audio file in Amarok?
As it stands now, I must click on MP3, and change it to Amarok, then
WAV and change it to Amarok, then ogg and change it to Amarok, and so
on for 10+ different filetypes. Is there not one fell swoop that will
change ALL the filetypes in Kcontrol -> KDE Components -> File
Association -> Audio to Amarok?
I'll try to explain it a bit differently.
Each application, including Amarok, specifies in its .desktop file (which is
also used to create the K-menu entry) which MIME types (or file types) it can
handle.
It *also* specifies a numeric value called the initial perference, i.e.
something KDE and other desktop environments use to determine which of all
the applications to choose if more than one application says it can handle
the MIME type in question.
As the name indicates ("initial") it can be overridden, e.g. by reordering the
application's in control center. This reordering is saved
in .kde/share/config/profilerc (assuming KDEHOME to be $HOME/.kde/)
Cheers,
Kevin
I understand. So there is currently no way to adjust all the formats
in one fell swoop. I'd have to write a script that would change this
line:
Application=*
to:
Application=kde-amarok.desktop
For every:
[audio/* - 1]
That may be doable in Perl (not that I know Perl). Thanks.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
- Follow-Ups:
- Re: [kde] Changing file association for all media files
- From: Kevin Krammer
- Re: [kde] Changing file association for all media files
- References:
- [kde] Changing file association for all media files
- From: Dotan Cohen
- Re: [kde] Changing file association for all media files
- From: Kevin Krammer
- Re: [kde] Changing file association for all media files
- From: Dotan Cohen
- Re: [kde] Changing file association for all media files
- From: Kevin Krammer
- [kde] Changing file association for all media files
- Prev by Date: [kde] looking for a theme's pixmaps
- Next by Date: Re: [kde] Changing file association for all media files
- Previous by thread: Re: [kde] Changing file association for all media files
- Next by thread: Re: [kde] Changing file association for all media files
- Index(es):
Relevant Pages
|