You are not logged in.
Offline
I have divided the Currently section into two parts.
Try:
${goto 45}${voffset -15}Currently:
${goto 45}${execpi 90 sed -n '1p' $HOME/Accuweather_RSS_conky_script/weather | awk '{$NF="";sub(/[ \t]+$/,"")}1' | awk '{$1=""; print $0}' | awk '{print substr($0,2)}' | cut -c1-30} ${execpi 90 sed -n '1p' $HOME/Accuweather_RSS_conky_script/weather | awk 'NF>1{print $NF}' | sed 's/C/°C/g'}
Just set ${voffset -15} because I'm using Forecast_Images_2016.
This will give you a ° sign in the current section.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Moon inside Accuweather_conky_script
We already have a great Moongiant_conky_script made by @TBG.
I have managed (for now) to maintain it and even improve it.
The script now shows what the moon looks like in the sky in real time for your location.
In my accuweather conky I only use the 0.png image:
I tried to look for that image elsewhere because I don't need the rest of the data for my accuweather conky.
I created a new script that works great.
1) Inside Accuweather_conky_script create a moon folder
2) Open the moon folder and create a moon file (script):
#!/usr/bin/env bash
## Important:
# Visit page: https://www.timeanddate.com/astronomy/france/paris and find your country and city.
# Just type in search field your City Name and click on PopUpMenu.
# Don't forget to replace the address with your own (instead of Paris, France)
# Your address format must be the same as below
address="https://www.timeanddate.com/astronomy/france/paris"
image_address=$(curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' "$address" | grep -o '[^ ]*src="/scripts/moon.php?i=[^ ]*' | awk -F'"' '{print $2}' | sed 's/amp;//g')
## Control
# echo $image_address
#### Moon Image
## Download
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0' -o $HOME/Accuweather_conky_script/moon/moon.png "https://www.timeanddate.com$image_address"
## Yellow Moon
convert $HOME/Accuweather_conky_script/moon/moon.png +level-colors ,#d4c240 $HOME/Accuweather_conky_script/moon/moon2.png
3) At the beginning of the script you have instructions on how to change the address (replace Paris, France with your own)
4) Make the script executable.
Done.
Test the script (terminal):
$ bash $HOME/Accuweather_conky_script/moon/moon
Did you get this:
All that's left is to run the script in your accuweather conky and use the moon image:
${texeci 3600 bash $HOME/Accuweather_conky_script/moon/moon}
EDIT
Added User-Agent: Mozilla for curl commands.
Last edited by marens (2025-03-20 23:24:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
@loutch
Hey Loutch are you around?
I checked out the data available from the website data scrape, and I see that there is an hourly precipitation chance percentage displayed over a 12 hour period.
https://forums.linuxmint.com/viewtopic. … 4#p2609834
I solved the precipitation (hourly) two years ago:
https://forums.bunsenlabs.org/viewtopic … 43#p126543
At that time, I had not yet created my hourly forecast plugin.
Find the line:
#RealFeel
cat $HOME/Accuweather_conky_script/hourly | grep -A 1 'RealFeel®' | grep '°' | sed 's/^[ \t]*//' | sed -r 's/.{6}$//' > $HOME/Accuweather_conky_script/marens_hourly/realfeel
Add below:
#Precipitation
cat $HOME/Accuweather_conky_script/hourly | grep -A 2 'class="precip"' | grep '%' | sed 's/^[ \t]*//' | sed 10q > $HOME/Accuweather_conky_script/marens_hourly/precipitation
You will get ~/Accuweather_conky_script/marens_hourly/precipitation file with precipitation for the next 10 hours.
If people would know how little brain is ruling the world, they would die of fear.
Offline
#### Marens hourly
The script was updated today.
https://forums.bunsenlabs.org/viewtopic … 30#p128130
If people would know how little brain is ruling the world, they would die of fear.
Offline
Gis Weather
I love it when there are no posts here for a long time.
That's how I know all of @TBG's scripts are working fine.
However, Gis Weather is still my favorite weather app and has been on my desktop for about 10 years.
https://github.com/RingOV/gis-weather
I added the GIS logo (bottom right) a long time ago for those who use the seven-day forecast:
https://forums.bunsenlabs.org/viewtopic … 63#p128763
I modified it a bit tonight and changed the position slightly.
Notes *
Download the logo and rename it to gis_logo.png.
Copy/paste the logo into the Gis Weather theme you are using.
That part now looks like this in the gis-weather.py file:
# Marens Settings - Add Gis Weather Logo Bottom Right
self.draw_scaled_image(cr, x0+180, y0+128, self.find_icon('gis_logo'), 65, 65)
# End Marens Settings
If people would know how little brain is ruling the world, they would die of fear.
Offline
This is how Gis Weather looks on my desktop now:
I made a lot of changes that you can only find here on the BL forums.
Functional ones are especially important because they don't exist in the original version of Gis Weather:
CLM icon when there is no wind
Moon block
Real feel (temperature)
Gis logo
There are more here:
https://forums.bunsenlabs.org/viewtopic … 23#p128723
I really don't need a better weather app.
Of course, @TBG's weather scripts are also great because they allow for personalization:
https://forums.bunsenlabs.org/viewtopic … 68#p134968
Last edited by marens (2025-05-10 01:48:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Gis Weather
Another problem with the wrong date.
Gismeteo developers have changed the code again.
Open ~/Downloads/gis-weather-master/services/gismeteo.py and replace:
# day of week, date
day = re.findall('<day.*? date="(.*?)"', source)[1:]
# day.pop(0)
for i in range(len(day)):
dt1 = datetime.strptime(day[i], '%Y-%m-%d')
day[i] = dt1.strftime('%a')
date = re.findall('<day.*? date=".*?-(.*?)"', source)[1:]
# date.pop(0)
for i in range(len(date)):
s = date[i].split('-')
With:
# day of week, date
day = re.findall('<day.*? date="(.*?)"', source)
# day.pop(0)
for i in range(len(day)):
dt1 = datetime.strptime(day[i], '%Y-%m-%d')
day[i] = dt1.strftime('%a')
date = re.findall('<day.*? date=".*?-(.*?)"', source)
# date.pop(0)
for i in range(len(date)):
s = date[i].split('-')
date[i] = s[1]+'.'+s[0]
Last edited by marens (2025-05-31 04:08:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Gis Weather
OK.
After a few days of testing, I can say that now everything is fine.
Gismeteo developers have improved the service.
Previously, data was updated every few hours.
Now the data is updated on the server every hour.
You can easily track this by enabling Menu > Preferences > View > Show weather retrieval time.
Look at the top right corner of the Gis Weather window.
This helps the night icons appear immediately after sunset and the first update after that.
So far the data has been very similar to that in AccuWeather conky, but I believe it will be even better now.
It's no coincidence that Accuweather and Gismeteo are among the Top 3 weather websites:
https://www.similarweb.com/top-websites … on/weather
If people would know how little brain is ruling the world, they would die of fear.
Offline
^ Yes, there is no new release.
The author has not yet fixed the Gis Weather.
Last time it took five months for a new release.
I fixed it a few days ago.
https://forums.bunsenlabs.org/viewtopic … 36#p143536
I hope you find a way to remove the window title.
Sorry, I don't use Wayland/Labwc.
EDIT
Open Terminal and try:
env GDK_BACKEND=x11 python3 "/home/unklar/Downloads/gis-weather-master/gis-weather.py"
Note *
I assumed your user_name was unklar and the path to gis-weather.py.
If it works, create the file ~/.local/share/applications/gis-weather.desktop:
[Desktop Entry]
Name=Gis Weather
Exec=env GDK_BACKEND=x11 python3 "/home/unklar/Downloads/gis-weather-master/gis-weather.py"
Type=Application
Terminal=false
Icon=/home/unklar/Downloads/gis-weather-master/icon.png
Comment=Weather widget
Note *
Please check your user_name and path again.
You should now have Gis Weather in the menu.
Last edited by marens (2025-06-03 23:32:00)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Thank you!
I had to adjust the path a bit and was surprised myself that it works with wayland and fuzzel.
env GDK_BACKEND=wayland python3 "/home/unklar/Öffentlich/gis-weather-master/gis-weather.py"
At the moment I am still looking for the packages
libvrsg
libindicator3
in debian, because they are 'missing' in the terminal of gis-weather.
Last edited by unklar (2025-06-03 19:04:13)
Offline
Thank you!
I had to adjust the path a bit
and was surprised myself that it works with wayland and fuzzel.
env GDK_BACKEND=wayland python3 "/home/unklar/Öffentlich/gis-weather-master/gis-weather.py"
https://i.postimg.cc/gwr29k4Y/20250603-20h47m35s-grim.png
At the moment I am still looking for the packages
libvrsg
libindicator3
in debian, because they are 'missing' in the terminal of gis-weather.
^ Nice.
It looks very good, but I like it without the window title (decoration buttons).
A right click is enough to open a Menu where you have the option to close it if necessary or to adjust everything else.
As far as I can see, the date for the next 3 days is wrong.
Did you fix this?
https://forums.bunsenlabs.org/viewtopic … 36#p143536
You can also see dependencies here:
https://github.com/RingOV/gis-weather#dependencies
Good luck!
EDIT
Now I see in your screenshot that the current weather is +24°C (top middle).
I assume it's OpenWeather.
It never works properly (for my location).
Last edited by marens (2025-06-03 23:48:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
^ Nice.
It looks very good, but I like it without the window title (decoration buttons).
A right click is enough to open a Menu where you have the option to close it if necessary or to adjust everything else.
A solution is still pending...
As far as I can see, the date for the next 3 days is wrong.
Did you fix this?
https://forums.bunsenlabs.org/viewtopic … 36#p143536
I don't see a wrong date.
You can also see dependencies here:
https://github.com/RingOV/gis-weather#dependencies
It was just that gir1.2-rsvg-2.0 was not installed. Thank you very much.
EDIT
Now I see in your screenshot that the current weather is +24°C (top middle).
I assume it's OpenWeather.
It never works properly (for my location). big_smile
The above is chubin's wttr.in
Offline
I don't see a wrong date.
Yesterday was Tuesday 03.06.
You should get the forecast for the next 3 days: 04.06, 05.06 and 06.06.
Instead you have 05.06, 06.06 and 07.06.
Did you fix this?
https://forums.bunsenlabs.org/viewtopic … 36#p143536
I think it's clearer now.
If people would know how little brain is ruling the world, they would die of fear.
Offline
You are right!
I sometimes lose track of time too (when you're always on vacation )
Corrected it. Thank you very much!
Offline
marens wrote:^ Nice.
It looks very good, but I like it without the window title (decoration buttons).
A right click is enough to open a Menu where you have the option to close it if necessary or to adjust everything else.A solution is still pending...
I don't use Labwc, but maybe this will help you:
https://eu90h.com/disabling-window-deco … labwc.html
Open ~/.config/labwc/rc.xml file and try:
<windowRules>
<windowRule identifier="gis-weather.py" serverDecoration="no" />
</windowRules>
or:
<windowRules>
<windowRule title="gis-weather.py" serverDecoration="no" />
</windowRules>
Note *
I can't test that.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Unfortunately, this does not work here.
What works is to select 'Decorations' in the right-click menu of the window title.
Offline