熄屏问题修复

This commit is contained in:
2024-12-30 18:21:08 +08:00
parent 8aa502b734
commit 1fdf111b86
2 changed files with 4 additions and 2 deletions

View File

@@ -114,10 +114,12 @@ sudo apt install unclutter
编辑 `~/.config/i3/config`,添加如下行:
```bash
exec --no-startup-id unclutter -root # 隐藏鼠标
exec --no-startup-id xset -dpms # 关闭屏幕自动关闭
exec --no-startup-id xset dpms 0 0 0 # 关闭屏幕自动关闭
exec --no-startup-id xset s off # 关闭屏幕保护
```
不使用 `xset -dpms` 来禁用屏幕自动关闭,因为当使用 `xset dpms force off` 或 `xset dpms force on` 时,会导致禁用失效
### 安装中文字体和 emoji 字体
```bash