Description: This plasmoid displays the current phase of the moon.
If you click on it, a dialog appears which shows the dates of the important moon phases in the same month (last new moon, first quarter, full moon, third quarter and next new moon).
The format in which these dates are shown can be customized.
You can navigate to previous or future moon phases by clicking the arrow buttons or by pressing the arrow keys. Clicking the middle button or pressing the "Home" key returns to the current dates.
This is a port to Plasma 5 of:
Luna QML Version 1.4 https://store.kde.org/p/1002036/Last changelog:
Thanks dxtwjb for your work. The original svg artwork is low resolution. I did a quick hack of the files to get high resolution (actually smaller file size). Can't post here as did not use clearly declared public domain image of full moon but any one who has one in 80X80 png format say can do my hack on 2.0.3 file.
Actions are:
1)Find a full moon image (for your hemisphere) and resize to 80*80 with background colour to alpha (GIMP) and save as .png
2) Create an SVG embedded png file in Inkscape and copy the resulting image file extract in say KWrite. it will look something like
Decompress the package zip file
3)Edit each image found in package>contents>data manually in KWrite by pasting over all the data except the most external layer that contains the shadow for that phase of the moon. eg fully functional luna-gskbyte0.svg looks something now from the layer 1 declaration like:
4) after your manual edit of each svg file you will need to fine tune it in inkscape so size of your embedded picture matches size shadow and are exactly superimposed. eg you will need to ungroup for editing, regroup and resize group to coordinates 0,0 ,80,80.
5) create the zip file of your package and install in usual way (eg $ plasmapkg2 -i package)
Do note you have to uninstall any Luna II widget you had previously and due to image caching if you check as you go you can get old images unless you logout
Cheers
I've had a new version in work a while, held up by my non-existent drawing ability. This version is easier to tweak.
Try 2.1 - it just needs just one image (full moon). The image needs to be square with an even number of pixels per side, and the disk of the moon needs to touch each side of the image. Put the file into the data directory and edit LunaIcon.qml to match. (selecting an image file might become a config item sometime).
Ratings & Comments
6 Comments
10 10 the best
9 + Really nice work
Thanks dxtwjb for your work. The original svg artwork is low resolution. I did a quick hack of the files to get high resolution (actually smaller file size). Can't post here as did not use clearly declared public domain image of full moon but any one who has one in 80X80 png format say can do my hack on 2.0.3 file. Actions are: 1)Find a full moon image (for your hemisphere) and resize to 80*80 with background colour to alpha (GIMP) and save as .png 2) Create an SVG embedded png file in Inkscape and copy the resulting image file extract in say KWrite. it will look something like
Decompress the package zip file
3)Edit each image found in package>contents>data manually in KWrite by pasting over all the data except the most external layer that contains the shadow for that phase of the moon. eg fully functional luna-gskbyte0.svg looks something now from the layer 1 declaration like:
4) after your manual edit of each svg file you will need to fine tune it in inkscape so size of your embedded picture matches size shadow and are exactly superimposed. eg you will need to ungroup for editing, regroup and resize group to coordinates 0,0 ,80,80.
5) create the zip file of your package and install in usual way (eg $ plasmapkg2 -i package)
Do note you have to uninstall any Luna II widget you had previously and due to image caching if you check as you go you can get old images unless you logout
Cheers
I've had a new version in work a while, held up by my non-existent drawing ability. This version is easier to tweak. Try 2.1 - it just needs just one image (full moon). The image needs to be square with an even number of pixels per side, and the disk of the moon needs to touch each side of the image. Put the file into the data directory and edit LunaIcon.qml to match. (selecting an image file might become a config item sometime).
Can you provide a pre-compiled one? I compiled it myself, and it did not work on my system.
I'll take a look. I think its the structure inside the zip is different to others.