Permanently set screen brightness

Bruno Martins bmomartins at gmail.com
Fri Mar 9 10:53:35 UTC 2012


On 03/09/2012 09:45 AM, Andras Simon wrote:
> 2012/3/9, Bruno Martins <bmomartins at gmail.com>:
>
>> I have that file, but setting that value to 10 is the same as going to
>> Screen GUI and scrolling the brightness to the maximum.
> Yes, that was the point. If you can set the brightness from the
> command line, you have a chance to automatically set it.
>
>> Value doesn't get fixed after restart. Maybe GNOME 3.x is overwriting
>> this setting.
> What do you mean by "doesn't get fixed"?
> /sys/class/backlight/acpi_video0/brightness is not an ordinary file;
> it gets recreated whenever you reboot. That's why I suggested
> setting it in /etc/rc.local. Of course, this will still not help if
> gnome indeed modifies the brightness. But then there's probably a
> gnome-specific way to set it once and for all.
> There may also be a way to make gnome run your script after startup.
>
> Andras
Yes, you're right.

By the way, that instruction should be put on another file since I don't
have a /etc/rc.local file (maybe systemd doesn't use it?) and even if I
create it, it will not work. I will investigate.

Thanks,

-- 

Bruno Martins

bruno at member.fsf.org <mailto:bruno at member.fsf.org>

(+351) 939 668 667

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120309/4e86f30c/attachment.html>


More information about the users mailing list