mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
830 B
Plaintext
34 lines
830 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# brightnessctl
|
|
|
|
> Utility for reading and controlling device brightness for Linux operating systems.
|
|
> More information: <https://github.com/Hummer12007/brightnessctl#usage>.
|
|
|
|
- List devices with changeable brightness:
|
|
|
|
`brightnessctl {{[-l|--list]}}`
|
|
|
|
- Print the current brightness of the default device:
|
|
|
|
`brightnessctl {{[g|get]}}`
|
|
|
|
- Print the current brightness of a specific device (can be a wildcard):
|
|
|
|
`brightnessctl {{[g|get]}} {{[-d|--device]}} '{{device_name}}'`
|
|
|
|
- Set the brightness to a specified percentage:
|
|
|
|
`brightnessctl {{[s|set]}} {{50}}%`
|
|
|
|
- Increase brightness by a specified percentage:
|
|
|
|
`brightnessctl {{[s|set]}} +{{10}}%`
|
|
|
|
- Decrease brightness by a specified percentage:
|
|
|
|
`brightnessctl {{[s|set]}} {{10}}%-`
|