All Projects → Hummer12007 → Brightnessctl

Hummer12007 / Brightnessctl

Licence: other
A program to read and control device brightness

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Brightnessctl

tessen
an interactive menu to autotype and copy pass and gopass data
Stars: ✭ 37 (-87.91%)
Mutual labels:  wayland
Ananas
An easy image editor integration for your Android apps.
Stars: ✭ 186 (-39.22%)
Mutual labels:  brightness
Gnome Shell Extended Gestures
Better touchpad gesture handling for GNOME
Stars: ✭ 281 (-8.17%)
Mutual labels:  wayland
GodlyTorch
[NOT MAINTAINED] An app that can control the intensity of the torch of your rooted android device.
Stars: ✭ 16 (-94.77%)
Mutual labels:  brightness
Dell-S2716DGR-Calibration-Guide
Calibration guide for the Dell S2716DG and S2716DGR to get the best picture quality and colors
Stars: ✭ 33 (-89.22%)
Mutual labels:  brightness
Matebookxpro Hackintosh
Hackintosh Solution for the Huawei Matebook X Pro
Stars: ✭ 257 (-16.01%)
Mutual labels:  brightness
nwg-wrapper
Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors
Stars: ✭ 60 (-80.39%)
Mutual labels:  wayland
Greenfield
HTML5 Wayland compositor 🌱
Stars: ✭ 296 (-3.27%)
Mutual labels:  wayland
cute-sway-recorder
SwayWM screen recorder; a GUI for wf-recorder
Stars: ✭ 16 (-94.77%)
Mutual labels:  wayland
X11vnc
a VNC server for real X displays
Stars: ✭ 272 (-11.11%)
Mutual labels:  wayland
weston-rs
Rust bindings to libweston(-desktop) of Weston, the reference Wayland compositor
Stars: ✭ 14 (-95.42%)
Mutual labels:  wayland
gobble
Rust rewrite of Devour
Stars: ✭ 23 (-92.48%)
Mutual labels:  wayland
Swappy
A Wayland native snapshot editing tool, inspired by Snappy on macOS
Stars: ✭ 264 (-13.73%)
Mutual labels:  wayland
go-wayland
Wayland Client in Pure Go
Stars: ✭ 38 (-87.58%)
Mutual labels:  wayland
Wine Wayland
Wine-wayland allows playing DX9/DX11 and Vulkan games using pure wayland and Wine/DXVK.
Stars: ✭ 284 (-7.19%)
Mutual labels:  wayland
wapanel
Desktop-dedicated wayland bar for wayfire and other wlroots based compositors. Mir compatible.
Stars: ✭ 31 (-89.87%)
Mutual labels:  wayland
dotfiles
My arch setup script and dotfiles
Stars: ✭ 37 (-87.91%)
Mutual labels:  wayland
Wdisplays
GUI display configurator for wlroots compositors
Stars: ✭ 302 (-1.31%)
Mutual labels:  wayland
Gromit Mpx
Gromit-MPX is an on-screen annotation tool that works with any Unix desktop environment under X11 as well as Wayland.
Stars: ✭ 287 (-6.21%)
Mutual labels:  wayland
Wayvnc
A VNC server for wlroots based Wayland compositors
Stars: ✭ 273 (-10.78%)
Mutual labels:  wayland

brightnessctl

This program allows you read and control device brightness. Devices, by default, include backlight and LEDs (searched for in corresponding classes). If omitted, the first found device is selected.

It can also preserve current brightness before applying the operation (allowing for usecases like disabling backlight on lid close).

Installation

The program is available in:

One can build and install the program using make install. Consult the Makefile for relevant build-time options.

Permissions

Modifying brightness requires write permissions for device files or systemd support. brightnessctl accomplishes this (without using sudo/su/etc.) by either of the following means:

  1. installing relevant udev rules to add permissions to backlight class devices for users in video and leds for users in input. (done by default)

  2. installing brightnessctl as a suid binary.

  3. using the systemd-logind API.

The behavior is controlled by the INSTALL_UDEV_RULES flag (setting it to 1 installs the udev rules, it is the default value).

The systemd support (since v243) is controlled by the ENABLE_SYSTEMD flag (udev rules will not be installed by default).

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%
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].