lifengg
deepin
2017-03-26 06:29 From http://stackoverflow.com/:
1. Choice one: Open a terminal where your file is and execute command:
mimeopen -d your_dag.dot
there is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) wps
2) ...
3) Other...
use application #3
use command: dotty %f
2. Choice two: Generic way
mimeopen .dot
and then do the step above.
Then, check ~/.local/share/applications/default.list:
lifeng@lifeng-pc:~/.local/share/applications$ cat defaults.list
[Default Applications]
text/vnd.graphviz=graphviz.desktop; // you may use a different name for .desktop
1. Choice one: Open a terminal where your file is and execute command:
mimeopen -d your_dag.dot
there is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) wps
2) ...
3) Other...
use application #3
use command: dotty %f
2. Choice two: Generic way
mimeopen .dot
and then do the step above.
Then, check ~/.local/share/applications/default.list:
lifeng@lifeng-pc:~/.local/share/applications$ cat defaults.list
[Default Applications]
text/vnd.graphviz=graphviz.desktop; // you may use a different name for .desktop
Reply Like 0 View the author


中文 


目前系统自动用WPS打开.dot文件。