The font is called FF Meta. Unfortunately it's a commercial font.
Sometimes I find myself dreaming of the KDE project making a deal with FontFont (the foundry the sells Meta) just like the Gnome people did with Bitstream Vera. FF Meta is an incredibly good screen font, imagine having it as the KDE default! Just dreaming...
I really like the clock: simple and elegant.
I would like to add Timezone selection. It should be very easy.
Just for starting, how can I edit the theme file to show the computer hour plus 2, for example?
Stefano
I think it's not so easy... I'm using the superkaramba "time" sensor:
http://netdragon.sourceforge.net/ssensors.html
In order to add a hour offset you have two options:
1. use the "program" sensor and fiddle with bash.
2. attach a python script to the theme
Anyway your contribution is welcome!
A very simple way to do it in bash is:
date | awk '{print $4}' | awk -F":" '{print $1+2":"$2":"$3}'
However, I don't know how to put it in the theme file (with the program sensor it doesn't seem to work) and, most of all, to update it every second (maybe with the interval keyword?).
In any case, a python script would be better, because it would allow to interactively change the timezone.
Stefano
This works:
TEXT x=75 y=0 sensor=program program="date | awk '{print $4}' | awk -F: '{print $1+2 $2}'" fontsize=48 interval=1000 align=center
The main problem is in the use of " and '.
In this case I cannot tell awk to print the : between the hors and the minuts, because I can't use neither " nor '...
Stefano
Ratings & Comments
14 Comments
I love the clock. It looks great on the default PCLinuxOS MiniMe desktop. Thank you!
Which font did you use in the screenshot? It looks much better than FreeSans. The colors also seem different.
The font is called FF Meta. Unfortunately it's a commercial font. Sometimes I find myself dreaming of the KDE project making a deal with FontFont (the foundry the sells Meta) just like the Gnome people did with Bitstream Vera. FF Meta is an incredibly good screen font, imagine having it as the KDE default! Just dreaming...
I love the clock. It looks so much nicer than the one that comes with kicker. Is there a way to make it show in am/pm instead of military time?
Looked it up. If anyone is interested it is this "hh:mm ap" in place of original format. I still can't find that font from the screenshot though.
I really like the clock: simple and elegant. I would like to add Timezone selection. It should be very easy. Just for starting, how can I edit the theme file to show the computer hour plus 2, for example? Stefano
I think it's not so easy... I'm using the superkaramba "time" sensor: http://netdragon.sourceforge.net/ssensors.html In order to add a hour offset you have two options: 1. use the "program" sensor and fiddle with bash. 2. attach a python script to the theme Anyway your contribution is welcome!
A very simple way to do it in bash is: date | awk '{print $4}' | awk -F":" '{print $1+2":"$2":"$3}' However, I don't know how to put it in the theme file (with the program sensor it doesn't seem to work) and, most of all, to update it every second (maybe with the interval keyword?). In any case, a python script would be better, because it would allow to interactively change the timezone. Stefano
This works: TEXT x=75 y=0 sensor=program program="date | awk '{print $4}' | awk -F: '{print $1+2 $2}'" fontsize=48 interval=1000 align=center The main problem is in the use of " and '. In this case I cannot tell awk to print the : between the hors and the minuts, because I can't use neither " nor '... Stefano
have you tried using the zdump command? zdump "plus the time zone" which can be located in /usr/share/zoneinfo
It's cool! Simple but useful. I like it! Keep working!
I like the idea of showing the clipboard content. :) Keep on with good work!
Nice idea, nice stuff!
Thank you.