Hello ebutler, I tried your script but it did not work for me. Of course I changed the paths to match my login name konopka. The script did not modify the brightness even when I run it directly from command line (using sudo). However, I was not surprised by it because there is no command for xserver in the script.
My impression is that you attached only a starting fragment of the whole script. The only thing done by the script is to modify the content of the file $BACKLIGHT_DIR/brightness The value of the variable BRIGHTNESS is set in a bash session but it is forgot immediately and is not transferred to the xserver. What I would expect from such a script is to force the xserver to read the numerical value written to file $BACKLIGHT_DIR/brightness and then xserver (at least in my naive imagination) should finally change the screen brightness. However, I am not an expert and I do not know how to force the xserver to do such a thing. I checked "man xorg" and found that the entire manual page did not contain any string with "bright". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257766 Title: can not reduce brightness on HP ZBook To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1257766/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
