PDA

View Full Version : Monitor Brightness depending on Time of Day?


Rhyok
January 26th, 2008, 06:33 PM
Hello,
I was just wondering if there was some way to dynamically set my brightness according to what time of day it is.
For example, if I am using my computer at, let's say, 9:00 PM, I don't need to have the screen as bright as it usually is.
How would I go about doing this?

Thanks,
rhyok

jpkotta
January 27th, 2008, 12:47 AM
It depends. If you have a laptop, maybe. If you have a desktop, probably not.

nazeemlinux
January 27th, 2008, 04:10 AM
Are you actually saying these words? :S

Lord Illidan
January 27th, 2008, 04:21 AM
I never did it myself, but if you can configure brightness from a terminal, you can probably set up a cron script that will do it.

jpkotta
January 27th, 2008, 07:17 PM
I suppose I should elaborate.

I have never seen a backlight driver for an external monitor. Not to say they are impossible. But the driver needs to be written and the hardware has to support it.

Laptops usually do have a way to change the brightness beyond whatever the manual controls are. Unfortunately for you, sometimes this just means extra ways for hardware to control it. For instance, my laptop's (Dell D610) backlight is under control of the BIOS. I can't change the settings in software. It simply changes from one value to another when I go from battery power to ac power.

There is a framework in the Linux kernel for backlights. They are usually exposed to userspace in /sys/class/backlight. If this directory is empty, there is probably no backlight support.