
Luna 2
Source (link to git-repo or to original if based on someone elses unmodified work):
This plasma applet is based on Luna by Davide Bettio which is part of the default KDE 4.2 installation.
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
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.
[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
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?
The original luna works. Updating to last version, rebuilding and reinstalling did not work.
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
This file seems to be missing.
Thank you for noticing this. It is now included in the tarball.
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?
Excuse my stupidity, but what do you mean with "current moon day"?
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
Done in version 1.2.4.
http://rapidshare.com/files/245563049/plasma_applet_luna2_it.po.tar.gz.html
Thanks for the translation, it is added to the tar file.
I made an error in the previous translation, I've fixed it http://rapidshare.com/files/252551886/plasma_applet_luna2_it.po.html
another thing, today is full moon and mine doesn't displays the label "Luna Piena", I can't understand why
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
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
ok, I'll try what you say, but 6 august is still far...
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
Bad news... With this changing, no "Full moon" text appear... I look for the code, but I am not a programmer...
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...
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
Hi, Thanks for your nice comment. Glad
Hi, could someone provide a binary for this? Thanks in advance.
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!)