
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
A simple plasmoid displaying the days of the calendar in one column, with several fading options.
No mouse or keyboard interactions.
Quite useless, only intended to decorate the desktop.
update version 0.1.1
A new option: "circle shape" was been added.
The configuration is however a bit tricky: the general option "origin" defines the center of the circle, and the x position should then be negative (let's say -600). The size of the rectangle and the text horizontal shift should then be higher to appear on the screen (let's say 630 and 640).
Space between rectangle turns out to be useless in this "circle" configuration, and you have to play with "angle" and "rectangle width" to get a proper plain background.
Todo list:
* "right side of the screen" option
* other options
10 years ago
update version 0.1.1: circle shape
update version 0.1.2: small debug, plasma background
update version 0.1.3: the plasma background theme can be used for the rectangles
update version 0.1.4:
- WE days
- default color = plasma theme color
- fix the config for multiple instances (with an ugly workaround)
CAUTION: this version resets the config parameters w.r.t. the old versions
10 years ago
update version 0.1.1: circle shape
update version 0.1.2: small debug, plasma background
update version 0.1.3: the plasma background theme can be used for the rectangles
update version 0.1.4:
- WE days
- default color = plasma theme color
- fix the config for multiple instances (with an ugly workaround)
CAUTION: this version resets the config parameters w.r.t. the old versions
anderslund
10 years ago
Report
cauch
10 years ago
I've changed the way of dealing with config in the latest version (to satisfy other demands), and I guess what I have done is not clean at all.
However, it seems to work on KDE 4.5.5, but maybe the previous or further versions don't deal with plasmoid id as I was expecting.
Can you provide me the kde version you are using ? (and do you use a lot of other plasmoids ? does this problem appear also when this plasmoid is the only one running ? ...)
If you want to fix this quickly, you can go back to the previous way of dealing with config by editing the main.py file (~/.kde/share/apps/plasma/plasmoids/fading-calendar/contents/code)
Just change:
("settings_"+self.pid)
into
("settings")
on lines: 20, 55, 70 and 98
(but then, the problem raised previously (no different config for multiple plasmoid) reappears)
I will try to find a better solution, but unfortunately, I don't have time for the moment to dig into kde and qt docs or to spend a lot of time in experimenting myself.
Report
anderslund
10 years ago
Currently, the only thing that is not saved appears to be size, but i am unsure why it didn't just save. Maybe kde crashes during shotdown, it sometimes does. But other applets does save their config without problems - maybe they do so by saving immediately? most applets seems to use plasma for saving their configuration, fading calender does not.
Apart from that, I do like your applet, it provides valuable information in a relatively discrete manner :)
Report
anderslund
10 years ago
#self.resize(self.param.width, self.param.height)
Report
cauch
10 years ago
Many thanks.
Report
AlejandroNova
10 years ago
2. Can I have a separate font/size for the weekday and the day text?
Report
cauch
10 years ago
1. Done. It's an ugly workaround, but it works and I haven't found any documentations on the subject (maybe I haven't seek enough).
2. Done. The "w-e days" style can be customized. And if today is a w-e day, the "Today" style is applied.
Report
bitcrazy
10 years ago
m0nk
Report
brucew
10 years ago
Please advise.
Report
brucew
10 years ago
Then tried with Firefox. Downloaded properly but fails to install.
Report
cauch
10 years ago
When downloaded with firefox, in a terminal, what is the result of:
$ plasmapkg -i *fading-calendar.plasmoid
A .plasmoid file is simply a zipped file. You can also try to open it:
$ ark *fading-calendar.plasmoid
You can also try to install it via the plasmoid panel:
http://userbase.kde.org/images.userbase/7/7f/Plasma_InstallingPlasmoids_DownloadNew.png
Report
TheRob
10 years ago
Report
cauch
10 years ago
Report
Drisch
10 years ago
Report
Montblanc
10 years ago
Report
cauch
10 years ago
Hum, do you have more info ?
What is the error message in a terminal when you try:
plasmapkg -i ./fading-calendar.plasmoid
plasmoidviewer fading-calendar
It's a python script, it then needs pyKDE4, pyQt4 and pyKDE4.plasma
Try installing kdebase-workspace-python-applet or something similar.
Report
Montblanc
10 years ago
Now it works and it's great! ;)
Report
SeaJey
10 years ago
http://kde-look.org/content/show.php/muuh-3?content=123645
Report
cauch
10 years ago
The config in this mode is then a bit messy, but there are explanations in the description.
It's not yet as sexy and flexible as what conky can do, but it's my first plasmoid.
Feel free to hack it.
Report