View Single Post
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#1
[Edit]
Yes!, presenting the SVGClock as one click installable from the Download catalog / Extras repository

Go here to install the latest SVGClock with all its dependencies!!

The themes directory has moved to /usr/lib/svgclock/themes. Download the themes you like from here and copy to the /usr/lib/svgclock/themes/default folder and restart the applet..

Update : Version 0.8-5 released. Includes functionality to display the OSSO Alarm UI, when the applet is double clicked.

Note : The the installation steps mentioned below ( outside of the Edit tags) are not necessary anymore!!
[/Edit]
>|<----------------------------------------------------------------------------------->|<
Presenting SVGClock - the Cairo clock with SVG ( Scalable Vector Graphics) rendering for Diablo!! (Fremantle should also be possible. Please read below!) Since they say pictures talk more than the words, here you go..
You can get close to a 100 different themes from here. Not happy with these available themes? You can create your own and customize them using inkscape..






Std statutory Warning : Some of this may break the setup on your tablet and you may have to reflash!! Pls back up before trying this and I may not be able to support you in that..


Acknowledgement :
I have referred heavily the code from Maemo Cairoclock, Cairo Clock from Macslow, Screelet clock and a great lot of reading on http://www.cairographics.org to render SVG…

How to get the clock:

1) Download the files listed in the Attachment section below to /home/user/MyDocs :

2) Open Xterminal and execute the following :

Code:
cd /home/user/MyDocs
sudo dpkg -i gnome-python-desktop_2.25.91-1_armel.deb
sudo dpkg -i librsvg2-2_2.8.1-4_armel.deb
sudo dpkg -i librsvg2-common_2.8.1-4_armel.deb
Additionally you may also have to execute the below to get the various Python bindings.. ( most of these may be available on your device already, installed through other common Python apps. But just in case..)
Code:
sudo apt-get install hildon-desktop-python-loader python2.5-hildondesktop python2.5-hildon python2.5-gobject python2.5-dbus python2.5-osso python2.5-cairo python2.5-gtk2
For the above, activating 'extras-devel' on the App installer may be required. Pls read the statutory warning below. Remember to deactivate, immediately after this step

3) Install “SVGClock-1.0.0-1_all.deb” package. This is the SVG clock and post installation, it can be enabled/disabled through the Home menu > Select Applets > SVGClock on the hildon desktop

Code:
sudo dpkg -i SVGClock-1.0.0-1_all.deb
4) The theme package of the clock (SVG files of clock face, Frame, Hour/Min/Sec hands) can be installed as below. Untar using the below command to the /home/user/MyDocs/Themes/default folder ( Untar will automatically extract to this path)

Code:
tar xvzf Themes.tar.gz
5) This is the latest change to the code, that improves the performance. Download the svgclock.py script from here and replace the python code that gets installed with the SVGClock-1.0.0-1_all.deb, with the following command
Code:
$sudo mv svgclock.py.zip /usr/lib/hildon-desktop/svgclock.py
This is more of a stop gap until I am able to release the next version of the SVGClock

Voila!

You have a cool clock widget on the desktop which can be changed according to your mood, the desktop background, Color, etc.. And yes! You have about 100 clock faces/themes available from here

Lastly the same method can be followed ( with a few Fremantle/Maemo5 specific tweaks ofcourse!!) so that our friends with the N900 can also have this desktop SVGClock since it is based on Python. I dont intend to do this ( as I dont have the N900 - I like my tablet) and I hope some one would port this on Fremantle for the community..

[Updated to clean up the installation steps and remove some of the issues that have been fixed in the script from Step 5) above]
Attached Files
File Type: deb gnome-python-desktop_2.25.91-1_armel.deb (33.8 KB, 257 views)
File Type: deb SVGClock-1.0.0-1_all.deb (2.8 KB, 268 views)
File Type: gz Themes.tar.gz (7.3 KB, 265 views)
File Type: deb librsvg2-2_2.8.1-4_armel.deb (108.6 KB, 236 views)
File Type: deb librsvg2-common_2.8.1-4_armel.deb (40.8 KB, 233 views)

Last edited by shin; 2010-04-23 at 06:32. Reason: Inform on the SVGClock
 

The Following 20 Users Say Thank You to shin For This Useful Post: