Skip to main content
34 votes

Control screen brightness in i3

brightnessctl can be used to set the actual device brightness.
leafmeal's user avatar
  • 441
27 votes
Accepted

Control screen brightness in i3

To change your screen brightness, you can use xrandr. In order to do this, you can do: xrandr -q | grep ' connected' | head -n 1 | cut -d ' ' -f1 That will return all the connected monitors (like ...
Jae Lo Presti's user avatar
17 votes

Control screen brightness in i3

My solution. It is tested on Ubuntu 20.04. sudo apt install light sudo chmod +s /usr/bin/light Add to i3 config: bindsym XF86MonBrightnessUp exec --no-startup-id light -A 1 # increase screen ...
Anatolii Kurotych's user avatar
8 votes

Is there a way to adjusts the brightness of the monitor?

The DDC/CI kernel module includes a ddcci-backlight module which can integrate most DDC/CI-capable monitors into the kernel’s backlight system (/sys/class/backlight). This allows any tool which can ...
Stephen Kitt's user avatar
7 votes

How to change LCD intensivity/brightness

Neither of the solutions above were sufficient for me. Use the below to find which backlights are available. ls /sys/class/backlight/ In my case there was a folder intel_backlight in that folder. ...
James McDonnell's user avatar
7 votes
Accepted

Backlight control not working on Lenovo IdeaPad Gaming 3 with Renoir / AMDGPU

Kernels 5.11.7, 5.12-rc3, and later allow the kernel parameter amdgpu.backlight=0 to be passed at boot to fix this issue for Lenovo IdeaPad Gaming 3, Lenovo Legion 5 and possibly other laptops. For ...
ilov3's user avatar
  • 186
6 votes

Adjust backlight via DDC?

I am the developer of ddcutil. It looks like you have a monitor with a marginal I2C implementation. The Nvidia options are forcing the driver to use the lowest bus speed defined in the I2C spec, 100 ...
Sanford Rockowitz's user avatar
5 votes

How can I change screen brightness in debian wheezy that installed in laptop?

Before doing this, I installed firmware-linux-nonfree; I don't know whether that's affected anything. If xbrightness does not detect the backlight, you'll need to find the backlight file and manually ...
wizzwizz4's user avatar
  • 722
5 votes

How to change LCD intensivity/brightness

I combined all the other answers into a single script, that uses whatever means is available, favoring xbacklight, followed by .../intel_backlight/..., followed by xrandr. It takes one argument (see ...
hoijui's user avatar
  • 897
5 votes

How to change brightness from tty?

Try echo 4 > /sys/class/backlight/acpi_video0/brightness That will set brightness to 40%. You may need to change the directory to match your video card. Note also that you'll have to be in the ...
jimmij's user avatar
  • 48.7k
5 votes

Control screen brightness in i3

Copying from an old answer of mine to a question: XF86MonBrightnessUp/XF86MonBrightnessDown special keys not working Edit: As noted below, you must have acpi installed on your machine for these to ...
Try431's user avatar
  • 577
4 votes

Control screen brightness in i3

To make keyboard media buttons work, you can use brightnessctl from @leafmeal's answer, and add these keybindings to your .config/i3/config: bindsym XF86MonBrightnessDown exec brightnessctl s 5%- ...
gitaarik's user avatar
  • 599
4 votes

Why doesn't Linux support OLED screens brightness control?

I've been using an OLED screen on linux on and off since they first came out in 2016 on the Thinkpad X1 Yoga. I usually went for the xrandr + acpi solution provided in this thread. Truth be told, ...
Law's user avatar
  • 141
3 votes

Debian 9: Backlight Brightness

Your system seems to have two interfaces for backlight control: backlight:acpi_video0 and backlight:radeon_bl0. And apparently the ACPI interface does not work, and/or causes problems when used ...
telcoM's user avatar
  • 114k
3 votes
Accepted

Brightness slider absent in Kali Linux

First check whether your laptop's back-light is detected or not by your OS kernel. The folder /sys/class/backlight should not be empty. If your laptop back-light manufacture is Intel edit the ...
Abhik Bose's user avatar
  • 2,136
3 votes

How can I change screen brightness in debian wheezy that installed in laptop?

After 3⅓ years of putting up with my last solution, I've finally got a better one. This is for LXDE, and other DEs based on Openbox. Install brightnessctl (which should also come with a brightness-...
wizzwizz4's user avatar
  • 722
3 votes

Why won't NVIDIA X Server Settings configuration save on reboot?

I have found that the method of adding lines to different x11 configs was ineffective in my case. As an alternative, I created a bash script that applies my settings automatically at login. Simply ...
4g0tt3nSou1's user avatar
3 votes

How do I turn off the backlight but leave the LCD on?

In the realm of laptops with Intel chipsets, there seems to be a division between the LVDS- and eDP-connected panels: eDP: echo 4 > /sys/class/backlight/intel_backlight/bl_power …should turn off ...
Wyatt Ward's user avatar
  • 4,122
3 votes

Why doesn't Linux support OLED screens brightness control?

For everybody hitting on this issue in 2021: The OLED support (or more general the support for eDP back-light control) is now merged into the Linux Kernel version 5.12-rc1. See the comment thread ...
Georg Friedrich's user avatar
3 votes
Accepted

Syntax error in sudoers file

In a comment @steeldriver pointed out that the 'Aliases' section of the sudoers manual said that the colons must be escaped with a \, and that worked. I had foolishly not bothered to read the manual, ...
Henrik supports the community's user avatar
2 votes

How to get brightness keys working inside openbox session?

Control brightness without sudo: Install brightnessctl and brightness-udev. Then use: brightnessctl set 10+ # to increase brightness by 10 brightnessctl set 10- # to decrease brightness by 10 ...
sanjeethBettatti's user avatar
2 votes

Screen brightness 100% with proprietary Nvidia driver

Complementing @semente answer: xbacklight +10 xbacklight -10 increase and decrease the backlight in steps of 10%. They can be associated to keys with xbindkeys by following the instructions here. ...
restrepo's user avatar
  • 121
2 votes

How to create keyboard shortcuts for screen brightness in Xubuntu (XFCE Ubuntu)?

XFCE backlight buttons First, install xbacklight $ sudo apt install xbacklight Then, check whether you have control over the backlight. $ xbacklight -1 $ xbacklight +5 Should these commands result ...
Serge Stroobandt's user avatar
2 votes

acpi_video0 brightness no effect on the screen

When we check the path /sys/class/backlight/, it will show us the folder name of ACPI containing /sys/class/backlight/acpi_video0/brightness file. However, after the change of kernel development, this ...
Jarurote Tippayachai's user avatar
2 votes

Brightness key issue on Lenovo P71

There are quite a few questions about "brightness keys don't work", and the usual debugging method applies: Find out with evtest and xev if the brightness keys produce the correct keysyms Find out ...
dirkt's user avatar
  • 33.4k
2 votes

Debian 9: Backlight Brightness

Open file /etc/default/grub and update the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet" To line: GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_backlight=video" Then run: update-grub reboot Possible ...
Mark Messa's user avatar
2 votes

Control screen brightness in i3

There's 2 xbacklight. In Archlinux (might be same in your distro), one comes in the package xorg-xbacklight sourced from https://xorg.freedesktop.org/ and the other is in the package acpilight sourced ...
JoL's user avatar
  • 5,019
2 votes

Control screen brightness in i3

my current solution: get the default display (ex DVI-0) xrandr -q | grep " connected " | cut -d' ' -f1 | head -n 1 add the following to ~/.config/i3/config replacing DVI-0 with whatever ...
Pavan Dayal's user avatar
2 votes

Why doesn't Linux support OLED screens brightness control?

If you are using gnome and you have tried all configurations to no avail, you can download the Soft Brightness extension. You can install this extension directly by opening the link in chrome and ...
David Kariuki's user avatar
2 votes
Accepted

How to write a script that edits brightness file in /sys/class/backlight/ideapad/?

/sys is a RAM based virtual file system, so changing the permission of its files will not survive a reboot. Option 1: Acpilight The only package solution that has ever worked for me. On some modern ...
Quasímodo's user avatar
  • 19.4k

Only top scored, non community-wiki answers of a minimum length are eligible