ubuntu 添加软链接和图标

ubuntu 给微信开发工具添加软链接和图标

  1. 创建软链接
sudo ln -s /home/home/devtools/wechat_web_devtools/bin/wxdt /usr/bin/wechat_web_devtools

  1. 在/usr/share/applications/目录下,新建whecat_web_devtools.desktop文件
vim /usr/share/applications/whecat_web_devtools.desktop
  1. 修改文件内容
   [Desktop Entry]
   Version=v1.02.1910121
   Type=Application
   Terminal=false
   Icon[en_US]=/home/home/devtools/wechat_web_devtools/wechat_web_devtools.png
   Name[en_US]=wechat_web_devtools
   Exec=/home/home/devtools/wechat_web_devtools/bin/wxdt
   Comment[en_US]=wechat_web_devtools
   Icon=/home/home/devtools/wechat_web_devtools/wechat_web_devtools.png
   Name=wechat_web_devtools
   Comment=wechat_web_devtools

相关链接

2020, Jun 03

| 本文访问量:

上一篇 css3 conic-gradient notes 下一篇 html dataurl 互转