Description:

This is a plasma applet that displays the moon phases. If you click on it, then a dialog showing the dates for the next moon phases is shown. You can press the next and previous buttons to navigate to future or previous dates. Clicking the middle button returns to the current dates.

This plasma applet is based on Luna by Davide Bettio which is part of the default KDE 4.2 installation.
Last changelog:

6 years ago

v. 1.3.1 (2011-07-07):
- add Dutch translation (from Heimen Stoffels)
v. 1.3 (2011-03-14):
- add support for the "Apply" button in the configuration dialog, if available
- add support for CPack during compilation
v. 1.2.5 (2010-02-18):
- add Czech translation (from Kamil Jakubovič)
v. 1.2.4 (2009-10-06):
- added German translation (from vongoldi)
- added a label to the dialog stating the number of days since the last new moon
v. 1.2.3 (2009-08-18):
- remove bug: "Full Moon" label is not displayed (bugfix by chepioq)
- correct Italian translation (by t3ddy)
v. 1.2.2 (2009-06-23):
- remove bug: the background visibility settings are not remembered when
KDE is restarted
v. 1.2.1 (2009-06-23):
- added Italian translation (from t3ddy)
v. 1.2 (2009-06-08):
- add option to not show the Plasma background of the applet
(copied from http://www.kde-look.org/content/show.php/Luna+(with+background+selection)?content=106492)
- add option to select a different SVG file for the moon image
- use image from
http://www.kde-look.org/content/show.php/luna.svgz+(full+SVG+image)?content=106013
v. 1.1.2 (2009-05-26):
- correct mistake in French translation
- use updated luna.svgz (with new moon image) from
http://kde-look.org/content/show.php/luna.svg?content=93779
v. 1.1.1 (2009-03-27):
- added French translation
v. 1.1 (2009-03-24):
- use Plasma::Dialog instead of a custom dialog
- the dates in the dialog can now be browsed using the arrow keys and the Home button
- use luna.svgz from http://kde-look.org/content/show.php/luna.svg?content=93779

dunsscotus

8 months ago

How can I customize the text on background? Now is black text on black (breeze dark) background: not visible. Also the popup is not displayed correctly: all white, text (snow) and background (white). Thank you. Your widget is very beautiful and useful.

Report

dunsscotus

8 months ago

[solved] modified 2 files
a) main.qml: added row ->
QtControls.Label {
text: currentPhase.text
font.bold: true
font.pixelSize: 15
anchors.horizontalCenter: parent.horizontalCenter
--->>> color: "#ffffff"
}
QtControls.Label {
text: currentPhase.subText
--->>> color: "#ffffff"
anchors.horizontalCenter: parent.horizontalCenter
}
b) LunaWidget.qml: added rows
" gradient: Gradient {
GradientStop { position: 0.0; color: "silver" }
GradientStop { position: 1.0; color: "gray" }
}"
under "rectangle"

Well :D

Report

unknownSpirit

5 years ago

Interestingly I noticed today that this plasmoid does not work any more on my Kubuntu 9.10.
Plasma does not report errors, the plasmoid is shown but the moon is not drawn.
Plasmoidviewer claims the following:
Couldn't find node 0. Skipping rendering.
QPixmap::scaled: Pixmap is a null pixmap

Anyone having an idea?

Report

unknownSpirit

5 years ago

The original luna works.
Updating to last version, rebuilding and reinstalling did not work.

Report

unknownSpirit

5 years ago

If the moon in Luna2 is supposed to be completely invisible on the new moon, then these remarks truly are a thoroughly embarrassing and, unfortunately, everlasting exposure of my ignorance.
Can someone confirm my assumption please

Report

t3ddy

6 years ago

This file seems to be missing.

Report

glad

6 years ago

Thank you for noticing this. It is now included in the tarball.

Report

savnn

8 years ago

I like this plasmoid, looks amazing! Thanks for the work!

could you please add current moon day to a tooltip? Nice to know that information too.

Also, I see that "original" luna from kde is not updated for a quite now, is there a chance to replace it with your plasmoid?

Report

glad

8 years ago

Excuse my stupidity, but what do you mean with "current moon day"?

Report

savnn

8 years ago

ouch, that's probably my bad English, sorry for the confusion.

When speaking "current moon day" i mean number of days passed from new moon. Number from 1 to 28

Report

glad

7 years ago

Done in version 1.2.4.

Report

t3ddy

8 years ago

