admin管理员组文章数量:1583364
请耐心看完这篇文章,很简单!如果你也想在Archlinux上使用deepin版微信QQ!
为了系统的稳定,Archlinux官方关闭了32位软件以及aur软件库,但是仅仅只依靠官方源中的软件时不够用的,所以要打开32位支持
#编辑
vim /etc/pacman.conf
#去掉[multilib]一节中两行的注释,来开启 32 位库支持。在文档结尾处加入下面的文字,来开启 ArchLinuxCN 源。
[archlinuxcn]
Server = https://mirrors.ustc.edu/archlinuxcn/$arch
#执行 sudo pacman -Syyu 更新pacman数据库
#然后需要安装 archlinuxcn-keyring 包以导入 GPG key
sudo pacman -S archlinuxcn-keyring
#有时候因为密钥环的问题,导致这一步安装报错,可以依次执行下面的命令
sudo pacman -Syyu
sudo pacman -S haveged
sudo pacman -Syu haveged
sudo systemctl start haveged
sudo systemctl enable haveged
sudo rm -fr /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate archlinuxcn
#然后再重新安装,即可解决问题
#最后安装 yay 用来下载archlinuxcn库中的软件
现在你已经开启了Archlinux系统的32位支持,接下来安装微信和QQ
sudo pacman -S yay && yay -S deepin-wine-wechat deepin-wine-qq
执行完之后按Alt+空格 ,搜索微信安装微信,搜索qq安装qq
这里特别说明一下:安装路径都保持默认的,不要修改!另外他们的默认文件保存位置都在家目录下的Document文件夹下
微信和qq的启动程序都是 run.sh的shell脚本,你安装完后会发现没有入口可以打开微信或者QQ,按Alt+空格搜索到的也只是微信或者QQ的安装程序,并不是安装完后的执行程序。我们需要自行配置程序的引导程序,以至于我们可以直接通过搜索运行程序。很简单!不要担心!
微信的默认启动程序在/opt/apps/com.qq.weixin.deepin/files/run.sh
qq的默认启动程序在/opt/apps/com.qq.im.deepin/files/run.sh
因此你需要这么做
- 配置微信的启动程序
#编辑
vim ~/.local/share/applications/wechat.desktop
#将下边的内容复制上去
[Desktop Entry]
Type=Application
Name=wechat #这是你微信的搜索名字,搜索wechat就可以执行微信程序
Exec=/opt/apps/com.qq.weixin.deepin/files/run.sh #这就是实际的微信执行文件位置
Icon=/usr/local/weichat/resources/assets/icon/icon_512x512@2x.png #自己找一个微信logo图,如果你能接受在搜索的时候没有微信logo图,可以把这行注释掉,不影响!
Terminal=false
Categories=program;InstantMessaging
接下来你按Alt+空格搜索wechat就可以运行微信了
- 配置QQ的启动程序
#编辑
vim ~/.local/share/applications/wechat.desktop
#将下边内容复制上去
[Desktop Entry]
Type=Application
Name=im_qq #这是你QQ的搜索名字,注意只输入qq检索不到,所以建议写成im_qq或者其他
Exec=/opt/apps/com.qq.im.deepin/files #这就是实际的QQ执行文件位置
Icon=/usr/local/QQ/resources/assets/icon/icon_512x512@2x.png #自己找一个QQlogo图,如果你能接受在搜索的时候没有QQlogo图,可以把这行注释掉,不影响!
Terminal=false
Categories=program;InstantMessaging
同样的你可以使用Alt+空格搜索im_qq来运行qq软件了。
完毕!
版权声明:本文标题:Archlinux安装deepin版微信和QQ,看我就够了 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1725529849a1027854.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论