Brightness/Dim setting lost on reboot
Problem: I can dim my screen using System Settings > Brightness & lock, and sliding the Brightness slider. That works. The problem is that the setting is lost when I reboot and the brightness goes to max. How can I fix this?
I have a HP 2000 Notebook PC running Ubuntu 14.04.3. I have both Unity and Cinnamon desktops. |
Bad joke using this light icon...
:DHi. Do you have a Fn key for that? You could try setting up Code:
xbacklight Code:
xrandr |
Thanks! The xbacklight did nothing and the /sys/class/backlight/ didn't seem to do anything. I didn't try the `setpci -s 00:02.0 F4.B=80` or `xgamma -gamma .75` suggestions. The xrandr did work!
I tried setting this up in rc.local for boot time, but it doesn't work yet. the `xrandr -q` command produces no output in rc.local. My guess is that the X system is not up yet. Do you know how to check for this? I've done some searching (and will continue), but I've turned up nothing so far. |
I did not play with /etc/rc.local much after failing my first couple of attempts... vi /etc/init.d/myscript looks promising tho? I used a GUI "System Settings" \ "Startup and Shutdown (Autostart, Service Manager, Session Management)" and it worked fine for me. All tho in KDE?
|
I'm running 14.04.3 on an old ThinkPad and Fn + Home raises and lowers brightness levels on mine, and sticks with reboots.
|
Off topic:
I've got a T20 and T420 both dirt cheep, think' ;) I like the T20 more? :hattip:
|
Quote:
Turns out the xrandr doesn't work in a boot script because it never finds a display. Even after the system is up and running with a desktop showing. I tested this by having rc.local launch a script in the background that runs the `xrandr -q` command every 10 seconds for 5 minutes. I can tail the log it creates after the system is up and I've logged in and started a terminal session. It just keeps giving the message "no display found". The other suggestion from that link did work. Code:
$ ls /sys/class/backlight/ Thanks for the help on this one! |
All times are GMT -5. The time now is 04:16 AM. |