mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 11:49:28 +00:00
Update cheatsheets
This commit is contained in:
29
linux/xbacklight
Normal file
29
linux/xbacklight
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xbacklight
|
||||
|
||||
> Utility to adjust backlight brightness using the RandR extension.
|
||||
> More information: <https://gitlab.freedesktop.org/xorg/app/xbacklight>.
|
||||
|
||||
- Get the current screen brightness as a percentage:
|
||||
|
||||
`xbacklight`
|
||||
|
||||
- Set the screen brightness to 40%:
|
||||
|
||||
`xbacklight -set {{40}}`
|
||||
|
||||
- Increase current brightness by 25%:
|
||||
|
||||
`xbacklight -inc {{25}}`
|
||||
|
||||
- Decrease current brightness by 75%:
|
||||
|
||||
`xbacklight -dec {{75}}`
|
||||
|
||||
- Increase backlight to 100%, over 60 seconds (value given in ms), using 60 steps:
|
||||
|
||||
`xbacklight -set {{100}} -time {{60000}} -steps {{60}}`
|
||||
Reference in New Issue
Block a user