On Thu, 2008-01-31 at 10:40 +0100, Alexander Larsson wrote: > On Wed, 2008-01-30 at 23:36 +0100, David Faure wrote: > > On Wednesday 30 January 2008, Alexander Larsson wrote: > > > > but the filename is a bit long. I can't think of a really good short one > > > though. "custom.assoc"? > > > > Huho, a naming question; these tend to generate huge threads since everyone > > will chip in :-) > > Yeah it's difficult to name it since it contains app preference order, > > custom associations (added or removed), > > and this both at the user level and at the system level. But it's all about > > the mime-app relation, > > and the spec was to be called "mime actions" iirc, so maybe > > mimeactions.list? or mimeapps.list? > > (the list suffix keeps some consistency with gnome's defaults.list, but > > other than that I don't really care for a suffix :-) > > I don't like custom.assoc much because it's not only about adding/removing > > associations... but well it's just a name. > > mimeapps.list sounds good to me. Its a bit vague and unprecise, but that > lets us expand it later too.
I implemented this in glib. I used the filename "mimeapps.list" and the group names "Added Associations" and "Removed Associations". Here is an example file: ----------------------------- [Added Associations] text/plain=gnu-emacs.desktop;gedit.desktop; [Removed Associations] text/plain=gnome-gedit.desktop;gnome-file-roller.desktop; ----------------------------- I use this before defaults.list and use defaults.list as a read-only file for giving the defaults if there is no user customization via mimeapps.list. _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
