typora设置默认打开方式,双击直接打开文件内容
Tofloor
poster avatar
lanky
deepin
2020-03-12 12:19
Author
【正常设置默认打开方式】
1、md文件右键
2、打开方式
3、选择默认程序
4、添加其他程序

【增加打开参数】
1、修改/home/XXX/.local/share/applications/dde-file-manager-custom-open-text-markdown.desktop
  1. [Desktop Entry]
  2. Exec=/XXX/Typora-linux-x64/Typora %F
  3. Icon=application-x-desktop
  4. MimeType=*/*
  5. Name=Typora
  6. Type=Application
  7. X-DDE-File-Manager-Custom-Open=text/markdown
Copy the Code


Reply Favorite View the author
All Replies
avatar
小明Hackintosh
deepin
2020-08-17 00:16
#1
有一个桌面图标就完美了。
  1. [Desktop Entry]
  2. Exec=/media/vvv/Typora-linux-x64/Typora %F
  3. Icon=/media/vvv/Typora/bin/Typora-linux-x64/favicon-64.png
  4. MimeType=*/*
  5. Name=Typora
  6. Type=Application
  7. X-DDE-File-Manager-Custom-Open=text/markdown
Copy the Code
再把桌面文件拷贝到启动器
  1. /usr/share/applications$ sudo cp ~/Desktop/typora.desktop .
Copy the Code
不过,文件的图标还没有变,不知道怎么弄?
Reply View the author