切换源镜像
参考链接 : https://wiki.manjaro.org/Pacman-mirrors
sudo pacman-mirrors --country China,United_States && sudo pacman -Syyu
找到中美速度最快的五个源并升级系统.
archlinuxcn源
参考链接 : https://github.com/archlinuxcn/repo
添加repo到 /etc/pacman.conf:
官方源(大陆没有节点, 推荐使用下面的镜像) :
[archlinuxcn]
Server = https://cdn.repo.archlinuxcn.org/$arch
镜像列表: https://github.com/archlinuxcn/mirrorlist-repo
[archlinuxcn]
Server = https://mirrors.zju.edu.cn/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirror.xtom.com.hk/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirrors.shuosc.org/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirrors.163.com/archlinux-cn/$arch
[archlinuxcn]
Server = https://mirrors.dgut.edu.cn/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirrors.cqu.edu.cn/archlinuxcn/$arch
[archlinuxcn]
Server = https://mirrors.sjtug.sjtu.edu.cn/archlinux-cn/$arch
[archlinuxcn]
Server = https://mirrors.cloud.tencent.com/archlinuxcn/$arch
添加PGPKeys :
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
TIM 微信 网易云 安装与缩放
参考链接 :
https://aur.archlinux.org/packages/deepin-wechat/
https://aur.archlinux.org/packages/deepin.com.qq.office/ (实际上是TIM)
https://www.lulinux.com/archives/4642
https://wiki.archlinux.org/index.php/HiDPI#Qt_5
TIM和微信推荐安装AUR中的deepin版本, 网易云音乐archlinuxcn源有.
高分屏存在缩放问题, deepin版本的应用调winecfg需要使用如下命令:
env WINEPREFIX="$HOME/.deepinwine/Deepin-TIM" winecfg
env WINEPREFIX="$HOME/.deepinwine/Deepin-WeChat" winecfg
里面调DPI就可以, 调之前先退出应用.
网易云音乐缩放需要添加执行参数:
netease-cloud-music --force-device-scale-factor=1.25 (这里换成你需要的缩放级别)
另外还有一种修改Qt5环境变量的方法, 我之前都是需要两个都改, 更新过一次之后就只需要上面的Chromium参数了. 如果上面的方法不work的话可以试这种办法.
QT_SCALE_FACTOR=1.25 netease-cloud-music --force-device-scale-factor=1.25
原文:https://www.cnblogs.com/7day/p/12445666.html