note/tech/安装linux的坑.md
2025-11-19 10:16:05 +08:00

56 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# archlinux 安装碰到的问题
## 系统安装
### 更新遇到的问题
1、卸载 yay -Rs -Rsc -Rdd
2、强制更新如果出现filename exist则:yay -Syyu --overwrite '*'
### SDDM登录界面问题
登录界面太小的解决方案:
编辑 /etc/sddm.conf.d/override.conf (如果没有就新建一个),例:
```conf
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
```
## 软件问题
### wps pdf 无法打开文档
wps pdf 缺少依赖libtiff5。使用yay -S libtiff5安装好就行。
### wps BOLD字体看不清楚
降级freetype2从2.13.1、2降至2.13.0
先安装降级工具downgrade
```bash
sudo pacman -S downgrade
```
使用以下命令来忽略特定软件包的升级提示
```shell
sudo downgrade freetype2
```
然后用上下键选择2.13.0。
最后加入ignorePkg以后就不再升级它了。
### 输入法问题
fcitx5:需要安装fcitx5-input-support ,不然无法
### idea的安装和破解
网上多搜几个key。大部分都因为key错误而无法激活
### wechat微信缩放问题
使用wechat-universal ,需要设置QT缩放
1. 在wechat-universal 中加入一行:
```bash
export QT_AUTO_SCREEN_SCALE_FACTOR=1
```
2. 或者在wechat-universal 中加入一行:
```bash
export QT_SCREEN_SCALE_FACTORS=1.x (高分屏可以设置为2.0)
```