OK
Pages: 1 2 3
Rating:
8.81
Thread Listing » AWN Applets
[Applet] Digital Clock with Date
#12861 by isaac_j87 (1.0000) posted on 12:39pm Monday, October 08th, 2007
ryancr said:
Its a little hackish, but is working much better than before.
[Q]



You got that right. I'm noticing some of the "oddities" that moonbeam was talking about. Nothing that too distracting, but they're there.
[Q]



I think it's interesting that it generates a new image every minute.
[Q]

--
-Isaac
Score: 0 points
Any particular reason?
#12863 by haytjes (1.0000) posted on 1:20pm Monday, October 08th, 2007
( no avatar )
Thanks for the applet, I like it very much. Now I have changed a little bit to the code, because I like it this way much more. I will just post the python source here, but the way I did it is hackish. I just wanted it to work in a minimal of time. So I'm posting it, because other can look to it and see how it is possible to customize it.
[Q]



screenshot:
[Q]




--
http://onlinedev.blogspot.com/

*Edited at 1:20pm, 10/08/07
Score: 0 points
Any particular reason?
#12864 by Thoop (0.2307) posted on 1:22pm Monday, October 08th, 2007
( no avatar )
<3
[Q]

Score: 0 points
Any particular reason?
#12870 by ryancr (1.0000) posted on 2:49pm Monday, October 08th, 2007
haytjes said:
Thanks for the applet, I like it very much. Now I have changed a little bit to the code, because I like it this way much more. I will just post the python source here, but the way I did it is hackish. I just wanted it to work in a minimal of time. So I'm posting it, because other can look to it and see how it is possible to customize it.
[Q]



Hey, thats how I was originally trying to do it but it kept getting cut off, now I see what I was doing wrong, thanks.
[Q]

Score: 0 points
Any particular reason?
#12880 by ryancr (1.0000) posted on 6:06pm Monday, October 08th, 2007
Updated.
[Q]



Fixed scaling.
Can select 12 or 24 hour clock.
Can select font face.
[Q]



Colors are in preference panel but are not functional yet.
[Q]



Link updated in first post.
[Q]

Score: 0 points
Any particular reason?
#12883 by ryancr (1.0000) posted on 7:48pm Monday, October 08th, 2007
Update.
[Q]



Just added Calendar in awn dialog popup when clicked.
[Q]



Score: 0 points
Any particular reason?
#12884 by isaac_j87 (1.0000) posted on 8:42pm Monday, October 08th, 2007
ryancr said:
Just added Calendar in awn dialog popup when clicked.
[Q]



Looks great! Nice work man.
[Q]

--
-Isaac
Score: 0 points
Any particular reason?
#12888 by ryancr (1.0000) posted on 9:45pm Monday, October 08th, 2007
isaac_j87 said:
Looks great! Nice work man.
[Q]



Thanks.
[Q]



Updated again, color selection works now.
[Q]

Score: 0 points
Any particular reason?
#12889 by ryancr (1.0000) posted on 10:23pm Monday, October 08th, 2007
Updated.
[Q]



Added 'Adjust Date & Time' to the right click menu
[Q]

Score: 0 points
Any particular reason?
#12890 by isaac_j87 (1.0000) posted on 10:59pm Monday, October 08th, 2007
ryancr said:
Updated.
[Q]



Damn ryancr! I can't keep up with the updates ;)
[Q]

--
-Isaac
Score: 0 points
Any particular reason?
#12893 by mosburger (1.0000) posted on 4:09am Tuesday, October 09th, 2007
I'm loving this project, dude. The calendar is sweet.
[Q]



Any idea why I'm seeing this error when I try to open the Preferences dialog?
[Q]



(digitalClock.py:27172): libglade-WARNING **: could not find glade file '/home/mdesjardins/downloads/PyClock-0.1.0/.config/awn/applets/digitalClock/pref.glade'
Traceback (most recent call last):
File "/home/mdesjardins/.config/awn/applets/digitalClock/digitalClock.py", line 103, in showPref
self.wTree = gtk.glade.XML(self.glade_path)
RuntimeError: could not create GladeXML object
[Q]
Score: 0 points
Any particular reason?
#12896 by ryancr (1.0000) posted on 8:07am Tuesday, October 09th, 2007
mosburger said:
I'm loving this project, dude. The calendar is sweet.
[Q]



