Re: Mime-type detection and GLabels application



On ven, 2004-07-02 at 13:07 +0200, René Seindal wrote:
> Hi,
> 
> I did manage to solve the problem in the meantime.  I have made a file 
> /usr/share/mime/packages/glabels.xml as:
> 
> [...]
> after which I ran "update-mime-database /usr/share/mime" as root.

This can be installed  in a user's home directory too, or in whatever
directory you want if you properly set XDG_DATA_DIRS. See
http://freedesktop.org/Standards/shared-mime-info-spec and
http://freedesktop.org/Standards/basedir-spec for more information

Christophe

> 
> After restarting nautilus the mime type worked as expected.
> 
> The problem here is that I needed to be root to do it, which is at least 
> sub-optimal.
> 
> I'm not quite sure if I need to file a bug report on nautilus, 
> gnome-vfs, glabels or freedesktop's shared-mime-info.
> 
> René
> 
> Alexander Larsson wrote:
> > On Mon, 2004-06-28 at 11:20, René Seindal wrote:
> > 
> >>HI,
> >>
> >>I use the glabels application to print out adressing labels, but after I 
> >>  upgraded to Gnome 2.6, I can no longer launch glabels by clicking on a 
> >>.glabels file.  It is being classified as a application/x-gzip file and 
> >>I'm only offered file-roller as a possible application.
> >>
> >>I have .glabels file registered as application/x-glabels in "File Types 
> >>and Programs", with the glabels application as default, but it is 
> >>apparently being ignored.
> >>
> >>How do I persuade nautilus to launch the application of my choice on 
> >>these files?
> > 
> > 
> > Hmm, this is due to the change in the mime type system to the new
> > freedesktop.org system. Unfortunately the file types and programs app
> > creates the old-style mime types. We're working on fixing this.
> > 
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >  Alexander Larsson                                            Red Hat, Inc 
> >                    alexl redhat com    alla lysator liu se 
> > He's a lonely Catholic gangster whom everyone believes is mad. She's a 
> > supernatural green-skinned snake charmer in the wrong place at the wrong time. 
> > They fight crime! 
> > 
> 
> -- 
> René Seindal (rene seindal dk)
> Seindal Consult
> 
> 
> 

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]