34
votes
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 ...
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 ...
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 ...
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.
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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%-
...
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, ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ...
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, ...
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
...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
brightness × 155debian × 29
backlight × 23
linux × 21
nvidia × 13
laptop × 13
ubuntu × 12
fedora × 11
monitors × 11
arch-linux × 10
linux-mint × 10
display × 10
keyboard-shortcuts × 9
gnome × 8
acpi × 8
keyboard × 7
xrandr × 7
xfce × 6
power-management × 6
intel-graphics × 6
hardware × 5
amd-graphics × 5
scripting × 4
x11 × 4
drivers × 4