
Perfect Clock for Linux
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
"PerfectClock is a skinnable, flexible, fast and highly customizable program displaying an unlimited number of World-Time clocks on your desktop."
This is a version made for linux
Perfect clock skins are designed by ALSEDI Group (www.perfect-clock.com), the linux version of Perfect Clock was created by Helder Fraga aka Whise
This linux version was created from reverse so you may not get all the features you get with the windows version
you can get new skins at http://www.perfect-clock.com/index.php?page=download-skins
Requirements :
Screenlets
Python
gtk
andy589
5 years ago
Does this screenlet only work with gnome?
Report
leodelacruz
10 years ago
Report
iamsickofschool
10 years ago
nathan@nathan-laptop:~/Downloads/PerfectClock$ sudo ./PerfectClockScreenlet.py
CachingBackend: Loading instances from cache
No Daemon, Launching Daemon
daemon already started
No global tempdir found, creating new one.
Temp directory /tmp/screenlets created.
Creating new entry for PerfectClockScreenlet in /tmp/screenlets/screenlets.root.running
Loading instances in: /home/nathan/.config/Screenlets/PerfectClock/default/
No instance(s) found in session-path, creating new one.
/home/nathan/.config/Screenlets/PerfectClock/default/PerfectClock1
LOAD NEW THEME: Glossy_Clock_-_Numbered
FOUND: None
Traceback (most recent call last):
File "./PerfectClockScreenlet.py", line 1139, in <module>
screenlets.session.create_session(PerfectClockScreenlet)
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 472, in create_session
session.start()
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 254, in start
sl.finish_loading()
File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1247, in finish_loading
self.on_init()
File "./PerfectClockScreenlet.py", line 259, in on_init
self.on_load_theme()
File "./PerfectClockScreenlet.py", line 287, in on_load_theme
self.xml_file = self.theme.path + '/skin.xml'
AttributeError: 'NoneType' object has no attribute 'path'
Report
karatedog
10 years ago
Report
Perfect54
5 years ago
You can use this script to convert all theme files in the current directory:
#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
FILES='./*.PCSkin'
for f in $FILES
do
echo -en PK >test.pcskin
tail -c+3 $f >>test.pcskin
mv test.pcskin $f
done
IFS=$SAVEIFS
Report
kiloseven
11 years ago
How do I add those to PerfectClock and use them?
Many thanks.
Report
kiloseven
11 years ago
AttributeError: 'NoneType' object has no attribute 'path'
There is no option in Screenlets itself which permits me to successfully install 'it. When I click on Install in Screenlets and navigate to .perfectclock under my home directory, no installable screenlet is found.
I use Karmic Koala, and the version of Screenlets is 0.1.2
Your kind assistance is appreciated.
Report
kiloseven
11 years ago
Report
magia154
11 years ago
Thank's for sharing
Report
insfcb
11 years ago
Report
insfcb
11 years ago
Report
bogusdevil
12 years ago
But could you please add a function to display Day and Night? When I set this clock for another country not local time, I would like to know whether it is Day or Night in their. Thank you.
Report
ryanair
12 years ago
I'm using Screenlets 0.0.12 under Ubuntu 8.04 with Compiz und Gnome. All my other Screenlets work really fine!
When I'm trying to launch PerfectClock via the ScreenletManager, nothing happens.
Via the console, I get the following output:
CachingBackend: Loading instances from cache
Found a running session of PerfectClock, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.PerfectClock was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.rainer.running
Loading instances in: /home/rainer/.config/Screenlets/PerfectClock/default/
No instance(s) found in session-path, creating new one.
UPDATING SHAPE
Traceback (most recent call last):
File "/home/rainer/.screenlets/PerfectClock/PerfectClockScreenlet.py", line 1139, in <module>
screenlets.session.create_session(PerfectClockScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 466, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 242, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/home/rainer/.screenlets/PerfectClock/PerfectClockScreenlet.py", line 92, in __init__
uses_theme=True, **keyword_args)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 621, in __init__
self.update_shape()
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1127, in update_shape
self.on_draw_shape(ctx)
File "/home/rainer/.screenlets/PerfectClock/PerfectClockScreenlet.py", line 493, in on_draw_shape
self.draw_rectangle(ctx,0,0,self.width,self.height)
AttributeError: 'PerfectClockScreenlet' object has no attribute 'draw_rectangle'
Does anyone have an idea what's wronh with it?
Thanks a lot in advance!
Greetings,
ryanair
Report
drxnele
12 years ago
Report
Fivizzz
12 years ago
It appears in the Running Screenlets list, but not on my desktop. I cannot get it to stop (still appears in the Running Screenlets list)
when trying to launch from a terminal:
Quote:from: can't read /var/mail/screenlets.options
from: can't read /var/mail/screenlets
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `pango'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `commands'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `gobject'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `math'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `gtk'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `os'.
from: can't read /var/mail/screenlets
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `random'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `sys'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `modified_zipfile'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `getopt'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: missing an image filename `codecs'.
PerfectClockScreenlet.py: line 28: erreur de syntaxe près du jeton `(' inattendu
PerfectClockScreenlet.py: line 28: `class PerfectClockScreenlet (screenlets.Screenlet):'
Report
Fivizzz
12 years ago
Using Screenlets 0.1 on Gutsy
Python + GTK
Report
cosscat
12 years ago
well I'm typing in my terminal ./PerfectClockScreenlet.py but here is what I get: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
What is wrong?
Thank you very much.
Report
sousuke
12 years ago
From clock to kclock to this ^_^
kudos!
Report
dskagers
12 years ago
If I had paypal I would donate like mad, since you are one of the great contributors.
Thank you!
Report
dimitrispan88
12 years ago
Report
MNICY
12 years ago
I downloaded one from the website, but I cant figure out how to get it to work. Tried putting it in ~/.screenlets/perfectclock/themes
but it did not work.
Report
Whise
12 years ago
Report
MNICY
12 years ago
Report
MNICY
12 years ago
Report