启动器里边的快捷方式到底在哪?
Tofloor
poster avatar
joenahm
deepin
2017-09-27 19:58
Author
事情是这样的,众所周知,sublime_text3要用搜狗输入法,需要自己编译一个文件,然后还要对快捷方式操作一波。
那么现在问题来了,我去/usr/share里找里边并没有applications,然后我瞎逛看到了local里的share里有applications但是就有一个QQ。
所以我特别想知道,deepin的启动器的原理是什么,以及那些快捷方式到底存在什么地方,怎么改他们的配置。
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-09-27 20:44
#1
你说的那个目录就有啊  安装了

  1. jingle@jingle:/usr/share/applications$ cat sublime-text-dev.desktop
  2. [Desktop Entry]
  3. Version=1.0
  4. Type=Application
  5. Name=Sublime Text 3 Dev
  6. Name[zh_CN]=Sublime Text 3 开发版
  7. Name[zh_TW]=Sublime Text 3 開發版
  8. GenericName=Text Editor
  9. GenericName[zh_CN]=文本编辑器
  10. GenericName[zh_TW]=文字編輯器
  11. Comment=Sophisticated text editor for code, HTML and prose
  12. Comment[zh_CN]=高端精致的文本(代码、HTML、散文)编辑器
  13. Comment[zh_TW]=高端精緻的文字(程式碼、HTML、散文)編輯器
  14. Keywords=Text;Editor;
  15. Keywords[zh_CN]=文本;编辑器;Text;Editor;
  16. Keywords[zh_TW]=文字;編輯器;Text;Editor;
  17. Exec=sublime-text-dev %F
  18. Terminal=false
  19. MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
  20. Icon=sublime-text-dev
  21. Categories=Development;TextEditor;GTK;
  22. StartupNotify=true
  23. Actions=Window;Document;

  24. [Desktop Action Window]
  25. Name=New Window
  26. Exec=sublime-text-dev -n

  27. [Desktop Action Document]
  28. Name=New File
  29. Exec=sublime-text-dev --command new_file
Copy the Code


Reply View the author
avatar
joenahm
deepin
2017-09-27 22:47
#2
哦哦哦 的确的确,是我眼神不好 丢人了丢人了 哈哈
Reply View the author