Screen Brightness?

Asked by AbuMaia

Would it be possible to add a feature so the user can set an option where the app will slowly bring up the screen brightness to a specified level after a specified amount of time? Say the alarm is set to go off at 9am, the screen (not monitor) is off (black), and the preferences are set to bring the screen up to 100% in 20 minutes. Then at 8:40am, the alarm clock will start to increase the screen brightness 1% every 12 seconds before the sound plays at 9am. Is this doable?

Question information

Language:
English Edit question
Status:
Solved
For:
Alarm Clock Applet Edit question
Assignee:
No assignee Edit question
Solved by:
AbuMaia
Solved:
Last query:
Last reply:
Revision history for this message
Fernando Ossandon (ferossan) said :
#1

May I ask what for do you want a feature like that?
Any way, perhaps is easier write a script executed by Alarm Clock a certain time.
The script could increase the brightness a certain amount, wait some minutes, increase again another amount the brightness and so on until full brightness.
Maybe if you disclose more info about what is the idea behind the question, some one could give you a better answer.

Revision history for this message
AbuMaia (scarabdrowner) said :
#2

Have you heard of a Light Clock? The purpose is to simulate one of
these, which are quite expensive:
http://www.biobrite.com/products.php?category=SunRise+Clocks
http://blog.onlineclock.net/wake-yourself-up-with-light/

As for writing a script for it, I have tried, but not being a programmer
I wasn't able to figure it out.

On 07/25/2010 10:05 AM, Fernando Ossandon wrote:
> Your question #118557 on Alarm Clock changed:
> https://answers.launchpad.net/alarm-clock/+question/118557
>
> Fernando Ossandon posted a new comment:
> May I ask what for do you want a feature like that?
> Any way, perhaps is easier write a script executed by Alarm Clock a certain time.
> The script could increase the brightness a certain amount, wait some minutes, increase again another amount the brightness and so on until full brightness.
> Maybe if you disclose more info about what is the idea behind the question, some one could give you a better answer.
>

Revision history for this message
Fernando Ossandon (ferossan) said :
#3

Ok, got the idea AbuMaia, but I'm not sure if a monitor screen will work fine as a proper "table light".
If your are interested in the color temperature of the monitor (like the "ZZZ Glasses" appearing in the page you pointed) maybe you can try RedShift (http://jonls.dk/redshift/) or F.Lux (http://kilianvalkhof.com/2010/linux/flux-for-ubuntu/).
Any of these will adjusts the color temperature of the monitor according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt. I'm using RedShift and works very well.

Revision history for this message
AbuMaia (scarabdrowner) said :
#4

Thanks Fernando, but that's not quite what I'm talking about. I already
have and use RedShift, it's a nice program that makes looking at the
monitor easier on the eyes.

What I'm talking about is something that will automatically vary the
*brightness*, not color temperature, of the monitor. All the way from
0% off to 100% bright, in a controllable manner.

On 07/28/2010 07:47 PM, Fernando Ossandon wrote:
> Your question #118557 on Alarm Clock changed:
> https://answers.launchpad.net/alarm-clock/+question/118557
>
> Fernando Ossandon posted a new comment:
> Ok, got the idea AbuMaia, but I'm not sure if a monitor screen will work fine as a proper "table light".
> If your are interested in the color temperature of the monitor (like the "ZZZ Glasses" appearing in the page you pointed) maybe you can try RedShift (http://jonls.dk/redshift/) or F.Lux (http://kilianvalkhof.com/2010/linux/flux-for-ubuntu/).
> Any of these will adjusts the color temperature of the monitor according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt. I'm using RedShift and works very well.
>

Revision history for this message
AbuMaia (scarabdrowner) said :
#5

Ok, I managed to get a working script set up that will activate the screen and slowly increase the brightness. I saved it to my desktop as "brighter". To activate it in alarm-clock, how do I need to call it? "~/Desktop/brighter" works properly in the terminal, but it didn't work in alarm-clock.

Revision history for this message
AbuMaia (scarabdrowner) said :
#6

Well, I can't find an "edit" button anywhere, so I guess it's a new comment then. I got it worked out, it needs to be the full path, no "~" allowed.