#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
echo 0 > /sys/class/backlight/intel_backlight/brightness
# By default this script does nothing.
exit 0
Using the above script from shutdown to boot I am now able to adjusted my
screen-brightness after login. From stand by I added the following script to
/etc/pm/sleep.d (create new file and make it executable)
#!/bin/sh
# to fix backlight issues on resume
case "${1}" in
resume)
echo 0 > /sys/class/backlight/intel_backlight/brightness
;;
esac
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954661
Title:
backlight brightness not adjustable by default on Dell XPS 13
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/954661/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs