Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2010-12-12 Thread John Lindgren
Any progress on this? I still get .ogg files opening in Xine rather than Audacious every time shared-mime-info is updated and have to patch it, which gets rather annoying. -- John Lindgren On Friday, April 23, 2010, Yves-Alexis Perez cor...@debian.org wrote: Hmhm, I'm a bit confused. I still

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2010-12-12 Thread Yves-Alexis Perez
On dim., 2010-12-12 at 16:58 -0500, John Lindgren wrote: Any progress on this? I still get .ogg files opening in Xine rather than Audacious every time shared-mime-info is updated and have to patch it, which gets rather annoying. For the Thunar part, that won't get fixed for Squeeze. Thunar

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-22 Thread Yves-Alexis Perez
On sam., 2009-11-21 at 19:37 -0500, John Lindgren wrote: I did some debugging on this. In short, Thunar does not handle multiple MIME types being specified for the same file extension. For a given extension, Thunar seems to use whatever MIME type is listed last in /usr/share/mime/globs.

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-21 Thread Yves-Alexis Perez
On ven., 2009-11-20 at 09:01 -0500, John Lindgren wrote: On Fri, 2009-11-20 at 07:58 +0100, Yves-Alexis Perez wrote: Can you attach /usr/share/applications/mimeinfo.cache and check it's the only one on the system (like, something in /usr/local for example, same thing for defaults.list).

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-21 Thread John Lindgren
On Sat, 2009-11-21 at 11:13 +0100, Yves-Alexis Perez wrote: My guess would be that it's the same bug as 504147. The mimetype position in mimeinfo.cache might be important. In yours. text/plain is at line 57 and application/msword at line 47 which means (if I believe last comments in #504147)

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-21 Thread John Lindgren
I did some debugging on this. In short, Thunar does not handle multiple MIME types being specified for the same file extension. For a given extension, Thunar seems to use whatever MIME type is listed last in /usr/share/mime/globs. Relevant code is at thunar-vfs-mime-legacy.c:660 (Thunar 1.0.1).

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-20 Thread John Lindgren
On Fri, 2009-11-20 at 07:58 +0100, Yves-Alexis Perez wrote: Can you attach /usr/share/applications/mimeinfo.cache and check it's the only one on the system (like, something in /usr/local for example, same thing for defaults.list). Attached. /usr/local does not exist; there is no

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-19 Thread John Lindgren
I can definitely reproduce this. I think Thunar has been doing this since I updated from Lenny to Squeeze. I see both Word documents (.doc) and Ogg Vorbis files (.ogg) misdetected as plain text document and Ogg Theora video, respectively. Those may be separate issues; I don't know. Test cases

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-19 Thread Yves-Alexis Perez
On jeu., 2009-11-19 at 12:47 -0500, John Lindgren wrote: The .desktop files I have in /usr/share/applications for Open Office Writer and Audacious declare that they handle application/msword and application/ogg, but with default file associations (.local/share/applications/defaults.list,

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-19 Thread John Lindgren
On Thu, 2009-11-19 at 21:28 +0100, Yves-Alexis Perez wrote: Could you attach them? Can you reproduce with a fresh user? Yes, it does exactly the same thing with a fresh user. The .desktop files are not modified from the ones distributed with Debian, but I will attach them. Peace, John

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-19 Thread Yves-Alexis Perez
On jeu., 2009-11-19 at 16:11 -0500, John Lindgren wrote: On Thu, 2009-11-19 at 21:28 +0100, Yves-Alexis Perez wrote: Could you attach them? Can you reproduce with a fresh user? Yes, it does exactly the same thing with a fresh user. The .desktop files are not modified from the ones

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-19 Thread John Lindgren
On Thu, 2009-11-19 at 23:27 +0100, Yves-Alexis Perez wrote: Sorry, I was asking for the file associations, I don't care about the .desktop files :) The bug is reproducible without any files under .local/share/applications. But here's the defaults.list I have right now, after telling Thunar to

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-11-19 Thread Yves-Alexis Perez
On jeu., 2009-11-19 at 19:08 -0500, John Lindgren wrote: On Thu, 2009-11-19 at 23:27 +0100, Yves-Alexis Perez wrote: Sorry, I was asking for the file associations, I don't care about the .desktop files :) The bug is reproducible without any files under .local/share/applications. But

Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor

2009-09-21 Thread Daniel Dickinson
Package: thunar Version: 1.0.1-1 Severity: normal Thunar seems to treat MS Office 9x/2000 .doc files as plain text documents instead of as msword, to be opened by OOo. Plain text documents on my system I open with my favourite text editor, but that's definitely not what I want for MS Word

Bug#547623: closed by Yves-Alexis Perez cor...@debian.org (Re: [Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor)

2009-09-21 Thread Daniel Dickinson
Please reopen this bug. What you have described is how it is *supposed* to work, not how it does not work. /usr/share/mime-info/openoffice.mime contains the following: application/vnd.ms-word ext: doc However .doc files are reported as 'plain text document' by Thunar. Thunar has a bug.