[software development] 不能直接使用wps打开word文件
Tofloor
poster avatar
182******71
deepin
2025-04-27 21:28
Author

deepin23.1,WPS是12.1.0.17900,双击或右键打开任何一个word文件,都只能是进入新建界面,不能直接打开。咱也不懂百度的修改调整方法,请问各位大神,谁有直观、简明、容易的修复方法?

Reply Favorite View the author
All Replies
北冥夜未央
deepin
Ecological co-builder
2025-04-27 21:40
#1

打开/usr/share/applications文件夹,右键→以管理员身份打开→在打开的文件夹中找到“WPS文字”→右键→打开方式→文本编辑器→把下图中的%U改成%F,保存

截图_deepin-editor_20250427213727.jpg

Reply View the author
字甲达宾
deepin
2025-04-27 22:26
#2

https://mp.weixin.qq.com/s/loVVdGvyJDnis8mhmPw1Ig

Reply View the author
deepin
2025-04-27 23:17
#3

我觉得用xdg-mime命令会好一些吧。不会用问下ai就好了

Reply View the author
晚秋(lateautumn)
Moderator
2025-04-28 10:51
#4

我觉得用xdg-mime命令会好一些吧。不会用问下ai就好了

我印象是窗口管理模式的问题,在设置里改一下试试。
image.png

Reply View the author
182******71
deepin
2025-04-28 19:05
#5
北冥夜未央

打开/usr/share/applications文件夹,右键→以管理员身份打开→在打开的文件夹中找到“WPS文字”→右键→打开方式→文本编辑器→把下图中的%U改成%F,保存

截图_deepin-editor_20250427213727.jpg

非常非常感谢

Reply View the author
182******71
deepin
2025-04-28 19:06
#6
字甲达宾

https://mp.weixin.qq.com/s/loVVdGvyJDnis8mhmPw1Ig

👍

Reply View the author
182******71
deepin
2025-04-28 19:09
#7
晚秋(lateautumn)

我印象是窗口管理模式的问题,在设置里改一下试试。
image.png

👍 👍 👍

Reply View the author
waittingsummer
deepin
2025-04-29 11:20
#8

%U改成%F

Reply View the author
半根烟
deepin product team
2025-04-29 16:18
#9
北冥夜未央

打开/usr/share/applications文件夹,右键→以管理员身份打开→在打开的文件夹中找到“WPS文字”→右键→打开方式→文本编辑器→把下图中的%U改成%F,保存

截图_deepin-editor_20250427213727.jpg

厉害了,找了各种办法都没搞定,终于好了。这到底是wps改了默认设置还是咋的

Reply View the author
hotime
deepin
2025-04-30 08:47
#10
半根烟

厉害了,找了各种办法都没搞定,终于好了。这到底是wps改了默认设置还是咋的

WPS的主程序脚本里处理传入的URI参数时,依赖了python2的代码,在uos中是可以的,因为uos默认使用python2,没问题。

而deepin23是python3,那段处理uri的代码不兼容,所以最后传入的uri就成了空了

%F参数不涉及URI的处理,所以改成%F没问题

WPS的问题

Reply View the author