LinuxCommandLibrary

ybacklight

Screen backlight brightness control

TLDR

Get brightness

$ ybacklight -get
copy
Set brightness
$ ybacklight -set [50]
copy
Increase brightness
$ ybacklight -inc [10]
copy
Decrease brightness
$ ybacklight -dec [10]
copy

SYNOPSIS

ybacklight [-get] [-set value] [-inc value] [-dec value]

DESCRIPTION

ybacklight controls the display backlight brightness from the command line. It provides a simple interface for getting, setting, and adjusting the screen brightness level as a percentage value.
Brightness can be set to an absolute percentage with -set, or adjusted relative to the current level with -inc and -dec. The -get option queries the current brightness level.
The tool serves as an alternative to xbacklight, providing similar functionality for systems where xbacklight does not work correctly due to driver or hardware differences.

PARAMETERS

-get

Show current level.
-set VAL
Set to percentage.
-inc VAL
Increase by amount.
-dec VAL
Decrease by amount.

CAVEATS

Hardware dependent. May need permissions. Backlight control.

HISTORY

ybacklight is a backlight control utility, similar to xbacklight, for adjusting display brightness.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community