Re: Permanently set screen brightness
On 03/08/2012 04:04 PM, Aaron Konstam wrote: Hello list, Is there any file that I must edit which sets the default screen brightness to the maximum, so I don't need to change it every time I restart my computer? On Thu, 2012-03-08 at 10:06 +0100, Andras Simon wrote: echo 10 /sys/class/backlight/acpi_video0/brightness There is no such file structure on my Dell laptop Latitude D810. Where you have acpi_videos on a dell you have; dell_backlight. None of the files in that directory do what you are attempting to do. 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. Value doesn't get fixed after restart. Maybe GNOME 3.x is overwriting this setting. I think that in the past this was the file I was struggling with. :-) Any other tip? Best regards, -- Bruno Martins br...@member.fsf.org mailto:br...@member.fsf.org (+351) 939 668 667 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
2012/3/9, Bruno Martins bmomart...@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 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 03/09/2012 09:45 AM, Andras Simon wrote: 2012/3/9, Bruno Martins bmomart...@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 br...@member.fsf.org mailto:br...@member.fsf.org (+351) 939 668 667 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 09/03/12 10:53, Bruno Martins wrote: 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, From the release notes: 3.2.4. rc.local no longer packaged The /etc/rc.d/rc.local local customization script is no longer included by default. Administrators who need this functionality merely have to create this file, make it executable, and it will run on boot. -- Regards, Frank Jack of all, fubars -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 03/09/2012 10:57 AM, Frank Murphy wrote: On 09/03/12 10:53, Bruno Martins wrote: 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, From the release notes: 3.2.4. rc.local no longer packaged The /etc/rc.d/rc.local local customization script is no longer included by default. Administrators who need this functionality merely have to create this file, make it executable, and it will run on boot. That explains everything, since my kernel version is more recent than that one. :-) [skorzen@g62 rc.d]$ uname -r 3.2.9-2.fc16.x86_64 But it also didn't work. [skorzen@g62 ~]$ ls -l /etc/rc.d/rc.local -rwxr-xr-x. 1 root root 54 Mar 9 10:07 /etc/rc.d/rc.local [skorzen@g62 ~]$ cat /etc/rc.d/rc.local echo 10 /sys/class/backlight/acpi_video0/brightness Best regards, -- Bruno Martins br...@member.fsf.org mailto:br...@member.fsf.org (+351) 939 668 667 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 09/03/12 11:53, Bruno Martins wrote: Have a browse here: http://askubuntu.com/questions/3841/desktop-doesnt-remember-brightness-settings-after-a-reboot -- Regards, Frank Jack of all, fubars -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 03/09/2012 12:05 PM, Frank Murphy wrote: On 09/03/12 11:53, Bruno Martins wrote: Have a browse here: http://askubuntu.com/questions/3841/desktop-doesnt-remember-brightness-settings-after-a-reboot It worked, mate. Thanks a lot. Since this is a related topic, the laptop function keys for setting brightness up and down are the only ones not working. I have tested these keys with program 'xev' but key pressing is not recognized. Any ideas? -- Bruno Martins br...@member.fsf.org mailto:br...@member.fsf.org (+351) 939 668 667 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 09/03/12 12:20, Bruno Martins wrote: Since this is a related topic, the laptop function keys for setting brightness up and down are the only ones not working. I have tested these keys with program 'xev' but key pressing is not recognized. Any ideas? Sorry no, not really a laptop person. -- Regards, Frank Jack of all, fubars -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 09/03/12 12:20, Bruno Martins wrote: I have tested these keys with program 'xev' but key pressing is not recognized. Any ideas? Maybe? https://fedoraproject.org/wiki/Common_F16_bugs#bash-etc-shells -- Regards, Frank Jack of all, fubars -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On Fri, 2012-03-09 at 09:07 +, Bruno Martins wrote: On 03/08/2012 04:04 PM, Aaron Konstam wrote: Hello list, Is there any file that I must edit which sets the default screen brightness to the maximum, so I don't need to change it every time I restart my computer? On Thu, 2012-03-08 at 10:06 +0100, Andras Simon wrote: echo 10 /sys/class/backlight/acpi_video0/brightness There is no such file structure on my Dell laptop Latitude D810. Where you have acpi_videos on a dell you have; dell_backlight. None of the files in that directory do what you are attempting to do. 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. Value doesn't get fixed after restart. Maybe GNOME 3.x is overwriting this setting. I think that in the past this was the file I was struggling with. :-) Any other tip? What program do you refer to as the Screen GUI and where is it found? -- === Q: What's the difference between a JAP and a baby elephant? A: About 10 pounds. Q: How do you make them the same? A: Force feed the elephant. === Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On Fri, 2012-03-09 at 12:22 +, Frank Murphy wrote: On 09/03/12 12:20, Bruno Martins wrote: Since this is a related topic, the laptop function keys for setting brightness up and down are the only ones not working. I have tested these keys with program 'xev' but key pressing is not recognized. Any ideas? On a laptop having the up and down arrow controls the brightness only when you hold down the FN (function) key at the same time. Are you doing that? -- === A homeowner's reach should exceed his grasp, or what's a weekend for? === Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 03/09/2012 04:05 PM, Aaron Konstam wrote: On Fri, 2012-03-09 at 09:07 +, Bruno Martins wrote: On 03/08/2012 04:04 PM, Aaron Konstam wrote: Hello list, Is there any file that I must edit which sets the default screen brightness to the maximum, so I don't need to change it every time I restart my computer? On Thu, 2012-03-08 at 10:06 +0100, Andras Simon wrote: echo 10 /sys/class/backlight/acpi_video0/brightness There is no such file structure on my Dell laptop Latitude D810. Where you have acpi_videos on a dell you have; dell_backlight. None of the files in that directory do what you are attempting to do. 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. Value doesn't get fixed after restart. Maybe GNOME 3.x is overwriting this setting. I think that in the past this was the file I was struggling with. :-) Any other tip? What program do you refer to as the Screen GUI and where is it found? Literally, the Screen icon that appears when you press Windows button (or go to Activities) and type screen. Can you reach it? I was not able to find a .desktop file that points to that icon, and its binary. Best regards, -- Bruno Martins br...@member.fsf.org mailto:br...@member.fsf.org (+351) 939 668 667 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On Wed, Mar 7, 2012 at 4:57 PM, Joe Zeff j...@zeff.us wrote: On 03/07/2012 12:54 AM, Bruno Martins wrote: This problem is happening since F15's kernel version (in F14 this didn't happen). It's a problem with the kernel version, because I have the same problem on other distros on the same computer. Are all of the distros using the exact same kernel version? If not, it's not a kernel issue. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.**org/mailman/listinfo/usershttps://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org Not exactly the same. What I should had write was it's a problem with _recent_ kernel versions, not one specifically. I remember that in the past I was struggling with some files to make this work, and it almost worked. I just don't remember the solution and am asking here if anyone can help me. ;-) Best regards, Bruno -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
2012/3/7, Bruno Martins bmomart...@gmail.com: Hello list, Is there any file that I must edit which sets the default screen brightness to the maximum, so I don't need to change it every time I restart my computer? If something like echo 10 /sys/class/backlight/acpi_video0/brightness works for you (as root), then you could put it in /etc/rc.local. Hopefully your gnome/kde/whatever will not overwrite it. (I'm not sure about 10 beeing tha maximum. To find the right value, adjust brightness to your liking and then cat /sys/class/backlight/acpi_video0/brightness) Andras -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
Hello list, Is there any file that I must edit which sets the default screen brightness to the maximum, so I don't need to change it every time I restart my computer? On Thu, 2012-03-08 at 10:06 +0100, Andras Simon wrote: echo 10 /sys/class/backlight/acpi_video0/brightness There is no such file structure on my Dell laptop Latitude D810. Where you have acpi_videos on a dell you have; dell_backlight. None of the files in that directory do what you are attempting to do. -- === Q: Know what the difference between your latest project and putting wings on an elephant is? A: Who knows? The elephant *might* fly, heh, heh... === Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Permanently set screen brightness
Hello list, Is there any file that I must edit which sets the default screen brightness to the maximum, so I don't need to change it every time I restart my computer? This problem is happening since F15's kernel version (in F14 this didn't happen). It's a problem with the kernel version, because I have the same problem on other distros on the same computer. Best regards, Bruno -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Permanently set screen brightness
On 03/07/2012 12:54 AM, Bruno Martins wrote: This problem is happening since F15's kernel version (in F14 this didn't happen). It's a problem with the kernel version, because I have the same problem on other distros on the same computer. Are all of the distros using the exact same kernel version? If not, it's not a kernel issue. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org