UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
Well, maybe it's an idiosyncrasy with my HP 2000, dunno.
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".
I have 2 displays, so I had to experiment to determine which one was the laptop display (acpi_video0). I put that last `echo` command into my /etc/rc.local and it finally works on reboot!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.