SwirlyMyself

2006-03-30T12:58:01+00:00

Analog Clock for Gnome, Take II

A while ago, I made an analog clock for the gnomepanel, using ruby. It worked fined, but I missed the calender functionality of the standard Gnome panel clock. So today, I crudely patched the clock applet from gnome-panel to display a relatively nice clock, using cairo:

I have a patch against gnome-panel 2.12.3, and if you want, I can give you my locally built debian package.

Comments

Feature request: Does the clock properly skew, like any reputable analog clock?
#1 Gunnar Wolf (Homepage) am 2006-04-01T00:17:51+00:00
Well, it's accuracy is limited by the fact the the gobject callback is called every 1000ms, but that does not control _when_ during that second it is called...

I wonder if it makes sense to call the handler every 40ms, and do nothing if we are still in the same second. Or maybe ask the gobject guys to include a callback that is called ASAP after the beginning of a new second.
#2 Joachim Breitner (Homepage) am 2006-04-01T09:32:47+00:00
Wie geht's Joachim,

I am interested in your clock mod, I use Ubuntu 6.06 and would like to try it, can you send me your .deb package?

Also, I am sick of the american date format, in Australia we use the day/month/year format, can that be changed?

Regards,

Kev :)
#3 Kev am 2006-08-15T18:39:52+00:00
Hi Kev,

I don't have an up-to-date package anymore , I was too lazy to adopt the patch to every package. Guess you have to try to use the patch linked in the post and see if you can make use of that.

For the date format, did you set your locale right, to EN_au or whatever you would use?

Greetings,
Joachim
#4 Joachim Breitner (Homepage) am 2006-08-16T08:13:42+00:00
Hi Joachim,

just FYI, I've just ported the patch to 2.18.1, which is available <a href="http://me.abelcheung.org/2007/10/12/gnome-panel-analog-clock/">here</a>.
Anyway, do you have any plan to make it a standalone package, so that people don't need to get gnome-panel source in order to compile and install analog clock?
#5 Abel Cheung (Homepage) am 2007-10-12T09:41:57+00:00
Hi. It seemed you forgot to paste the link to the patch, can you paste it again?

Outside of gnome-panel would mean ripping out some code (especially the evolution integration). I don’t think I have the time for that. But if you do it and it works nice, I’d upload that to debian for you.
#6 Joachim Breitner (Homepage) am 2007-10-12T10:31:40+00:00
Hmm, I did post the link, but was mysteriously stripped. Does the comment form accept HTML? Anyway, it is available from my site:

http://me.abelcheung.org/wp-content/uploads/2007/10/gnome-panel-2181-analog-clock.patch

The most work required to making it standalone would be syncing with official source. While doing it once is fun, doing it everytime a new GNOME release comes is tedious. I also wonder if I have the guts for that, that's why I'm asking you first :-D

Or just fork it once and go along a different path?
#7 Abel Cheung (Homepage) am 2007-10-12T17:37:53+00:00
Looks like there is some rework of clock applet again in GNOME 2.20 (especially a new timezone popup is there), so I can't work on it until my distro is updated.
#8 Abel Cheung (Homepage) am 2007-10-14T11:21:41+00:00
Hi !

Wollte jetzt auch gerne meine Uhr auf analog umstellen und Du warst die einzig auffindbare Lösung.
Wär nett wenn Du mir das DEB-Paket zuschicken könntest.

Vielen Dank im Voraus
Rolf
#9 Rolf (Homepage) am 2008-03-20T08:11:59+00:00
Hallo,

danke für dein Interesse. Mein Code ist allerdings einige GNOME-Releases alt, ich denke nicht dass er mit den aktuellen Paketen funktioniert. Also, wenn du nicht selbst C beherrscht und den verlinkten Patch mit dem aktuellen Code zusammenfügen willst, wirst du nicht viel davon haben.

Vielleicht fragst du auch nochmal hier nach: http://bugzilla.gnome.org/show_bug.cgi?id=101688

Gruß,
Joachim
#10 Joachim Breitner (Homepage) am 2008-03-21T12:19:57+00:00

Have something to say? You can post a comment by sending an e-Mail to me at <mail@joachim-breitner.de>, and I will include it here.