列出屏幕
xrandr --listmonitors
Monitors: 1
0: +*eDP1 1920/310x1080/170+0+0 eDP1
调节亮度
➜ ~ xrandr --output eDP1 --brightness 0.9
➜ ~ xrandr --output eDP1 --brightness 0.5
➜ ~ xrandr --output eDP1 --brightness 0.4
➜ ~ xrandr --output eDP1 --brightness 0.8
➜ ~ xrandr --output eDP1 --brightness 1
➜ ~ xrandr --output eDP1 --brightness 0.7
设置主显示器
xrandr --output eDP1 --primary
参考
tldr
Set the size, orientation and/or reflection of the outputs for a screen.
- Display the current state of the system (known screens, resolutions, …):
xrandr —query- Disable disconnected outputs and enable connected ones with default settings:
xrandr —auto- Change the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz:
xrandr —output DP1 —mode 1920x1080 —rate 60- Set the resolution of HDMI2 to 1280x1024 and put it on the right of DP1:
xrandr —output HDMI2 —mode 1280x1024 —right-of DP1- Disable the VGA1 output:
xrandr —output VGA1 —off