Re: How to properly register a program in KDE/GNOME

2009-12-05 Thread Daniel Leidert
Am Samstag, den 05.12.2009, 12:06 +0100 schrieb Eric Lavarde: > I now know why it's not working, it's because I'm testing under KDE 3.5 > (Lenny) and it makes a difference for xdg-utils! [..] > So, basically, under Lenny/KDE, xdg-mime uses an application that > doesn't use the XDG framework...

Re: How to properly register a program in KDE/GNOME

2009-12-05 Thread Eric Lavarde
Hi, I now know why it's not working, it's because I'm testing under KDE 3.5 (Lenny) and it makes a difference for xdg-utils! OK, here it is: - under a sid chroot, i.e. without Desktop environment: $ DISPLAY=:0 XDG_UTILS_DEBUG_LEVEL=100 xdg-mime query filetype New\ Mindmap.mm Running /usr/bi

Re: How to properly register a program in KDE/GNOME

2009-11-24 Thread Nicolas Alvarez
Daniel Leidert wrote: >> $ xdg-mime query filetype bla.mm >> text/plain >> $ xdg-mime query filetype New\ Mindmap.mm >> text/html >> (the 2nd file has some HTML embedded) > > Ok, that's the problem. If it was XML it must have had the XML > declaration: . But freemind files do not start with > it.

Re: How to properly register a program in KDE/GNOME

2009-11-24 Thread Daniel Leidert
Am Sonntag, den 22.11.2009, 13:03 +0100 schrieb Eric Lavarde: > thanks for your help, but it didn't... help :-( (yet) > > $ sudo cat /usr/share/applications/freemind.desktop > [Desktop Entry] > Version=1.0 > Name=FreeMind > Exec=/usr/bin/freemind > Terminal=false > Icon=FreeMindWindowIcon > Type=

Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Charles Plessy
Le Sun, Nov 22, 2009 at 09:40:33PM -0300, Nicolas Alvarez a écrit : > Eric Lavarde wrote: > > MimeType=application/x-freemind; > > Categories=Office; > > Are those semicolons supposed to be there? Dear Nicolas, MimeType and Categories are keys that can contain multiple values, and as such should

Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Nicolas Alvarez
Eric Lavarde wrote: > MimeType=application/x-freemind; > Categories=Office; Are those semicolons supposed to be there? -- Nicolas I read mailing lists through Gmane. Please don't Cc me on replies; it makes me get one message on my newsreader and another on email. -- To UNSUBSCRIBE, email to

Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Charles Plessy
Le Sun, Nov 22, 2009 at 01:03:20PM +0100, Eric Lavarde a écrit : > Any further ideas? Isn't there somewhere an official documentation on > how it's supposed to work? Should I use "xdg-mime install" directly to > register mime types, and possibly also xdg-icon-resource? Or is there a > dh_som

Re: How to properly register a program in KDE/GNOME

2009-11-22 Thread Eric Lavarde
Hi Daniel, thanks for your help, but it didn't... help :-( (yet) $ sudo cat /usr/share/applications/freemind.desktop [Desktop Entry] Version=1.0 Name=FreeMind Exec=/usr/bin/freemind Terminal=false Icon=FreeMindWindowIcon Type=Application MimeType=application/x-freemind; Categories=Office; Generi

Re: How to properly register a program in KDE/GNOME

2009-11-21 Thread Daniel Leidert
Am Samstag, den 21.11.2009, 08:33 +0100 schrieb Eric Lavarde: > I'm trying to get FreeMind files to be properly opened with FreeMind > within KDE/GNOME (and probably other freedesktop compatible desktops), > e.g. click in Konqueror on a FreeMind file (shown with the FreeMind > icon) and FreeMin

How to properly register a program in KDE/GNOME

2009-11-20 Thread Eric Lavarde
Hello, I'm trying to get FreeMind files to be properly opened with FreeMind within KDE/GNOME (and probably other freedesktop compatible desktops), e.g. click in Konqueror on a FreeMind file (shown with the FreeMind icon) and FreeMind is opened with the file. I'm quite at the end of my knowle