KClock

Karamba & Superkaramba

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

0
5 .0
Description:

KClock has 12 clock styles.

The KClock has the following features:
Timezones - You can have multiple clocks on your desktop, each set to a different timezone
Clock hands can be shaded (only if PIL or ImageMagick is installed, see below about auto detection).
Option to remove the second hand. KClock will automatically reduce the update frequency from superkaramba if the second hand is not show.
All clock hand images are cached, so reduce system overhead.
All clocks styles are in svg format and so can be resized to any size (see auto detection of Inkscape or librsvg below).
Extra clock styles can be added from the configuration menu. See below about adding the 'Color Clock Styles'.
Clock styles can be removed from the configuration menu.

Since this release is a bit bigger, I have had to remove the 'Color' clock styles Red, Green and Blue out into their own .gz file.

To install these clock styles, download the .gz file 'Color Clock Styles', then go to the KClock configuration menu/editor and select 'Import Style...' and select the .gz file to import.

or to do this manually you can extract the contents of the ColorClockStyles.tar.gz into the 'styles' folder in KClock.


Auto Detection for extra features
KClock will work with still work with the basic python libraries. But to get extra features and functionality working with KClock we surggest that you have some of these libraries/applications installed:

PIL (Python Image Library) - With this library KClock can draw the shading on the clock hands and rotate the clock hands with out seeing jagged edges.
Image Magick - This provides the same functionality as PIL, but is stlightly slower and more resourse instense grapthic library
PyQt - The Python QT library will provide a nicer interface to choosing the clock styles.
Inkscape - Inkscape is used to resize the png images without loss of quality from 250 by 250 pixels and higher.
librsvg - librsvg does basically the same as Inkscape, so if you do not have Inkscape installed you can install this lighter application instead.
pytz - To get the timezone working you will need to install the python library pytz. See http://pytz.sourceforge.net. If you have pyqt installed then the Configuration window can install this library for you into the KClock/libs folder.
Last changelog:

13 years ago

version 1.2a corrects a bug where kclock will not start up if you do not have some of the supported applications installed.

Version 1.2b fixes a bug where the PIL image library is always imported even if you do not have the library installed.

Version 1.2c fixes a bug where a non pyqt user tries to set a timezone.

Version 1.2d may fix a syntax error when running python 2.4.

Version 1.2e - On KClock startup if the current used style or the default 'chrome' style is removed, then the first available style will be used.

Fenix-TX

13 years ago

How can i configure kclock to see it on superkaramba selector? I have to click on Kclock.theme always to open this theme. It would be nice, if it will a instalable theme, like liquid weather and others themes...

Report

Fenix-TX

13 years ago

Doh! Never mind, now i have this theme on superkaramba selector :S

Report

SASq

13 years ago

Hi,

very good work, veri nice, congratulations.

How can i use another time zone
differently from my on second KClock?

Report

C

linuxbob

13 years ago

It just so happens I am working on timezones for the next version..

Also a new conifuration dialog box for the people with PyQt (this will replace and expand on the 'Select Styles' dialog box.

Using the new dialog box you can set the timezone, have an optional bit of text below the clock showing the timezone, this timezone text can be hidden or changed to anything you like.

Without PyQt you can just change the timezone of the clock.






Report

alexmedina

13 years ago

Very nice, congratulations. Keep doing a nice work :)

Report

toth

13 years ago

Simply perfect and so beautiful! Now, I've got my new favorite superkaramba clock.

Report

tweekyd

13 years ago

Nice looker!! the variety of faces is good... but more would always be welcome!

Low CPU usage if the second hand is disabled .. top stuff!!

Report

C

linuxbob

13 years ago

Your'e welcome.

I am working on the next version to allow for larger size clocks without loss of quality and the ability to have package system for extra clock styles.


So any new clock styles can then be packaged up into a file. (I will be including the package build script in the next version). This package file can then instal the new clock style directly from the KClock menu.

Report

fdmarco3

13 years ago

hi, this is a great superkaramba app,but when i resize the clock (in example to 200) it is very ugly...i have bad resolution...the default value 100 is too small for me

Report

C

linuxbob

13 years ago

I will incease the size of the images on the next version to 200x200. I was looking into seeing if this widget could use the svg source files to draw the clocks at any size, and so you would not get this problem. But to do this you would need to have Inkscape installed or a decent svg render/converter to png

Report

kriko

13 years ago

You might use other imaging libraries to resize svg dinamically. See other widgets code how they do that.

Report

13 years ago

version 1.2a corrects a bug where kclock will not start up if you do not have some of the supported applications installed.

Version 1.2b fixes a bug where the PIL image library is always imported even if you do not have the library installed.

Version 1.2c fixes a bug where a non pyqt user tries to set a timezone.

Version 1.2d may fix a syntax error when running python 2.4.

Version 1.2e - On KClock startup if the current used style or the default 'chrome' style is removed, then the first available style will be used.

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.2e
updated Oct 03 2007
added Sep 13 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3