[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
John Lindgren
john.lindgren at tds.net
Thu Nov 19 17:47:06 UTC 2009
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 (it happens with every .doc and .ogg file I've tried):
http://lockerbox.insideavemaria.org/Public/Students/john%20lindgren/GenOpt_EB_Readme%2009-0629.doc
http://lockerbox.insideavemaria.org/Public/Students/john%20lindgren/Pineapple%20Rag.ogg
Those files were created by Word 2003 and generic oggenc. Output of
"file" and "xdg-mime query filetype" on my system:
$ file GenOpt_EB_Readme\ 09-0629.doc
GenOpt_EB_Readme 09-0629.doc: CDF V2 Document, Little Endian, Os: Windows, Version 5.1, Code page: 1252, Title: Using GenOpt and Energy Plus to approximate parameters of existing buildings based on historical weather data and energy bills, Author: John Lindgren, Template: Normal.dot, Last Saved By: James V Dirkes II, Revision Number: 2, Name of Creating Application: Microsoft Office Word, Total Editing Time: 02:21:00, Last Printed: Sun Jun 21 14:35:00 2009, Create Time/Date: Sun Jun 28 14:54:00 2009, Last Saved Time/Date: Sun Jun 28 14:54:00 2009, Number of Pages: 1, Number of Words: 1875, Number of Characters: 10691, Security: 0
$ xdg-mime query filetype GenOpt_EB_Readme\ 09-0629.doc
application/msword; charset=binary
$ file Pineapple\ Rag.ogg
Pineapple Rag.ogg: Ogg data, Vorbis audio, stereo, 22050 Hz, ~88000 bps, created by: Xiph.Org libVorbis I
$ xdg-mime query filetype Pineapple\ Rag.ogg
application/ogg; charset=binary
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, mimeinfo.cache, and all
*-usercreated.desktop files deleted) Thunar only offers to open Word
documents with Leafpad or Geany and Ogg Vorbis files with MPlayer.
Peace,
John Lindgren
Package: thunar
Version: 1.0.1-2
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages thunar depends on:
ii desktop-file-utils 0.15-2 Utilities for .desktop files
ii exo-utils 0.3.105-3 Utility files for libexo
ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit
ii libc6 2.10.1-5 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.82-2 simple interprocess messaging syst
ii libexo-0.3-0 0.3.105-3 Library with extensions for Xfce
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libpango1.0-0 1.26.0-1 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libthunar-vfs-1-2 1.0.1-2 VFS abstraction used in thunar
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxfce4util4 4.6.1-1 Utility functions library for Xfce
ii shared-mime-info 0.60-2 FreeDesktop.org shared MIME databa
ii thunar-data 1.0.1-2 Provides thunar documentation, ico
Versions of packages thunar recommends:
ii dbus-x11 1.2.16-2 simple interprocess messaging syst
ii gamin 0.1.10-2 File and directory monitoring syst
ii hal 0.5.13-3 Hardware Abstraction Layer
pn thunar-volman <none> (no description available)
pn xdg-user-dirs <none> (no description available)
ii xfce4-panel 4.6.2-1 The Xfce4 desktop environment pane
Versions of packages thunar suggests:
pn thunar-archive-plugin <none> (no description available)
pn thunar-media-tags-plugin <none> (no description available)
-- no debconf information
More information about the Pkg-xfce-devel
mailing list