Monthly Archives: January 2020

Screen brightness control on i3wm for Lenovo X240 (Ubuntu)

First ensure that you have the right permissions to write to the device by adding a new rule for udev (create a new file like /etc/udev/rules.d/99-backlight) with these lines: ACTION==”add”, SUBSYSTEM==”backlight”, RUN+=”/bin/chgrp video /sys/class/backlight/%k/brightness” ACTION==”add”, SUBSYSTEM==”backlight”, RUN+=”/bin/chmod g+w /sys/class/backlight/%k/brightness” ACTION==”add”, … Continue reading

Posted in Uncategorized | Leave a comment

How to set the brightness of your monitor in Ubuntu 20.04

xrandr –output <output> –brightness 0.5 Use xrandr –listmonitors to get the name of your monitor From: https://www.reddit.com/r/i3wm/comments/cd69ew/i3_and_brightness_on_ubuntu_1904/ets6ee2/  

Posted in Uncategorized | Leave a comment