Google Classroom / Drive shows *.docx as "Unknown File"

Hi everyone - this is undoubtedly a noob issue but when I try to upload any docx to Google Classroom or Drive it displays it is “unkown file” and my students can’t access it.

The workaround is uploading as an ODT but this isn’t ideal…

See screenshot.

Any ideas? I really can’t find anything about this online. Thank you!

How is this Manjaro related btw? Seems to be either related to Google Classroom or the application you used to create the document.

Not related at all.

Ensure you have a handler for the document type in your ~/.config/mimeapps.list

Example

xdg-mime default libreoffice-writer.desktop application/msword

or for .docx type

xdg-mime default libreoffice-writer.desktop  application/vnd.openxmlformats-officedocument.wordprocessingml.document

You can find mimetypes here