Fading Calendar

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

9
Score 83%
Description:

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

Last changelog:

8 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

8 years ago

I try this plasmoid, but it does not appear to save its configuration (number of days and colors).

Report

C

cauch

8 years ago

Hi,

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

8 years ago

Thanks a lot for answering :)

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

8 years ago

I have fixed the problem with size restoring, by simply commenting away the line in your init method that sets the size. Plasma takes care of it. The line is 121 in main.py:

#self.resize(self.param.width, self.param.height)

Report

C

cauch

8 years ago

Nice!

Many thanks.

Report

AlejandroNova

8 years ago

1. Can I have separate settings for separate calendars? I have 4 calendars, because I have one activity per desktop, 4 desktops, and one calendar per desktop. When I set the colors for each calendar, it looks pretty until I reboot or restart Plasma Desktop. After that, the last settings remain in effect for all my calendars. Please, can you correct that?

2. Can I have a separate font/size for the weekday and the day text?

Report

C

cauch

8 years ago

Finally, I've found some time to work on this.

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

8 years ago

Screenshot of your settings for the circular calendar would be nice as a hint where to start, because the description is not very helpful.

m0nk

Report

brucew

8 years ago

Tried to download.Says corrupted binary. Then did right-click save on link and tried to install, error corrupted.

Please advise.

Report

brucew

8 years ago

Again, in Konqueror, when the auto download starts it opens a window exposing the code with error, saving will be corrupted.

Then tried with Firefox. Downloaded properly but fails to install.

Report

C

cauch

8 years ago

Strange.
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

8 years ago

looks nice! tryin to compete with conky huh ;-) ?

Report

C

cauch

8 years ago

Hehe, I don't try to compete with conky, I don't want to lose :)

Report

Drisch

8 years ago

Thank!

Report

Montblanc

8 years ago

The plasmoid couldn't initialize the script. Am I missing any package?

Report

C

cauch

8 years ago

Thanks for the feedback.

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

8 years ago

Thanks for your answer! I thought python-plasma was the only bindings package I needed, but I had to install plasma-scriptengine-python too!

Now it works and it's great! ;)

Report

SeaJey

8 years ago

It would be nice to have a circular version like this one:

http://kde-look.org/content/show.php/muuh-3?content=123645

Report

C

cauch

8 years ago

I've added an option for a circular version.
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

8 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

product-maker StrikeHoreges Dec 10 2011

product-maker mikronimo Nov 02 2011

product-maker sam13 Aug 24 2011

product-maker antony-- Aug 16 2011

product-maker DenisSeidel Jul 22 2011

product-maker rwklarin Jun 16 2011

product-maker dobri Jun 15 2011

product-maker aspotashev Jun 03 2011

product-maker fineday2love May 05 2011

product-maker kjetilk Apr 29 2011

product-maker mirzaD Apr 24 2011

product-maker anoneemouse Apr 13 2011

product-maker kujules Mar 28 2011

product-maker sirsin Mar 26 2011

product-maker visualfrank Mar 24 2011

product-maker ekia Mar 18 2011

product-maker jeast Mar 05 2011

product-maker rumpa Jan 28 2011

product-maker Fxrh Jan 27 2011

product-maker Finmakin Dec 01 2010

product-maker ZomAur Nov 09 2010

product-maker Bretema Oct 14 2010

product-maker Musikolo Oct 08 2010

product-maker fhh Sep 26 2010

product-maker vitoubien Sep 26 2010

product-maker caig Sep 26 2010

product-maker SeaJey Sep 26 2010

product-maker 19 95

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.1.4
updated Sep 26 2010
added May 03 2010
downloads today
0
page views today 5