需求:
因爲改在了ubuntu下開發東西,所以要經常使用微信軟件,我是看了別人的文章總結我自己的經驗
準備
Ubuntu 系統
步驟
- 安裝包
wechat for linux github鏈接: https://github.com/geeeeeeeeek/electronic-wechat/releases
下載好後解壓到當前文件夾,在解壓文件裏可以看到electronic-wechat
2、打開終端輸入命令:
2.1、先把微信圖標複製到/home/edem/Downloads/electronic-wechat-linux-x64目錄下;
2.2、輸入命令 :cd /home/edem/usr/share/applications
2.3、輸入命令:sudo vi wechat.desktop
2.4、然後 把下面的代碼複製進去,保存並退出
[Desktop Entry]
Version = 2.0
Name=wechat
Type=Application
GenericName = wechat
Comment = wechat
Exec=/home/edem/Downloads/electronic-wechat-linux-x64/electronic-wechat
Terminal=false
Categories=GNOME;Application;Network;
Icon=/home/edem/Downloads/electronic-wechat-linux-x64/wechat.png
2.5、cat wechat.desktop
2.6、這個時候我們可以在/home/edem/usr/share/applications文件夾下看到微信的圖標了,把它複製到桌面,即可使用。