Install brightnessctl (which should also come with a brightness-udev package): sudo apt install brightnessctlĬheck whether you're in the video group: groups This is for LXDE, and other DEs based on Openbox. Scroll down the page to find how to change default screen brightness on a laptop.Īfter 3⅓ years of putting up with my last solution, I've finally got a better one. Installing Ubuntu on Samsung 5 (SSD+HDD) | LinuxMeerkat Rc.local runs when you restart your machine. In my Debian Wheezy setup, the value echo 7 > … sets brightness midway between dark and bright. # it's to make the laptop remember settings at power up.Įcho 7 > /sys/class/backlight/acpi_video0/brightnessĮcho 7 > /sys/class/backlight/acpi_video0/brightness to my rc.local file. # In order to enable or disable this script just change the execution # Make sure that the script will "exit 0" on success or any other # This script is executed at the end of each multiuser runlevel. If something goes wrong you can revert to the original file. I'll post the link at the end of my answer.Īll that was needed was to edit the file /etc/rc.local and add one line. My issue was my laptop couldn't remember brightness settings upon reboot. I found the screen brightness solution in a somewhat obscure article. Well, I like it quite dim, so I'll set it to 390 out of 7812: echo 390 | sudo tee /sys/class/backlight/intel_backlight/brightness So it's about half-brightness at the moment. I can read the value of this file: cat /sys/class/backlight/intel_backlight/brightnessģ906?! That's way more than the usual maximum of 15! Checking the max_brightness file: cat /sys/class/backlight/intel_backlight/max_brightness Now I've got the brightness file: /sys/class/backlight/intel_backlight/. Here's the process I used for my Toshiba Satellite C50-B-14Z: ls /sys/class/Īta_device devfreq i2c-adapter net scsi_device vcĪta_link dma ieee80211 pci_bus scsi_disk video4linuxĪta_port dmi input phy scsi_generic vtconsoleīacklight drm iommu powercap scsi_host watchdogīluetooth graphics memstick_host printer thermalĭevcoredump hwmon mmc_host rtc ls ls /sys/class/backlight/intel_backlight/Īctual_brightness brightness max_brightness subsystem uevent If xbrightness does not detect the backlight, you'll need to find the backlight file and manually set the backlight value yourself. Before doing this, I installed firmware-linux-nonfree I don't know whether that's affected anything.
0 Comments
Leave a Reply. |