Forrest logo
tool overview
On this page you find all important commands for the CLI tool xbacklight. If the command you are looking for is missing please ask our AI.

xbacklight

xbacklight is a command line tool that allows you to control the backlight brightness of your display on Linux systems. It is particularly useful on laptops and other devices where you need to adjust the screen brightness.

With xbacklight, you can increase or decrease the backlight brightness level by specifying a value in percentage or increment/decrement values. For example, "xbacklight -inc 10" will increase the brightness by 10 percent.

It relies on the XRandR (X Resize, Rotate, and Reflection Extension) extension to communicate with the X server and modify the backlight settings.

One advantage of xbacklight is its simplicity, as it provides a straightforward and easy-to-use interface for adjusting the backlight brightness without the need for a graphical tool.

However, it is important to note that xbacklight might not work on all systems, especially those that use proprietary drivers or do not support the XRandR extension.

To install xbacklight on a Debian-based system, you can use the command "sudo apt install xbacklight" in the terminal. Once installed, you can simply execute "xbacklight" followed by the desired options to adjust the backlight brightness.

List of commands for xbacklight:

  • xbacklight:tldr:6f87a xbacklight: Get the current screen brightness as a percentage.
    $ xbacklight
    try on your machine
    explain this command
  • xbacklight:tldr:7dada xbacklight: Set the screen brightness to 40%.
    $ xbacklight -set ${40}
    try on your machine
    explain this command
  • xbacklight:tldr:7edcc xbacklight: Increase backlight to 100%, over 60 seconds (value given in ms), using 60 steps.
    $ xbacklight -set ${100} -time ${60000} -steps ${60}
    try on your machine
    explain this command
  • xbacklight:tldr:b631f xbacklight: Decrease current brightness by 75%.
    $ xbacklight -dec ${75}
    try on your machine
    explain this command
  • xbacklight:tldr:c2af4 xbacklight: Increase current brightness by 25%.
    $ xbacklight -inc ${25}
    try on your machine
    explain this command
tool overview