安裝 TIM
解決TIM下打不開圖片的問題
安裝完 TIM 後先別啓動, 做好這一步:
sudo gedit /etc/sysctl.conf
在文件末尾追加
# IPv6 disabled
net.ipv6.conf.all.disable_ipv6 =1
net.ipv6.conf.default.disable_ipv6 =1
net.ipv6.conf.lo.disable_ipv6 =1
然後終端輸入:
sudo sysctl -p
清空緩存:
sudo rm -rf ~/.deepinwine/Deepin-QQ
更新 TIM
下載最新版的 windows-TIM
, 然後安裝:
WINEPREFIX=~/.deepinwine/Deepin-TIM deepin-wine *.exe
中文字體
sudo apt install fonts-wqy-microhei fonts-wqy-zenhei
下載字體: 微軟雅黑
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
msyh_config.reg:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
"Arial"="msyh"
"Arial CE,238"="msyh"
"Arial CYR,204"="msyh"
"Arial Greek,161"="msyh"
"Arial TUR,162"="msyh"
"Courier New"="msyh"
"Courier New CE,238"="msyh"
"Courier New CYR,204"="msyh"
"Courier New Greek,161"="msyh"
"Courier New TUR,162"="msyh"
"FixedSys"="msyh"
"Helv"="msyh"
"Helvetica"="msyh"
"MS Sans Serif"="msyh"
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
"System"="msyh"
"Tahoma"="msyh"
"Times"="msyh"
"Times New Roman CE,238"="msyh"
"Times New Roman CYR,204"="msyh"
"Times New Roman Greek,161"="msyh"
"Times New Roman TUR,162"="msyh"
"Tms Rmn"="msyh"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="msyh.TTC"
"Microsoft Sans Serif"="msyh.TTC"
"MS Sans Serif"="msyh.TTC"
"Tahoma"="msyh.TTC"
"Tahoma Bold"="msyhbd.TTC"
"msyh"="msyh.TTC"
"Arial"="msyh.TTC"
"Arial Black"="msyh.TTC"
WINEPREFIX=~/.deepinwine/Deepin-TIM deepin-wine regedit msyh_config.reg