求助 将应用加入到启动器
Tofloor
poster avatar
hainuo
deepin
2016-02-25 22:57
Author
我下载了编译好的visual source code 编辑器 ,现在如何将 可执行程序 Code  以vsc的名字 加入到 deepin 15.1的启动器
Reply Favorite View the author
All Replies
cxbii
deepin
2016-02-25 23:45
#1
把它的Desktop文件放到 /usr/share/applications
我们最快在下周把这个应用添加商店
Reply View the author
u855697021
deepin
2016-02-25 23:45
#2
自己写一个.desktop文件,然后扔进~/.local/share/applications里...
Reply View the author
rekols
deepin
2016-02-25 23:46
#3
新建一个**.desktop文件,内容:

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=vs
Name[zh_CN]=中文名
Comment=Edit text files
Exec=可执行程序地址
Terminal=false
Type=Application
Icon=图标
StartupNotify=true
Categories=TextEditor


保存,复制到home目录下.local -> share -> applications里

/usr/share/applications 也可以

Reply View the author
hainuo
deepin
2016-02-27 20:07
#4
rekols 发表于 2016-2-25 15:46
新建一个**.desktop文件,内容:

#!/usr/bin/env xdg-open

多谢建议在wiki中增加这个内容
Reply View the author
2016-02-27 23:03
#5
https://bbs.deepin.org/post/37462
多谢建议在wiki中增加这个内容

wiki是每个网友都可以编辑都。如果你验证这个做法没问题,就做点儿贡献,把自己的真实经验记录补充到wiki里吧。O(∩_∩)O哈哈~
Reply View the author
hainuo
deepin
2016-03-01 22:09
#6
https://bbs.deepin.org/post/37462
wiki是每个网友都可以编辑都。如果你验证这个做法没问题,就做点儿贡献,把自己的真实经验记录补充到wiki ...

haha 我还不太会用啊,抽空整理下试试
Reply View the author