[Terminal] drawio后缀的文件和txt后缀的文件被视为同一类型了
Tofloor
poster avatar
chise
deepin
2023-01-09 22:56
Author

我保存drawio后缀的文件,设置默认打开程序为drawio,会导致.txt后缀的也变成默认用drawio打开。

我把txt后缀的设置为用文本编辑器打开,drawio默认程序也被改成了文本编辑器。

Reply Favorite View the author
All Replies
chise
deepin
2023-01-09 22:59
#1

救命,我改成draw后缀还是一样的问题

Reply View the author
乾豫恒益
deepin
2023-01-09 23:19
#2

换个默认打开程序就好了,右键里

Reply View the author
安洛
deepin
2023-01-09 23:42
#3

linux不是靠后缀名认类型的。基本上改后缀是没有用的。

Reply View the author
chise
deepin
2023-01-10 00:14
#4
乾豫恒益

换个默认打开程序就好了,右键里

没用,我换了一个,另外一个跟着一起就变了。。

Reply View the author
chise
deepin
2023-01-10 00:15
#5
安洛

linux不是靠后缀名认类型的。基本上改后缀是没有用的。

那我这个应该怎么处理,我给drawio设置默认程序,txt也跟着变了。虽然不是很影响使用,

Reply View the author
寂静的羽夏
deepin
2023-01-10 05:38
#6

我给你提供一些参考,不过需要自己写东西纯手动,如果是纯小白难搞:

https://www.baeldung.com/linux/file-mime-types

https://help.ubuntu.com/community/AddingMimeTypes

https://www.thinbug.com/q/11723028

Reply View the author
chise
deepin
2023-01-10 17:24
#7
寂静的羽夏

我给你提供一些参考,不过需要自己写东西纯手动,如果是纯小白难搞:

https://www.baeldung.com/linux/file-mime-types

https://help.ubuntu.com/community/AddingMimeTypes

https://www.thinbug.com/q/11723028

算了算了,感觉太复杂了。反正也不影响我使用。。

我只是觉得这应该是个bug,毕竟已经有选择默认打开程序的功能了,但是这个功能并没有达到预期效果。

Reply View the author