Mailinglist Archive: opensuse-packaging (138 mails)

< Previous Next >
[opensuse-packaging] application for mime type - priority
  • From: Pavel Nemec <pnemec@xxxxxxx>
  • Date: Mon, 12 Mar 2007 10:26:58 +0100
  • Message-id: <200703121026.59341.pnemec@xxxxxxx>
i need to figure out how to set priority for mime type. So when two
will associate same mime type i can set which application will be default.

I find out that for GNOME there is a file
which contains such settings. This file is latter processed by script
which throw out missed apps and so on.
So if i am right everything i need is add my application to [1] and run
Q1: how is right way to edit this file? or just call
cat myconfig.desktp >>[1] ?

For KDE i found that there is "extension" [2]: InitialPreference=X (which is
forbidden by freedesktop [3])
This option is used in /opt/kde3/share realm.

Q2: So do i need install two destkop file one in /usr/share/application and
second(with additional option InitialPreference) in /opt/kde3/...


[1] - /etc/opt/gnome/gnome-defaults.conf
[2] -
[3] -

P.S: relation bug #P.S. this is 210967
Pavel Nemec
Software Engineer
SuSE CR, s.r.o. e-mail: pnemec@xxxxxxx
Lihovarska 1060/12 tel:+420 284 028 981
190 00 Praha 9 fax:+420 296 542 374
Ceska republika
< Previous Next >
Follow Ups