
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
Attention! to make this work, you have to install the fonts "Nimbus Mono L Regular" and "Nimbus Mono L Bold" (both included in .gz file)
Python-based, Liquid-style Calendar for Superkaramba. Needs Python 2.3
The current date is marked red. To change your language just right-click on the calendar, select "Configure theme" -> "Select your country" and choose your language. After clicking "OK" wait a second or two and it should work.
15 years ago
0.4: - completely rewritten
- fixed several bugs
- more expandable now
-> easier to integrate future functions
- optical makeover
0.3: - "Just-Click"-Locale-support
- Changed Background-Image
0.2: - Now complete locale-support
- BugFix: locales
- current date is marked
0.1b: BugFix: Now Work with English Locale
0.1a: BugFix: Function after Feb. 29
15 years ago
0.4: - completely rewritten
- fixed several bugs
- more expandable now
-> easier to integrate future functions
- optical makeover
0.3: - "Just-Click"-Locale-support
- Changed Background-Image
0.2: - Now complete locale-support
- BugFix: locales
- current date is marked
0.1b: BugFix: Now Work with English Locale
0.1a: BugFix: Function after Feb. 29
sfriedrich
11 years ago
Report
wired2051
13 years ago
The two fonds are also installed but the Kalendar stayes still empty, that means only backround, no date.I can't change the language ore other settings neither.So I startet the kalendar.theme with the terminal
---snip---
X Error: BadDevice, invalid or uninitialized input device 154
Major opcode: 143
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 154
Major opcode: 143
Minor opcode: 3
Resource id: 0x0
Failed to open device
---snip---
Traceback (most recent call last):
File "/home/a-zeller/KDE/Superkaramba/kalendar/kalendar.py", line 22, in ?
calendar = ckalendar.cKalendar()
File "/home/a-zeller/KDE/Superkaramba/kalendar/ckalendar.py", line 16, in __init__
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
ValueError: month out of range
---snip---
Can you help me, please?
Report
charleylc
14 years ago
-----------------------------------------------------------------------------
In kalendar.py
line 30:
change from
karamba.setMenuConfigOption(widget, "ac_locale", "0")
to
karamba.setMenuConfigOption(widget, "ac_locale", 0)
line 77:
change from
karamba.setMenuConfigOption(widget, "ac_locale", "0")
to
karamba.setMenuConfigOption(widget, "ac_locale", 0)
Note:
The "0" is changed to just 0
There are a total of two instances where the changes must be made.
-----------------------------------------------------------------------------
In ckalendar.py
line 16:
change from
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
to
self.dayArray[i] = strftime("%a", (1900,1,1,0,0,0,i,1,0))[0:2]
line 30:
change from
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
to
self.dayArray[i] = strftime("%a", (1900,1,1,0,0,0,i,1,0))[0:2]
Note:
The values in the second argument enclosed by the () need to be updated in order for the line to work.
I am unsure if this is due to changes between older versions of python and python v2.4
There are also two instances where this line needs to be updated.
-----------------------------------------------------------------------------
Hopefully this will help all to successfully run this wonderful calendar theme.
My thanks to baraquda for writing this app.
-Charley
Report
seve
14 years ago
Report
seve
14 years ago
Report
charleylc
14 years ago
I need to know what you have tried (including all installation steps), what the results were, any error messages, etc.
Please post a better description of your problem, including versions of all programs involved (i.e. linux distro and version, python version, superkaramba version, and liquid kalendar version), error messages (run superkaramba from the command line with no backgrounding - don't put a & at the end - make sure you save all error messages). Make sure you follow all installation steps - there is a step that tells you how to install the required font (it might be able to be substituted by another font, but I haven't tested that).
Thanks,
-Charley
Report
seve
14 years ago
Report
seve
14 years ago
Report
seve
14 years ago
Report
seve
14 years ago
Report
digitalsimulacra
14 years ago
    self.dayArray = ["", "", "", "", "", "", ""]
    while i <= 6:
        self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
    i = i + 1
to this:
    self.dayArray = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
You can probably use whatever day names are appropriate for your system. BTW, this segment occurs twice, and I believe it's in the ckalendar.py file.
This will mess up the ability to handle multiple locales, but since you can put in whatever day names you want it shouldn't matter.
Report
janet
14 years ago
Report
Keeper
14 years ago
Traceback (most recent call last):
File "/home/keeper/Documents/Text/karamba/kalendar/kalendar.py", line 22, in ?
calendar = ckalendar.cKalendar()
File "/home/keeper/Documents/Text/karamba/kalendar/ckalendar.py", line 16, in __init__
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
ValueError: month out of range
------------------------------------------------------
What does ImportError mean?
It means that I couldn't load a python add-on for kalendar.theme
If this is a regular theme and doesn't use python
extensions, then nothing is wrong.
------------------------------------------------------
Report
phxguy
14 years ago
Traceback (most recent call last):
File "/home/phxguy/.superkaramba/kalendar/kalendar.py", line 22, in ?
calendar = ckalendar.cKalendar()
File "/home/phxguy/.superkaramba/kalendar/ckalendar.py", line 16, in __init__
self.dayArray[i] = strftime("%a", (0,0,0,0,0,0,i,0,0))[0:2]
ValueError: month out of range
can anyone help me out
Report
ogetbilo
15 years ago
Report
rcbell
15 years ago
Change: karamba.setMenuConfigOption(widget, "ac_locale", "0")
To this: karamba.setMenuConfigOption(widget, "ac_locale", 0)
And change: karamba.setMenuConfigOption(widget, "ac_locale", "0")
To this: karamba.setMenuConfigOption(widget, "ac_locale", 0)
All you're doing is changing the "0" at the end of each line to 0. Hope this helps.
Report
paxx
14 years ago
Now, I wonder, is there something I can edit in the script to make the week start in Sunday instead of Monday?
Report
rcbell
15 years ago
Report
NullMind
15 years ago
I try changing the 0 and 1 to 255, 255, 255 but the text wontshow if I do any changes there
Report
nightwriter
15 years ago
Report
sfriedrich
15 years ago
Report
spookman
15 years ago
I would like to first column of the Kalendar to show Sunday instead of Monday.. How can I change this?
Report
symbiont
15 years ago
Report
furgas
15 years ago
Report
stigster
15 years ago
See screen shot:
http://satan.abuse.cx/~stig/shot.png
Report