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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

brightnessctl Command Examples in Linux

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.

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. jpegtran for image optimization
  2. ldconfig: command not found
  3. eqn: Equation preprocessor for the groff (GNU Troff) document formatting system
  4. virt-install: Command Not Found
  5. git fsck: Verify the validity and connectivity of nodes in a Git repository index
  6. register_new_matrix_user: command not found
  7. chromium: Open-source web browser principally developed and maintained by Google
  8. How to Reduce an LVM volume on Ubuntu
  9. nixos-option: Command Examples in Linux
  10. How To Setup mutt in CentOS/RHEL

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright