On Sun, Jul 31, 2011 at 10:23:36AM +0200, Philipp Kern wrote:
> On Mon, Jun 06, 2011 at 10:11:13AM -0700, Josh Triplett wrote:
> > Gobby seems to have managed to end up as the default program used to
> > open text documents, at least in some circumstances.  This should never
> > happen; gobby should exist on the list of available options, but never
> > as the default.
> 
> I'd appreciate any clues how to tell the MIME database that a program
> is only a second choice for a given type.  I don't know any, apart
> from entirely removing the MIME type from the desktop file.

According to
http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-registering.html.en
, the files named "defaults.list" determine the default choice for a
MIME type.  However, GNOME seems to have such files, referencing
gedit.desktop, and this seems to get ignored:

$ dpkg -S defaults.list
gnome-session-common: /usr/share/gnome/applications/defaults.list
gnome-session-common: /etc/gnome/defaults.list
$ grep text/plain /usr/share/gnome/applications/defaults.list 
/etc/gnome/defaults.list
/usr/share/gnome/applications/defaults.list:text/plain=gedit.desktop
/etc/gnome/defaults.list:text/plain=gedit.desktop

I don't know the right way to fix this.  Removing the MIME type might
potentially represent the best choice for now, to prevent this problem.
People can still explicitly open documents in gobby if they want to.

- Josh Triplett



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to