You are not logged in.
when I double-click on a docx-file, my lxde/pcmanfm launch xarchive to open it as zip-file.
I type "$file a.docx", the output is "a.docx: Microsoft Word 2007+"
follow the function-call, I found in the libfm, fm-mime-type.c, fm_mime_type_from_native_file() function, it only pass 4k bytes to g_content_type_guess() without filename.
After I add the filename to the function call, pcmanfm will launch a office-app to open the docx.
I think the probem maybe is config-file for glib2/gio and magic.
but copy the "msooxml" from package magic to ~/.local/share/mime/magic or /usr/share/mime/magic, both no affect.
who can help me?
sorry about my poor english...
Offline