熄屏问题修复
This commit is contained in:
@@ -27,7 +27,7 @@ func OpenApp(c context.Context, url string) {
|
||||
s := make(chan struct{})
|
||||
|
||||
wait := b.EachEvent(func(e *proto.TargetTargetDestroyed) {
|
||||
zap.S().Infoln("关闭待机网页")
|
||||
zap.S().Infoln("浏览器关闭事件")
|
||||
s <- struct{}{}
|
||||
})
|
||||
go wait()
|
||||
|
||||
4
todo.md
4
todo.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user