Thanks.
[Q]



mosburger said:
Any idea why I'm seeing this error when I try to open the Preferences dialog?
[Q]



Well I am getting the location of the glade file based on the current working directory using os.getcwd()
[Q]



Maybe if you could toss a 'print os.getcwd()' in the init of desktopClock.py we could see if yours is different. If so I may have to take another approach.
[Q]



*Edited at 8:10am, 10/09/07
Score: 0 points
Any particular reason?
#12897 by mosburger (1.0000) posted on 8:13am Tuesday, October 09th, 2007
Heh - nevermind. It seems to work fine now that I restarted AWN. Hrm...
[Q]



I *did* notice a weird behavior with it while it runs. It looks like when it refreshes itself, theres a second or so where the reflection isn't right. Instead of reflecting the image upside-down (as it should be), it briefly appears rightside-up?
[Q]
Score: 0 points
Any particular reason?
#12898 by ryancr (1.0000) posted on 8:13am Tuesday, October 09th, 2007
Ok I take that all back, I just over looked something simple.
[Q]



Updated
[Q]

Score: 0 points
Any particular reason?
#12899 by ryancr (1.0000) posted on 8:14am Tuesday, October 09th, 2007
mosburger said:
I *did* notice a weird behavior with it while it runs. It looks like when it refreshes itself, theres a second or so where the reflection isn't right. Instead of reflecting the image upside-down (as it should be), it briefly appears rightside-up?
[Q]



Yeah I noticed that to, but it only seems random here. I couldn't track down what it was.
[Q]



My best guess so far is if the font face makes the icon to tall and the date its cut off on the bottom it seems to do it more often, but that could just be coincidence.
[Q]



*Edited at 8:15am, 10/09/07
Score: 0 points
Any particular reason?
#12901 by isaac_j87 (1.0000) posted on 8:16am Tuesday, October 09th, 2007
ryancr said:
Yeah I noticed that to, but it only seems random here. I couldn't track down what it was.
[Q]



I think that might be one of the "oddities" moonbeam was referring to. I notice it as well...plus I've had the entire applet glitch on me.
[Q]



--
-Isaac
Score: 0 points
Any particular reason?
#12902 by ryancr (1.0000) posted on 8:17am Tuesday, October 09th, 2007
Hisaac_j87 said:
I think that might be one of the "oddities" moonbeam was referring to. I notice it as well...plus I've had the entire applet glitch on me.
[Q]



Yeah it very well could be, hopefully Neil gets that other method working for python applets, then we should be all good.
[Q]

Score: 0 points
Any particular reason?
#13043 by ryancr (1.0000) posted on 9:29am Wednesday, October 10th, 2007
Updated.
[Q]



Just a little fix for vertical scaling, for people that run a smaller dock size.
[Q]

Score: 0 points
Any particular reason?
#13127 by ryancr (1.0000) posted on 10:03pm Wednesday, October 10th, 2007
Updated.
[Q]



Can now copy date or time to the clipboard. (just like the current gnome panel clock)
[Q]

Score: 0 points
Any particular reason?
#13232 by benzons (0.1596) posted on 6:18am Friday, October 12th, 2007
( no avatar )
Ryanrc theres some strange problem i cant change the clock to 24 hour i can only se 12 hours not 24 any where :| its just in pm format straight away
[Q]

Score: 0 points
Any particular reason?
#13233 by moonbeam (1.0000) posted on 6:27am Friday, October 12th, 2007
( no avatar )
ryancr said:
Yeah it very well could be, hopefully Neil gets that other method working for python applets, then we should be all good.
[Q]



It still happens with the "other" method. It just seems not as much. Awn system monitor still does it.
[Q]


Score: 0 points
Any particular reason?
#13258 by ryancr (1.0000) posted on 9:13am Friday, October 12th, 2007
benzons said:
Ryanrc theres some strange problem i cant change the clock to 24 hour i can only se 12 hours not 24 any where :| its just in pm format straight away
[Q]



There should be a check box for 12 hour clock in the preferences window. If its checked its set to 12 hour clock, if not, its a 24 hour clock.
[Q]

Score: 0 points
Any particular reason?
#13283 by benzons (0.1596) posted on 11:38am Friday, October 12th, 2007
( no avatar )
ryancr, tryed to check the box but the check mark dissapers and i cant remove it in any way aww
[Q]



Got it now had to check and uncheck it :|
[Q]



Minor bug tho
[Q]

Score: 0 points
Any particular reason?
#13290 by ryancr (1.0000) posted on 12:28pm Friday, October 12th, 2007
benzons said:
Minor bug tho
[Q]



Yeah just noticed this as well, I'll fix it this evening.
[Q]

Score: 0 points
Any particular reason?
#13346 by ryancr (1.0000) posted on 10:53pm Friday, October 12th, 2007
Updated.
[Q]



Added double click to dates on calendar to launch Evolution - like gnome-panel clock applet.
[Q]

Score: 0 points
Any particular reason?
#13392 by c.atterly (0.9959) posted on 9:27am Saturday, October 13th, 2007
Thanks for this great applet, ryancr!
[Q]



haytjes said:
screenshot:
[Q]



An option to display it like this would be really nice. With a bar height of 30 it is hard to read all packed into one column.
[Q]



--
-Chaz
Score: 0 points
Any particular reason?
#13410 by ryancr (1.0000) posted on 11:31am Saturday, October 13th, 2007
c.atterly said:
An option to display it like this would be really nice. With a bar height of 30 it is hard to read all packed into one column.
[Q]



Updated.
[Q]



Setting in preferences to set the Time beside the date.
[Q]



12 hour check box bug fixed.
[Q]



*Edited at 11:32am, 10/13/07
Score: 0 points
Any particular reason?
#13459 by ryancr (1.0000) posted on 12:17am Sunday, October 14th, 2007
Updated.
[Q]



Nothing particularly new and exciting in this one.
[Q]



But lots of code clean up, removed a few code loops that didn't need to be there, so should use less cpu.
[Q]



Fixed the scaling of the time so that it tries to be the biggest it can, no matter what size the dock is.
[Q]

Score: 0 points
Any particular reason?
#13482 by c.atterly (0.9959) posted on 7:52am Sunday, October 14th, 2007
Nice, I really like the latest version. Though, mine seems to be cut off the SLIGHTEST bit. Any ideas?
[Q]



[Q]

--
-Chaz
Score: 0 points
Any particular reason?
#13522 by ryancr (1.0000) posted on 11:31am Sunday, October 14th, 2007
hmmc.atterly said:
Nice, I really like the latest version. Though, mine seems to be cut off the SLIGHTEST bit. Any ideas?
[Q]



hmm, ok I guess I'll have to scale down the font just a bit more.
[Q]



What font are you using?
What is your dock size?
[Q]

Score: 0 points
Any particular reason?
#13530 by c.atterly (0.9959) posted on 1:24pm Sunday, October 14th, 2007
ryancr said:
hmm, ok I guess I'll have to scale down the font just a bit more.
[Q]



The thing is, it is UNNECESSARILY cut off. For example when it squishes, it doesn't get cut off any more; it expands just fine (but it still cut off as much as it normally is). So nothing actually needs to be any smaller, it just needs to not be cut off. Does that make any sense? I tried to get a screen shot of it bouncing but it always stops bouncing when I do it.
[Q]



Or, maybe I don't understand and all applets are like this and it isn't space available to use.
[Q]



ryancr said:
What font are you using?
What is your dock size?
[Q]



The font is the default Sans (I think that was the default?) and my bar height is 32.
[Q]



By the way, would it be possible to have an option to disable the shadow? Actually I think it just makes it harder to read in the case of tiny docks.
[Q]

--
-Chaz
Score: 0 points
Any particular reason?
#13532 by ryancr (1.0000) posted on 1:27pm Sunday, October 14th, 2007
Have you downloaded the latest one, I only ask as Mediafire says there has been 0 downloads of it.
[Q]



c.atterly said:
By the way, would it be possible to have an option to disable the shadow? Actually I think it just makes it harder to read in the case of tiny docks.
[Q]




I am working on setting the alpha of the shadow, so when thats done you could turn the alpha to 0 and it would make it go away.
[Q]






*Edited at 1:27pm, 10/14/07
Score: 0 points
Any particular reason?
#13533 by c.atterly (0.9959) posted on 1:35pm Sunday, October 14th, 2007
ryancr said:
Have you downloaded the latest one, I only ask as Mediafire says there has been 0 downloads of it.
[Q]



Yeah, but I just downloaded it again to make sure. Here is what it looks like:
[Q]



[Q]



ryancr said:

I am working on setting the alpha of the shadow, so when thats done you could turn the alpha to 0 and it would make it go away.
[Q]



Perfect!
[Q]

--
-Chaz

*Edited at 1:36pm, 10/14/07
Score: 0 points
Any particular reason?
#13536 by rgdg (0.6549) posted on 1:49pm Sunday, October 14th, 2007
( no avatar )
isaac_j87 said:
I went into the code and played around a bit...pretty good stuff have a look:
[Q]



Isaac or anyone else know what font your clock is using?
[Q]

Score: 0 points
Any particular reason?
#13537 by isaac_j87 (1.0000) posted on 1:50pm Sunday, October 14th, 2007
rgdg said:
Isaac or anyone else know what font your clock is using?
[Q]



It is called "Purisa"
[Q]

--
-Isaac
Score: 0 points
Any particular reason?
#13538 by c.atterly (0.9959) posted on 1:55pm Sunday, October 14th, 2007
isaac_j87 said:
It is called "Purisa"
[Q]



Haha yeah isn't this font sweet? I used it for a class handout just last week! Not sure how the professor felt :)
[Q]



--
-Chaz
Score: 0 points
Any particular reason?
#13539 by rgdg (0.6549) posted on 1:55pm Sunday, October 14th, 2007
( no avatar )
Thanks, I like it a lot. Though the bottom of Oct 14 gets cut off when I use it.
[Q]

Score: 0 points
Any particular reason?
#13561 by Sewage (0.6605) posted on 5:53pm Sunday, October 14th, 2007
rgdg said:
isaac_j87 said:
I went into the code and played around a bit...pretty good stuff have a look:
[Q]



I'm sorry to ask because it's so off topic~ but where did you find that trash icon? I am so bored of mine and would love something a little more realistic.
[Q]



EDIT: My PM is also being cut off ever so slightly, just thought to mention it.
[Q]



*Edited at 6:19pm, 10/14/07
Score: 0 points
Any particular reason?
#13566 by isaac_j87 (1.0000) posted on 6:17pm Sunday, October 14th, 2007
Sewage said:
I'm sorry to ask because it's so off topic~ but where did you find that trash icon? I am so bored of mine and would love something a little more realistic.
[Q]



It's the OSX trash can...
[Q]




--
-Isaac
Score: 0 points
Any particular reason?
#13567 by Sewage (0.6605) posted on 6:19pm Sunday, October 14th, 2007
Oh how embarrassing~ I don't spend a lot of time looking at apple's OSX I guess. >:
[Q]



At any rate, thank you.
[Q]

Score: 0 points
Any particular reason?
#13568 by ryancr (1.0000) posted on 6:23pm Sunday, October 14th, 2007
Updated.
[Q]



Ok tweaked the font scaling down a bit so hopefully it won't get cut off anymore.
[Q]



Added the week number column to the calendar.
[Q]



*Edited at 6:24pm, 10/14/07
Score: 0 points
Any particular reason?
#13576 by c.atterly (0.9959) posted on 8:05pm Sunday, October 14th, 2007
Nice, it is much closer but still cut off by I think 1 pixel on either side for me:
[Q]



[Q]

--
-Chaz
Score: 0 points
Any particular reason?
#13606 by ryancr (1.0000) posted on 8:52am Monday, October 15th, 2007
c.atterly said:
Nice, it is much closer but still cut off by I think 1 pixel on either side for me:
[Q]



Arrg, ok maybe I just need to make the applet a bit wider all together.
[Q]



Does the Date beside Time setting work better for you?
[Q]

Score: 0 points
Any particular reason?
#13748 by nicosaturno (0.1826) posted on 1:21pm Tuesday, October 16th, 2007
( no avatar )
hi,
thanks for your works but the last version doesn't work on my system.
That is the error
[Q]



Traceback (most recent call last):
File "/home/nico/.config/awn/applets/digitalClock/digitalClock.py", line 19, in ?
import dgClockPref
File "/home/nico/.config/awn/applets/digitalClock/dgClockPref.py", line 9
class dgClockPref():
[Q]



how can I solve it?
[Q]



thanks,
Nicolò
[Q]

Score: 0 points
Any particular reason?
#13757 by pavpanchekha (1.0000) posted on 3:12pm Tuesday, October 16th, 2007
You lost a line in your error output. Could you place the last line, its kinda the most important one?
[Q]

Score: 0 points
Any particular reason?
#13764 by Genis (0.1603) posted on 3:54pm Tuesday, October 16th, 2007
Hey, I am getting the same error, here it is with the last line
[Q]



Creating new applet :/home/genis/.config/awn/applets/digitalClock.desktop uid:1192572836
Traceback (most recent call last):
File "/home/genis/.config/awn/applets/digitalClock/digitalClock.py", line 19, in ?
import dgClockPref.py
File "/home/genis/.config/awn/applets/digitalClock/dgClockPref.py", line 9
class dgClockPref():
^
SyntaxError: invalid syntax
[Q]



Any help would be appreciated,
[Q]



Thanks a lot
[Q]

Score: 0 points
Any particular reason?
#13787 by ryancr (1.0000) posted on 4:54pm Tuesday, October 16th, 2007
Hmm, well I am stumped, as I can't seem to duplicate this error.
[Q]



what version of python are you running:
[Q]



python --version should tell you.
[Q]

Score: 0 points
Any particular reason?
#13792 by Genis (0.1603) posted on 5:44pm Tuesday, October 16th, 2007
I am running 2.4.3, I was thinking it may be a version issue myself. What version do you suggest?
[Q]



Thanks for your help
[Q]

Score: 0 points
Any particular reason?
#13793 by ryancr (1.0000) posted on 5:54pm Tuesday, October 16th, 2007
Genis said:
I am running 2.4.3, I was thinking it may be a version issue myself. What version do you suggest?
[Q]



I am running 2.5, I can test it with 2.4 but not till a little later this evening, I'll post back here my results.
[Q]

Score: 0 points
Any particular reason?
#13794 by Genis (0.1603) posted on 5:55pm Tuesday, October 16th, 2007
Hey no worries, I'll test 2.5 and let you know.
[Q]



Sorry it took so long, but 2.5 does work. I am trying with your changes on 2.4 now.
[Q]



Thanks for all your time, and great work on the clock
[Q]



*Edited at 4:49pm, 10/23/07
Score: 0 points
Any particular reason?
#13817 by nicosaturno (0.1826) posted on 5:32am Wednesday, October 17th, 2007
( no avatar )
I'm using python 2.4.4 too...I'm going to test it with 2.5 version.
bye
[Q]



EDIT
with python 2.5 surely works...but I have to recompile all my python module to use 2.5 version :(
[Q]



*Edited at 10:19am, 10/17/07
Score: 0 points
Any particular reason?
#14191 by chatgris (0.4012) posted on 4:09pm Monday, October 22nd, 2007
Same issue with Python 2.4.4.
[Q]
Score: 0 points
Any particular reason?
#14207 by ryancr (1.0000) posted on 5:22pm Monday, October 22nd, 2007
Ok, I have made a few changes let me know if this works for you python 2.4 guys.
[Q]



I'm also in to process of a bit of evolution integration, show appointments, tasks, memos, etc.
[Q]

Score: 0 points
Any particular reason?
#14237 by chatgris (0.4012) posted on 1:01am Tuesday, October 23rd, 2007
Now it's works with python 2.4 for me. Thank you. D
[Q]



ryancr said:
I'm also in to process of a bit of evolution integration, show appointments, tasks, memos, etc.
[Q]



OoOOOooooOoooOooOOoOh. D
[Q]
Score: 0 points
Any particular reason?
#17106 by Peng (0.1615) posted on 11:44pm Monday, November 19th, 2007
I installed AWM today and I found this thread looking for info on how to configure the prefs. I downloaded the newest version, but how do I install what I downloaded? I'm running Ubuntu Gutsy.
[Q]



Never mind. I had a gray moment, but someone on the Ubuntu Forums gave me an assist.
[Q]



*Edited at 6:29pm, 11/20/07
Score: 0 points
Any particular reason?
#20265 by craigyjack (0.1916) posted on 11:08am Wednesday, February 20th, 2008
This applet will put ~220MB of RAM into resident memory - using up 11% of my RAM just for a clock. This sucks as I love this applet, it is my favorite clock for the dock, simple to look at, and easy to pull up a quick little calendar to check a date.
[Q]



Unfortunately, I do not think I can sacrifice 11% of my memory or more to this applet and I will have to stop using it. Is this supposed to happen, or is there a memory leak or bug or something?
[Q]



-Craig
[Q]

Score: 0 points
Any particular reason?
#20266 by moonbeam (1.0000) posted on 11:15am Wednesday, February 20th, 2008
( no avatar )
craigyjack said:
Unfortunately, I do not think I can sacrifice 11% of my memory or more to this applet and I will have to stop using it. Is this supposed to happen, or is there a memory leak or bug or something?
[Q]



no... that would be a leak somewhere. out of curiosity how long do you need to run it before you see this result?
[Q]



Could you also file a bug at https://bugs.launchpad.net/awn-extras/
[Q]



Try to include details about distribution, version etc, and a estimate of how long it takes to get to that amount of memory consumption.
[Q]



Thanks,
[Q]
Score: 0 points
Any particular reason?
#20267 by craigyjack (0.1916) posted on 12:36pm Wednesday, February 20th, 2008
Okay, will do. I will watch my stats to see how long it takes. it takes no longer than 12 hours running i know, i'll try to get a more definite time.
[Q]



Also, I don't if the author maintains this applet or not, but I think its unfair to the time that the font size of the date is larger than the time. imo, i think the time should be the bigger font size.
[Q]

Score: 0 points
Any particular reason?
#20268 by pavpanchekha (1.0000) posted on 1:31pm Wednesday, February 20th, 2008
ryancr said:
Ok, I have made a few changes let me know if this works for you python 2.4 guys.
[Q]



Next time you make changes (we know you're busy) can you please add a license header to the applet?
[Q]

Score: 0 points
Any particular reason?
#26378 by whorush (0.1854) posted on 10:53am Friday, September 10th, 2010
( no avatar )
the digital clock applet looks great on horizontal panels, but i have a laptop with a screen that is too short and too wide, so i make my panel vertical. the digital clock applet is the only applet that i use that doesn't fit very well.
[Q]



what happens is that "01:33 PM" takes up so much horizontal space that it gets squeezed into such a small font size that it's really hard to read. one option is to take out the AM and PM. don't have to take it totally, just make an option to show AM/PM or not.
[Q]



and taking out the leading 0 will also help since it doesn't tell us anything and since 3/4 of the time the time is only three digits 1:33 as opposed to four digits 12:33. Also, if you're not using a fixed width font, 0 is fatter than 1.
[Q]



one more funny thing is that the date font is bigger than the time font, which seems backwards to me?
[Q]

Score: 0 points
Any particular reason?
Pages: 1 2 3
Thread Listing » AWN Applets » [Applet] Digital Clock with Date

Post A Reply:

Powered by Metaforum ©2004-2012
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.