• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

brightnessctl: command not found

by admin

brightnessctl is a command-line utility in Linux that is used to control the brightness of a display on a laptop or other portable device. brightnessctl allows you to adjust the brightness of the display manually or automatically, depending on the available options on your device.

If you encounter the below error while running the brightnessctl command:

brightnessctl: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install brightnessctl
Ubuntu apt-get install brightnessctl
Kali Linux apt-get install brightnessctl
Fedora dnf install brightnessctl

Usage:

Usage: brightnessctl [options] [operation] [value]

Options:
  -l, --list            list devices with available brightness controls.
  -q, --quiet           suppress output.
  -p, --pretend         do not perform write operations.
  -m, --machine-readable    produce machine-readable output.
  -n, --min-value       set minimum brightness, defaults to 1.
  -e, --exponent[=K]        changes percentage curve to exponential.
  -s, --save            save previous state in a temporary file.
  -r, --restore         restore previous saved state.
  -h, --help            print this help.
  -d, --device=DEVICE       specify device name (can be a wildcard).
  -c, --class=CLASS     specify device class.
  -V, --version         print version and exit.

Operations:
  i, info           get device info.
  g, get            get current brightness of the device.
  m, max            get maximum brightness of the device.
  s, set VALUE      set brightness of the device.

Valid values:
  specific value        Example: 500
  percentage value      Example: 50%
  specific delta        Example: 50- or +10
  percentage delta      Example: 50%- or +10%

brightnessctl Command Examples

1. List devices with changeable brightness:

# brightnessctl --list

2. Print the current brightness of the display backlight:

# brightnessctl get

3. Set the brightness of the display backlight to a specified percentage within range:

# brightnessctl set 50%

4. Increase brightness by a specified increment:

# brightnessctl set +10%

5. Decrease brightness by a specified decrement:

# brightnessctl set 10%-

Filed Under: Linux

Some more articles you might also be interested in …

  1. bpftrace Command Examples in Linux
  2. eject: command not found
  3. How to query and modify kernel parameters using sysctl (Immediately and persistently) in CentOS / RHEL
  4. faketime Command Examples in Linux
  5. protonvpn-cli connect Command Examples
  6. CentOS / RHEL : How to mount filesystems using UUID
  7. How to Delete Duplicate Rules in Routing Policy Database in CentOS/RHEL
  8. CentOS / RHEL 7 : sysctl kernel parameter doesn’t take effect after reboot
  9. How to Check CentOS Version
  10. How To Find When The Spfile Was Created On Linux Server

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright