在openSUSE-Leap-15.5-DVD-x86_64中使用deepin-wine-8.16再使用微信3.9.7.29
《在openSUSE-Leap-15.5-DVD-x86_64中使用deepin-wine-6.0.0.62再使用微信3.9.5》
https://blog.csdn.net/weixin_42145772/article/details/135074804?spm=1001.2014.3001.5501
按照上面文章的方法,在deepin23beta2系统中下载相关的软件包并复制到opensuse15.5系统中
root@suozhang-PC:~# apt download com.qq.weixin.deepin
root@suozhang-PC:~# apt download deepin-wine-helper
root@suozhang-PC:~# apt download deepin-wine8-stable
root@suozhang-PC:~# apt download fonts-wqy-microhei
root@suozhang-PC:~# apt download libcapi20-3
root@suozhang-PC:~# apt download libodbc1
root@suozhang-PC:~# apt download libosmesa6
localhost:~ # cd /home/ruhong/opensuse15.5
localhost:/home/ruhong/opensuse15.5 # ls
fonts-wqy-microhei_0.2.0-beta-3_all.deb大小为1.6MB
com.qq.weixin.deepin_3.9.7deepin9_amd64.deb大小为344MB
libcapi20-3_1%3a3.27-3_amd64.deb大小为28KB
deepin-wine-helper_5.3.6-1_amd64.deb大小为1.3MB
libodbc1_2.3.6-0.1-deepin1_amd64.deb大小为217KB
deepin-wine8-stable_8.16-deepin11_amd64.deb大小为185MB
libosmesa6_23.1.2-1deepin1_amd64.deb大小为2.7MB
localhost:/home/ruhong/opensuse15.5 # dpkg --install *.deb
localhost:/home/ruhong/opensuse15.5 # dpkg --add-architecture i386
localhost:/home/ruhong/opensuse15.5 # dpkg --install --force-depends deepin-wine8-stable_8.16-deepin11_amd64.deb
ruhong@localhost:~> /opt/apps/com.qq.weixin.deepin/files/run.sh
Don’t use public dir
Run Deepin-WeChat 3.9.7deepin9 c:/Program Files/Tencent/WeChat/WeChat.exe
/opt/deepinwine/tools/deepin-wine-banner: error while loading shared libraries: libdtkwidget.so.5: cannot open shared object file: No such file or directory
检测到 deepin-wine-banner 运行, exit 1
报错缺少libdtkwidget.so.5补安装即可
localhost:/home/ruhong/opensuse15.5 # zypper search --provides libdtkwidget
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
—±-----------------±------------------------±-------
| libdtkwidget5 | Libraries for dtkwidget | package
i+ | openSUSE-release | openSUSE Leap 15.5 | package
localhost:/home/ruhong/opensuse15.5 # zypper install libdtkwidget5
localhost:~ # dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±=---==========================================
ii com.alibabainc.dingtalk 7.1.0.31120 amd64 钉钉
iU com.qq.weixin.deepin 3.9.7deepin9 amd64 Tencent WeChat Client on Deepin Wine8
iU deepin-wine-helper 5.3.6-1 amd64 Deepin Wine Helper
ii deepin-wine8-stable 8.16-deepin11 amd64 WINE Is Not An Emulator - runs MS Windows programs W
iU fonts-wqy-microhei 0.2.0-beta-3 all Sans-serif style CJK font derived from Droid WenQuan
iU libcapi20-3:amd64 1:3.27-3 amd64 ISDN utilities - CAPI support libraries
iU libodbc1:amd64 2.3.6-0.1-deepin amd64 ODBC library for Unix
iU libosmesa6:amd64 23.1.2-1deepin1 amd64 Mesa Off-screen rendering extension
localhost:~ # dpkg -L com.qq.weixin.deepin |head -n 30
/.
/opt
/opt/apps
/opt/apps/com.qq.weixin.deepin
/opt/apps/com.qq.weixin.deepin/entries
/opt/apps/com.qq.weixin.deepin/entries/applications
/opt/apps/com.qq.weixin.deepin/entries/applications/com.qq.weixin.deepin.desktop
/opt/apps/com.qq.weixin.deepin/entries/icons
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps/com.qq.weixin.deepin.svg
/opt/apps/com.qq.weixin.deepin/files
…
localhost:~ # cp /opt/apps/com.qq.weixin.deepin/entries/applications/com.qq.weixin.deepin.desktop /usr/share/applications/
localhost:~ # vim /usr/share/applications/com.qq.weixin.deepin.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=Deepin WINE Team
Categories=InstantMesaging;Network;
Icon=/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps/com.qq.weixin.deepin.svg
Exec=“/opt/apps/com.qq.weixin.deepin/files/run.sh” -f %f
Name=WeChat
Name[zh_CN]=微信
Comment=Tencent WeChat Client on Deepin Wine8
StartupWMClass=com.qq.weixin.deepin
StartupNotify=true
MimeType=
使用文本编辑器vim打开com.qq.weixin.deepin.desktop文件
将这行
Icon=com.qq.weixin.deepin
改为
Icon=/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps/com.qq.weixin.deepin.svg
将这行
Categories=chat;
改为
Categories=InstantMesaging;Network;
应用程序——互联网——微信——手机扫码登录——左下角三根横线——设置——通用设置——勾选使用系统默认浏览器打开网页
设置开机后自动打开微信
ruhong@localhost:~> mkdir /home/ruhong/.config/autostart
ruhong@localhost:~> cp /usr/share/applications/com.qq.weixin.deepin.desktop .config/autostart/
还是老问题,不能播放微信中的视频,但是可以播放语音,我也不知如何解决