H5展示

Linux Deepin 调整亮度

2021-1-11 admin

https://bbs.deepin.org/post/206322 自己手动敲命令调节亮度,最好是写成脚本方便些: 查询当前显示设备 xrandr --current | sed -n 2p | awk '{print $1}' 查询所有显示设备 xrandr | grep -i connected eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm VGA-1 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) HDMI-2 disconnected (normal left inverted right x axis y axis) 给所选设备名称设置亮度 xrandr --output eDP-1 --brightness .9

标签: linux

评论(0) 浏览(14)