You are not logged in.
Pages: 1
Website:
I must admit that I haven't checked this excellent script by @TBG for a long time.
The reason is probably that I only use the current moon image (0.png) in accuweather conky:
The file ~/Moongiant_conky_script/raw appears normal, except for lines 25 and 27, where an unwanted piece of HTML code has appeared.
I easily removed that by adding -e 's/°//g' to the end of this line within the moongiant script (it should look like this):
sed -i -e 's/^.*moon_day_//g' -e 's/^ *<b>//g' -e's/<\/b><br>/\n/g' -e 's/^.*Phase: <span>//g' -e 's/^.* Illumination: <span>//g' -e 's/^.*Moon Age: <span>//g' -e 's/^.*Moon Angle: <span>//g' -e 's/^.*Moon Distance: <span>//g' -e 's/^.*Sun Angle: <span>//g' -e 's/^.*Sun Distance: <span>//g' -e '/<div class=\| Full Moon Calendar\|<h2 class=/d' -e 's/\.png.*$//g' -e 's/\.jpg.*$//g' -e 's/<br>$//g' -e 's/<br>/\n/g' -e 's/Illumination: <span>//' -e 's/<\/span>$//g' -e 's/<\/span>//g' -e 's/°//g' $HOME/Moongiant_conky_script/raw
#### ^^^^ -e 's/°//g' Marens Settings - 30.11.2026You can also use -e 's/°/°/g' if you want to immediately get the " ° " sign in the file ~/Moongiant_conky_script/raw.
This was not done to preserve @TBG's original work.
As far as I can see, lines 25 and 27 refer to some angles that I don't use in my "Weather & Moon" conky:
Note *
Here is my moongiant script plugin, which displays the Moon in real time—exactly as it appears in the sky—along with its illumination angle and visibility
https://forums.bunsenlabs.org/viewtopic … 46#p128546
EDIT:
Better explained.
Last edited by marens (2026-12-01 02:05:19)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Offline
^ Did you wait for the data in Conky to update, or did you restart Conky?
I tried both. The 8-minute refresh time probably wasn't enough.
Everything's fine today.
What's puzzling me is that your moon icons are all illuminated from below. I also tested the original version from @S11, and it's not like that.
What's different about yours?![]()
Offline
^ I don't know anything about the version made by @S11.
If you look at my screenshot above, you will see that the icons are 'normal'.
This is best seen on a light blue background.
My plugin uses the same icons and displays the Moon in real time (exactly as it appears in the sky) for your location (latitude, longitude).
Astronomical calculations are used to determine the angle of illumination.
Moon visibility data for your location has been added.
The screenshot above shows Under Horizon.
I made the icons look more yellow (default), but I left the option to use the basic icons.
Now the moon images is more yellow (default).
If you want to revert old images just add '#' before the second convert command and remove '#' before first convert command.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Pages: 1