
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A digital clock SuperKaramba widget I made with help from darknoize. Enjoy!! :-)
13 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!! :-)
13 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
13 years ago
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
rowancompsciguy
13 years ago
As for your problem...
What do you get when you run "date | awk '{print $4}'" on the command line?
Report
vegetto
13 years ago
i have also kept one hour alert
it uses kopete login sound
Report
rowancompsciguy
13 years ago
It looks good though.
Report
vegetto
13 years ago
Report
vegetto
13 years ago
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
13 years ago
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
rowancompsciguy
13 years ago
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