I am writing a document database using perlTk. Upon double clicking the selected file on my GUI I use xdg-open to use the default application to open the file. I am having some issues opening .odt files (openoffice I think) xdg-open Add_new_user.odt returns the errorgvfs-open: file:///misc/croc_common/computing/notes/Add_new_user.odt: error launching application: Failed to execute child process openoffice.org3 (No such file or directory)The command openoffice.org (no 3) on my system will open libreoffice.When I enter xdg-mime query filetype Add_new_user.odt on the command line I get the following message which I do not understandapplication/vnd.oasis.opendocument.textHow do I fix this issue? I am using redhat 6.4
Using xdg-open odt files
linux;rhel
Try to re-assign default application for application/vnd.oasis.opendocument.text :xdg-mime default libreoffice-writer.desktop application/vnd.oasis.opendocument.text