Every time I reboot my machine the brightness goes back to 100% in Gnome. I wish it would keep the last setting. Is there anyway?
feedback
|
|
This is supposed to be configurable in the energy options, set the brightness to the desired level and it will always be used. If you use a laptop you will also need to configure the level for battery mode as well... I found that Gnome has some issues about lcd panel brightness, e.g. if I run on battery mode and set the brightness manually to a given level and leave the laptop unattended for 10 seconds it will go back to the preset brightness when I take control back. Same goes when on A/C mode except it takes longer so goes unnoticed more easily. I believe all those settings should be saved somewhere and restored - at least for A/C mode. EDIT: For gnome3 this does not work (at least for me). | |||||||||
feedback
|
|
The file /etc/rc.local should looks like:
Not like in a first answer. | |||||
feedback
|
|
Here is a quick workaround for that :-
edit the /etc/rc.local file by typing
sudo gedit /etc/rc.local in terminal
comment out the
this is necessary otherise it wont work ! after this add the following line in the file
such that it looks like this :-
replace 0 with the required brightness value ( ranges from 0 to 10 ) save the file and exit. now try testing the setting by typing this command in terminal
if the brightness changes to minimum , you have got it right ! reboot to see the changes. Note :- you may have to replace acpi_video0 with your device code if you have a different one ( its mostly acpi_video0 ). Most of u wont need to do so. | |||||||
feedback
|
|
This function, the backlight control, is dependent on your bios and kernel version. Try these four things. Kernel (boot) optionsWhen you boot, at the grub screen, hit e to edit. To the kernel line add Intel - As you can see, you may need to google search for your settings.
If that works, edit
Edit the "GRUB_CMDLINE_LINUX_DEFAULT" line so it looks like this
Save your edit, update grub
Command lineIf that does not work, you can try to manually set the brightness. Note: Path may vary with hardware / kernel version, may be
The output of that command varies a bit with hardware, 1 -> 10 , 1 -> 12 , 1 -> 100 ??? Choose a value and set it (choose the value for your hardware).
If that works, add it to
Add in your setting above "exit 0"
xbacklightYou can also try
You then adjust with the command line
Again, add that to
Add in, above "exit 0"
setpciYou can try to set your brightness with The general syntax is
You identify your pci bus address with
Example
If you get your setting wrong, most likely you will just loose your display, and have to reboot. As this is a hardware setting, you really need to identify your hardware and research the settings first. Examples Intel - https://bbs.archlinux.org/viewtopic.php?id=74914 Toshiba - http://www.linlap.com/wiki/toshiba+satellite+t130 Acer extensa - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/518002 | ||||
|
feedback
|
protected by Community♦ Nov 1 '11 at 19:26
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.
