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:

2.0.4 30 days ago

Added some changes from 2.1 - maintain circular aspect when resized on desktop, information window stretches to fit, and some translations (fr, ru) added

ChaseKiwi

3 months ago

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

Report

dxtwjb

3 months ago

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

Report

mzsgmailcom

6 months ago

Can you provide a pre-compiled one?
I compiled it myself, and it did not work on my system.

Report

dxtwjb

6 months ago

I'll take a look. I think its the structure inside the zip is different to others.

Report

2.0.4 30 days ago

Added some changes from 2.1 - maintain circular aspect when resized on desktop, information window stretches to fit, and some translations (fr, ru) added

2.1-beta3 1 month ago

Changes to the configuration dialog: use arrows to select the image, one image is a plain disk (colour can be picked), the calibration marks are now optional.

Localisation is working. The translations need some work if someone wants to contribute ...

The image should match the times of the quarters better than 2.1-beta2.

2.1-beta2 1 month ago

Pick the lunar image from a list held in ImageChoices.qml.

2.0.3 4 months ago

- stop trampling over theme
- fix tooltips for Qt5.5

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
2.0.4
updated Aug 06 2017
added Dec 14 2016
downloads today
0
page views today 0