[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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). Attached. /usr/local does not exist; there is no mimeinfo.cache under ~/.local, and the only defaults.list is the one under ~/.local that I attached already. 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) that there might be an “alias” bug. Could you try to move the text/plain to the very first lines (at least before application/msword), and run update-desktop-database (as root). Then logout, log back in and report back. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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) that there might be an “alias” bug. Could you try to move the text/plain to the very first lines (at least before application/msword), and run update-desktop-database (as root). Then logout, log back in and report back. It's not the same bug. I tried editing mimeinfo.cache, and I tried running Thunar with the patch from #504147, with no results. In #504147, thunar_vfs_mime_database_get_applications was being passed the correct MIME type for the file but was failing to look up the right applications. In this bug, thunar_vfs_mime_database_get_applications is being passed the wrong MIME type (text/plain for a Word document and video/x-theora+ogg for a Vorbis file). Peace, John Lindgren ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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 mimeinfo.cache under ~/.local, and the only defaults.list is the one under ~/.local that I attached already. Peace, John Lindgren [MIME Cache] video/vnd.rn-realvideo=mplayer.desktop image/x-compressed-xcf=gimp.desktop application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=openoffice.org-calc.desktop image/x-psd=gimp.desktop;gimp.desktop; audio/scpls=mplayer.desktop application/x-exe=wine.desktop image/x-sgi=gimp.desktop image/*=evince.desktop application/x-msdownload=wine.desktop audio/x-s3m=audacious2.2.desktop;audacious2.desktop; application/x-audacity-project=audacity.desktop audio/x-stm=audacious2.2.desktop;audacious2.desktop; audio/x-wav=mplayer.desktop;audacious2.2.desktop;audacity.desktop;audacious2.desktop; application/vnd.oasis.opendocument.text-web=openoffice.org-writer.desktop application/sdp=mplayer.desktop image/x-wmf=gimp.desktop application/vnd.sun.xml.impress=evince.desktop application/vnd.ms-word=openoffice.org-writer.desktop application/ogg=mplayer.desktop;audacious2.2.desktop;easytag.desktop;audacity.desktop;audacious2.desktop; audio/x-xm=audacious2.2.desktop;audacious2.desktop; text/x-python=geany.desktop application/x-httpd-php*=geany.desktop application/x-bzdvi=evince.desktop application/x-doc=openoffice.org-writer.desktop audio/wav=mplayer.desktop application/streamingmedia=mplayer.desktop application/x-smil=mplayer.desktop image/x-portable-pixmap=gimp.desktop text/x-c++hdr=geany.desktop image/svg+xml=gimp.desktop audio/x-m4a=mplayer.desktop audio/x-flac=audacious2.2.desktop;audacious2.desktop; audio/m4a=mplayer.desktop application/rtf=openoffice.org-writer.desktop video/x-anim=xine.desktop text/x-dsrc=geany.desktop application/x-php=geany.desktop application/x-ogg=mplayer.desktop;audacious2.2.desktop;audacious2.desktop; image/pcx=gimp.desktop image/x-portable-anymap=gimp.desktop audio/x-mpegurl=mplayer.desktop;audacious2.2.desktop;audacious2.desktop; application/vnd.ms-excel.sheet.binary.macroenabled.12=openoffice.org-calc.desktop image/x-icon=gimp.desktop audio/x-it=audacious2.2.desktop;audacious2.desktop; video/x-msvideo=mplayer.desktop;xine.desktop; application/msword=openoffice.org-writer.desktop image/x-portable-bitmap=gimp.desktop application/vnd.ms-excel.template.macroenabled.12=openoffice.org-calc.desktop application/xml=geany.desktop application/vnd.openxmlformats-officedocument.wordprocessingml.document=openoffice.org-writer.desktop image/jpeg=reflect.desktop;gimp.desktop; application/vnd.ms-word.document.macroenabled.12=openoffice.org-writer.desktop video/msvideo=mplayer.desktop video/x-ms-asf=mplayer.desktop application/vnd.oasis.opendocument.text=openoffice.org-writer.desktop text/plain=leafpad.desktop;geany.desktop; audio/x-mp2=mplayer.desktop;xine.desktop; audio/x-mp3=mplayer.desktop;audacious2.2.desktop;easytag.desktop;xine.desktop;audacity.desktop;audacious2.desktop; image/x-xwindowdump=gimp.desktop text/html=firefox.desktop;geany.desktop; application/msdos-windows=wine.desktop audio/mp1=mplayer.desktop audio/mp3=mplayer.desktop;audacious2.2.desktop;audacious2.desktop; image/vnd.djvu=evince.desktop application/x-ms-dos-executable=wine.desktop application/vnd.oasis.opendocument.spreadsheet-template=openoffice.org-calc.desktop application/vnd.stardivision.writer=openoffice.org-writer.desktop application/vnd.rn-realmedia-vbr=mplayer.desktop application/vnd.sun.xml.writer=openoffice.org-writer.desktop video/quicktime=mplayer.desktop;xine.desktop; audio/x-mp1=mplayer.desktop application/x-msdos-program=wine.desktop;wine.desktop; audio/x-realaudio=mplayer.desktop image/gif=gimp.desktop text/x-diff=geany.desktop audio/x-mod=audacious2.2.desktop;audacious2.desktop; audio/basic=audacity.desktop application/dos-exe=wine.desktop inode/directory=Thunar-folder-handler.desktop application/x-cb7=evince.desktop text/css=geany.desktop application/x-gzpostscript=evince.desktop text/csv=openoffice.org-calc.desktop image/g3fax=gimp.desktop application/vnd.openxmlformats-officedocument.wordprocessingml.template=openoffice.org-writer.desktop image/x-gzeps=evince.desktop audio/mp2=mplayer.desktop x-directory/gnome-default-handler=Thunar-folder-handler.desktop text/x-csrc=geany.desktop audio/x-pn-realaudio=mplayer.desktop image/png=reflect.desktop;gimp.desktop; application/vnd.stardivision.chart=openoffice.org-calc.desktop application/vnd.oasis.opendocument.text-template=openoffice.org-writer.desktop application/vnd.ms-excel.sheet.macroenabled.12=openoffice.org-calc.desktop application/wordperfect=openoffice.org-writer.desktop image/tiff=evince.desktop;gimp.desktop; x-directory/normal=easytag.desktop;Thunar-folder-handler.desktop; application/pdf=evince.desktop;gimp.desktop;
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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-utils0.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-2The 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 libsm62:1.1.1-1 X11 Session Management library ii libthunar-vfs-1-2 1.0.1-2VFS abstraction used in thunar ii libx11-6 2:1.2.2-1 X11 client-side library ii libxfce4util4 4.6.1-1Utility functions library for Xfce ii shared-mime-info 0.60-2 FreeDesktop.org shared MIME databa ii thunar-data 1.0.1-2Provides 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-1The 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 ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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, 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. Could you attach them? Can you reproduce with a fresh user? Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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 Lindgren audacious2.desktop Description: application/desktop openoffice.org-writer.desktop Description: application/desktop ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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 distributed with Debian, but I will attach them. Sorry, I was asking for the file associations, I don't care about the .desktop files :) Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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 here's the defaults.list I have right now, after telling Thunar to open a Word document with Open Office, a text file with Geany, and a Vorbis file with Audacious: [Default Applications] text/plain=geany.desktop;openoffice.org-writer.desktop video/x-theora+ogg=audacious2.2.desktop Peace, John Lindgren 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). Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel
[Pkg-xfce-devel] Bug#547623: thunar: MS Office .doc treated as plain text document which means OOo doesn't launch rather text editor
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 documents. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (100, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages thunar depends on: ii desktop-file-utils0.15-2 Utilities for .desktop files ii exo-utils 0.3.102-1 Utility files for libexo ii libatk1.0-0 1.26.0-1 The ATK accessibility toolkit ii libc6 2.9-25 GNU C Library: Shared libraries ii libcairo2 1.8.8-2The Cairo 2D vector graphics libra ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst ii libdbus-glib-1-2 0.82-1 simple interprocess messaging syst ii libexo-0.3-0 0.3.102-1 Library with extensions for Xfce ii libfreetype6 2.3.9-5FreeType 2 font engine, shared lib ii libglib2.0-0 2.20.5-1 The GLib library of C routines ii libgtk2.0-0 2.16.6-1 The GTK+ graphical user interface ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library ii libpango1.0-0 1.24.5-1 Layout and rendering of internatio ii libsm62:1.1.1-1 X11 Session Management library ii libthunar-vfs-1-2 1.0.1-1VFS abstraction used in thunar ii libx11-6 2:1.2.2-1 X11 client-side library ii libxfce4util4 4.6.1-1Utility functions library for Xfce ii shared-mime-info 0.60-2 FreeDesktop.org shared MIME databa ii thunar-data 1.0.1-1Provides thunar documentation, ico Versions of packages thunar recommends: ii dbus-x11 1.2.16-2 simple interprocess messaging syst pn gamin none (no description available) ii hal 0.5.13-3 Hardware Abstraction Layer ii thunar-volman 0.3.80-2 Thunar extension for volumes manag ii xdg-user-dirs 0.10-1 tool to manage well known user dir ii xfce4-panel 4.6.1-3The Xfce4 desktop environment pane Versions of packages thunar suggests: ii thunar-archive-plugin 0.2.4-4Archive plugin for Thunar file man ii thunar-media-tags-plugin 0.1.2-1Media tags plugin for Thunar file -- no debconf information ___ Pkg-xfce-devel mailing list Pkg-xfce-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel