Digital Klock
Karamba & Superkaramba
Score 70%
Description:

A digital clock SuperKaramba widget I made with help from darknoize. Enjoy!! :-)
Last changelog:

10 years ago

v1.1

Fixed a bug where the widget crashes at 12am. Also fixed the widget so that it does not display military time (ie 9pm is not 21). Thanks Vegetta for pointing this out to me!!

v1.2

It was pointed out to me that there was error displaying AM/PM between 12PM and 1PM. This problem has now been fixed. Thanks Tom.

v2.0

I've finally added the configuration option menu. Sorry it took so long, but I've been busy!! :-D To access the menu double click on the widget and then select your background theme. I have also added a new background style in black, blue, green and red. Let me know if you want any other colors of the current styles or if you have another style in mind. Enjoy!! :-)

v2.1

Found another AM/PM bug. Hopefully this is the last of them.

v2.2

Darknoize IMed me earlier tonight with a great idea. I'm using 1280x1024 resolution so the clock looks fine on my desktop. Darknoize is using 1024x768 so the clock is too large on his computer. He sent me over some code and image updates he did to the clock to make it smaller. I've integrated his changes into the widget. You can switch back and forth between the large and small size by double clicking on the widget and selecting the size you want. Colors will also transfer between sizes. Thanks again, darknoize, for this great update!! :-)

fabienhenon

10 years ago

I am under Mint and here is the mistake I get when I start from a command line

fabien@c-laptop:~/Desktop/digi_clock$ superkaramba digitalKlock.theme
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 149
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 149
Minor opcode: 3
Resource id: 0x0
Failed to open device
Loaded my python extension!
sys.path.insert(0, '/home/fabien/Desktop/digi_clock/')
Call to initWidget failed
Traceback (most recent call last):
File "/home/fabien/Desktop/digi_clock/digitalKlock.py", line 36, in initWidget
pollTime(widget);
File "/home/fabien/Desktop/digi_clock/digitalKlock.py", line 57, in pollTime
minutes = text.split(':')[1];
IndexError: list index out of range
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
File "/home/fabien/Desktop/digi_clock/digitalKlock.py", line 36, in initWidget
pollTime(widget);
File "/home/fabien/Desktop/digi_clock/digitalKlock.py", line 57, in pollTime
minutes = text.split(':')[1];
IndexError: list index out of range
Call to widgetUpdated failed

Report

C

rowancompsciguy

10 years ago

Sorry it took so long for me to get back to you. I don't check on here that often anymore so you'll have better luck contacting me through email.

As for your problem...

What do you get when you run "date | awk '{print $4}'" on the command line?

Report

vegetto

10 years ago

http://kde-look.org/content/show.php?content=59606

i have also kept one hour alert
it uses kopete login sound

Report

C

rowancompsciguy

10 years ago

I was looking for it earlier and couldn't find it because you have it tagged as an Amarok theme. You may want to move it so more people can find it. :-)

It looks good though.

Report

vegetto

10 years ago

ya i corrected that part by the way

Report

vegetto

10 years ago

could u plz send me the background image without am pm
cause i think then it will look clean

btw if i am showing 24hr clock then no need of that i think
what u say


i could have made a new one but i am not very good at gimp

Report

vegetto

10 years ago

hey man i really appreciate ur work
nice theme
but it has a bug
it dont work when time is 00am
so i modified and uploading it
i also made the bg image tinted to make a bit attractive
i have changed the font too

hope u like it

Report

C

rowancompsciguy

10 years ago

Yes, I'm finding there's several problems with this. I put this together around 3am last night and I was pretty tired so I missed a lot of odd cases. Thanks for pointing out the bug though. I'm going to put out a release to fix the problems.

I'd like to see what yours looks like. Maybe we can collaborate on it. I'd like to hear some of your ideas. :-)

Report

10 years ago

v1.1

Fixed a bug where the widget crashes at 12am. Also fixed the widget so that it does not display military time (ie 9pm is not 21). Thanks Vegetta for pointing this out to me!!

v1.2

It was pointed out to me that there was error displaying AM/PM between 12PM and 1PM. This problem has now been fixed. Thanks Tom.

v2.0

I've finally added the configuration option menu. Sorry it took so long, but I've been busy!! :-D To access the menu double click on the widget and then select your background theme. I have also added a new background style in black, blue, green and red. Let me know if you want any other colors of the current styles or if you have another style in mind. Enjoy!! :-)

v2.1

Found another AM/PM bug. Hopefully this is the last of them.

v2.2

Darknoize IMed me earlier tonight with a great idea. I'm using 1280x1024 resolution so the clock looks fine on my desktop. Darknoize is using 1024x768 so the clock is too large on his computer. He sent me over some code and image updates he did to the clock to make it smaller. I've integrated his changes into the widget. You can switch back and forth between the large and small size by double clicking on the widget and selecting the size you want. Colors will also transfer between sizes. Thanks again, darknoize, for this great update!! :-)

product-maker 20 56

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
v2.2
updated Oct 29 2007
added Jun 02 2007
downloads today
0
page views today 2