我正在使用perlTk编写文档数据库。在我的GUI上双击选定的文件时,我使用xdg来使用默认应用程序打开该文件。我在打开.odt文件(我认为是openoffice)时遇到了一些问题,xdg-open Add_new_user.odt返回错误
gvfs-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)
我的系统上的命令openoffice.org (NO3)将打开libreoffice。
当我在命令行中输入xdg-mime query filetype Add_new_user.odt时,我得到以下消息,我不理解application/vnd.oasis.opendocument.text
我该如何解决这个问题?我用的是红帽子6.4
发布于 2013-03-27 10:57:44
尝试重新分配application/vnd.oasis.opendocument.text的默认应用程序:
xdg-mime default libreoffice-writer.desktop "application/vnd.oasis.opendocument.text"https://unix.stackexchange.com/questions/69303
复制相似问题