xubuntu - No `rc.local` in 16.10, so how can I add a command to set brightness on boot? - Ask Ubuntu


i solved problem adding command:

echo x > /sys/class/backlight/intel_backlight/brightness   

to /etc/rc.local on ubuntu 14.04 . there no /etc/rc.local on ubuntu 16.10 . don't know how solve now. there new script replaces rc.local can enter command?

the standard way make permanent changes access points (they not files) in /sys use sysfsutils rather /etc/rc.local. package not installed default in 16.10, first do:

sudo apt install sysfsutils 

now edit file /etc/sysfs.conf, example:

sudo nano /etc/sysfs.conf 

and add line end of it:

class/backlight/intel_backlight/brightness = x 

this same echo command.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User