文本编辑器问题
Tofloor
poster avatar
yumenawei
deepin
2018-09-12 03:18
Author
我电脑上装了 sublime text3 和  typora。
我习惯 打开 txt 用 sublime text。
打开 MarkDown 用 typora。
但是 deepin 好像是有 bug,设置 .md 与 .txt 的默认程序是一样的???
大家发现这个问题了吗
Reply Favorite View the author
All Replies
avatar
whoam1
deepin
2018-09-12 03:49
#1
没有这个问题
Reply View the author
avatar
yumenawei
deepin
2018-09-12 18:08
#2

好吧。难道只有我有这个问题吗?
Reply View the author
avatar
187******09
deepin
2018-09-12 18:21
#3
右键打开方式设置一下默认的不就行了
Reply View the author
avatar
yexiaoqi
deepin
2018-09-12 18:58
#4
我有遇到,好像是MIME类型的问题,不过不知道怎么解决。凑合着用
Reply View the author
avatar
yumenawei
deepin
2018-09-12 19:34
#5
https://bbs.deepin.org/post/168743
我有遇到,好像是MIME类型的问题,不过不知道怎么解决。凑合着用

每次打开的时候,选择用啥软件打开吗?
Reply View the author
avatar
yumenawei
deepin
2018-09-12 19:58
#6
https://bbs.deepin.org/post/168743
右键打开方式设置一下默认的不就行了

设置 .md 为 trpora,那么你打开.txt 也是用的typora
设置 .txt 为 sublime text,那么你打开.md 也是用的sublime text
Reply View the author
avatar
187******09
deepin
2018-09-12 20:23
#7
https://bbs.deepin.org/post/168743
设置 .md 为 trpora,那么你打开.txt 也是用的typora
设置 .txt 为 sublime text,那么你打开.md 也是用 ...

?分别设置一次也不行么
Reply View the author
avatar
yexiaoqi
deepin
2018-09-13 01:07
#8
本帖最后由 yexiaoqi 于 2018-9-12 17:10 编辑
https://bbs.deepin.org/post/168743
每次打开的时候,选择用啥软件打开吗?

15.6的时候会有这个问题,刚才试了一下,.md文件居然可以关联Typora了(15.7),查看 mimeapps.list 文件,
  1. cat  ~/.config/mimeapps.list | grep typora
Copy the Code
显示如下:
  1. text/markdown=typora.desktop
Copy the Code

markdown 格式是和 typora关联的,你看看你的里面有没有这个,不行了把系统更新一下

Reply View the author
avatar
yumenawei
deepin
2018-09-13 03:03
#9
https://bbs.deepin.org/post/168743
?分别设置一次也不行么

改了下配置,解决了。多谢。
Reply View the author
avatar
yumenawei
deepin
2018-09-13 03:12
#10
https://bbs.deepin.org/post/168743
15.6的时候会有这个问题,刚才试了一下,.md文件居然可以关联Typora了(15.7),查看 mimeapps.list 文件, ...

解决了。多谢
Reply View the author