Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
6.8

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:

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-1:
- 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-1:
- 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-0:
- 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:ialog 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


Ratings & Comments

31 Comments

dunsscotus

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.

dunsscotus

[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

unknownSpirit

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?

unknownSpirit

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

unknownSpirit

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

t3ddy

This file seems to be missing.

glad

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

savnn

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?

glad

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

savnn

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

glad

Done in version 1.2.4.

t3ddy

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

glad

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

t3ddy

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

t3ddy

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

chepioq

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

chepioq

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

t3ddy

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

chepioq

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

chepioq

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

chepioq

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

chepioq

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

glad

Hi, Thanks for your nice comment. Glad

foolosophy

Hi, could someone provide a binary for this? Thanks in advance.

tomtomtom

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!)

Pling
0 Affiliates
Details
license
version 1.3.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Plasma 4 Extensions from glad:

Luna QML
glad
last update date: 12 years ago

Score 8.1

AppMenu QML
glad
last update date: 12 years ago

Score 8.5

WindowList QML
glad
last update date: 12 years ago

Score 7.6

LockKeysState QML
glad
last update date: 13 years ago

Score 7.8

Qonjugator
glad
last update date: 14 years ago

Score 6.8

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 12 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0