http://rapidshare.com/files/245563049/plasma_applet_luna2_it.po.tar.gz.html

Report

glad

8 years ago

Thanks for the translation, it is added to the tar file.

Report

t3ddy

8 years ago

I made an error in the previous translation, I've fixed it
http://rapidshare.com/files/252551886/plasma_applet_luna2_it.po.html

Report

t3ddy

8 years ago

another thing, today is full moon and mine doesn't displays the label "Luna Piena", I can't understand why

Report

chepioq

8 years ago

For text "pleine lune" (Luna Piena) I test one think, but the next full moon is the 6 august...

I do that:
Before compiling Luna 2, I edit the luna.cpp and I remove the 324 and 325 lines "assert( false );" and "break;"

After compiling, I launch luna2 and now I wait for the next full moon, the 6 august...
Wait and see

Report

chepioq

8 years ago

Sorry in my previous post I forgot two lines:
After remove lines 324 and 325 I add at this place:
line 324: toolTipData.setMainText( i18n("Full Moon") );
line 325: break;

And I am stupid because ultimately, I just replace "assert( false );" by "toolTipData.setMainText( i18n("Full Moon") );"

In my town it is very hot and my brain is tired...
Sorry

Report

t3ddy

8 years ago

ok, I'll try what you say, but 6 august is still far...

Report

chepioq

8 years ago

For text "pleine lune" (Luna Piena) I test one think, but the next full moon is the 6 august...

I do that:
Before compiling Luna 2, I edit the luna.cpp and I remove the 324 and 325 lines "assert( false );" and "break;"

After compiling, I launch luna2 and now I wait for the next full moon, the 6 august...
Wait and see

Report

chepioq

8 years ago

Bad news...
With this changing, no "Full moon" text appear...
I look for the code, but I am not a programmer...

Report

chepioq

8 years ago

After having looked the code, I have one solution, and I send you, t3ddy, an private message.
But the private message of kde-look seems not working...
Send me your email to my spam email:chepioq@hotmail.fr and I send you the files I have modified...

Report

chepioq

8 years ago

Hi...
Your v.1.2 version is a very good amelioration of your Luna 2.
The possibility of change the svgz image work fine with the different svgz files I made...
Congratulation...
Chepioq

Report

glad

8 years ago

Hi,
Thanks for your nice comment.
Glad

Report

foolosophy

8 years ago

Hi, could someone provide a binary for this?

Thanks in advance.

Report

tomtomtom

8 years ago

It's a shame the image isn't accurate - right now the image shows the thinnest of crescents, but it's now 4 days from the new moon, and last night I saw the crescent moon *much* thicker than this. I'll check out the source code if I get time (one day!)

Report

6 years ago

v. 1.3.1 (2011-07-07):
- add Dutch translation (from Heimen Stoffels)
v. 1.3 (2011-03-14):
- add support for the "Apply" button in the configuration dialog, if available
- add support for CPack during compilation
v. 1.2.5 (2010-02-18):
- add Czech translation (from Kamil Jakubovič)
v. 1.2.4 (2009-10-06):
- added German translation (from vongoldi)
- added a label to the dialog stating the number of days since the last new moon
v. 1.2.3 (2009-08-18):
- remove bug: "Full Moon" label is not displayed (bugfix by chepioq)
- correct Italian translation (by t3ddy)
v. 1.2.2 (2009-06-23):
- remove bug: the background visibility settings are not remembered when
KDE is restarted
v. 1.2.1 (2009-06-23):
- added Italian translation (from t3ddy)
v. 1.2 (2009-06-08):
- add option to not show the Plasma background of the applet
(copied from http://www.kde-look.org/content/show.php/Luna+(with+background+selection)?content=106492)
- add option to select a different SVG file for the moon image
- use image from
http://www.kde-look.org/content/show.php/luna.svgz+(full+SVG+image)?content=106013
v. 1.1.2 (2009-05-26):
- correct mistake in French translation
- use updated luna.svgz (with new moon image) from
http://kde-look.org/content/show.php/luna.svg?content=93779
v. 1.1.1 (2009-03-27):
- added French translation
v. 1.1 (2009-03-24):
- use Plasma::Dialog instead of a custom dialog
- the dates in the dialog can now be browsed using the arrow keys and the Home button
- use luna.svgz from http://kde-look.org/content/show.php/luna.svg?content=93779

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.3.1
updated Jul 06 2011
added Mar 02 2009
downloads today
0
page views today 0