maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2007 / Maemo 3 / Bora (https://talk.maemo.org/forumdisplay.php?f=23)
-   -   clock (https://talk.maemo.org/showthread.php?t=8777)

twaelti 2007-08-25 18:40

Re: clock
 
Quote:

Originally Posted by aflegg (Post 71087)
Looks good. Have you tried stracing it or running it overnight on batteries to see what it does to your battery life?
Hopefully, looking at the screenshot it's sleeping for a minute before updating the display...
Edit: duh, it's got a seconds display, so it won't be sleeping long at all. You probably want to remove that, or at least make it not update the display, and sleep for much longer periods when the screen is blanked or the application isn't in the foreground. There are DBUS events for both of these.

Thanks for the feedback. I do indeed plan to remove the seconds display (only makes one nervous :-) I'll try to use whatever is available in the D-Bus stuff for Python - however, I'm still an absolute beginner with the maemo and linux plattform.
BTW: Got the osso.Context running - this stuff needs an initialized main loop first, otherwise it will fail... however, now I'm stuck with a not-yet working repeating call to device.display_blanking_pause(). Step by step...

Tu13es 2007-08-25 19:49

Re: clock
 
Sweet, finally someone making some ground on this!

I do like the earth view, but it would also be nice to enable a full-screen clock, i.e an alarm clock. I envision plugging in my n800 at night to use as my alarm clock so I suppose battery life isn't much of an issue.

If you'd like more feature suggestions, I'd be glad to add some more.

:)

BruceL 2007-08-25 22:01

Re: clock
 
[QUOTE=twaelti;70731]maemoClock: My first application for the N800, my first application in Python

A clock for the N800, including a day/night world map.

Twaelti, COOL! I don't really need a clock, but I want that just because it looks great!

Bruce

HeebieJeebie 2007-09-01 22:25

Re: clock
 
Any more progress on this, twaelti? I've been following this thread with great interest as I would absolutely love to have a full screen clock with large letters to consult in the middle of the night as I am blind as a bat without my glasses and can't read the default applet without fumbling for my specs. :p

Thanks for taking this on!

twaelti 2007-09-03 22:27

Re: clock
 
Quote:

Originally Posted by HeebieJeebie (Post 72706)
Any more progress on this, twaelti? I've been following this thread with great interest as I would absolutely love to have a full screen clock with large letters to consult in the middle of the night as I am blind as a bat without my glasses and can't read the default applet without fumbling for my specs. :p

I've now added a full screen clock for the blind bats ;)
You will be able to switch between the two settings with a touch of the screen (and I experimented with gconf to store/reload this setting between sessions)
Once I get around to build an installer package (a LONG way to go), I will make a beta available.

Khertan 2007-09-04 07:58

Re: clock
 
Instead of store this in gconf, i think it ll be better to store in it in the user home, like many applications. Ex : '/home/user/.maemoclock/conf.conf'
So no dependancy from gconf.

twaelti 2007-09-04 12:09

Re: clock
 
Quote:

Originally Posted by Khertan (Post 73085)
Instead of store this in gconf, i think it ll be better to store in it in the user home, like many applications. Ex : '/home/user/.maemoclock/conf.conf'
So no dependancy from gconf.

I'm not sure about this, as I have virtually no knowledge about Linux/Gnome. However, from reading stuff like The Case for Gconf or Introduction to the GConf library, I thought that using gconf is "the future" :)
(Besides, it was very easy to implement, only took a few minutes....grin)

twaelti 2007-09-12 14:02

Re: clock
 
Alpha preview of mClock now available, see post in the "Packaging" thread.

HeebieJeebie 2007-09-13 00:02

Re: clock
 
Ohboyohboyohboy! On my way to check it out now..... :)


All times are GMT. The time now is 12:37.

vBulletin® Version 3.8.8