You are not logged in.
^ OK, @unklar.
I tried to help even though I don't use Labwc (and Wayland).
I don't know why it doesn't work, but I have some guesses.
1) The rc.xml file is located inside the ~/.config folder and may require a LogOut/LogIn.
2) Also not sure about ' identifier="gis-weather.py" ' (or ' title="gis-weather.py" ').
* When using Wayland, you can probably get information about open windows similar to what I do with the "xwininfo" command, but my OS is different.
What works is to select 'Decorations' in the right-click menu of the window title.
It's great if you can disable the decoration for a specific application (Gis Weather).
Off topic.
I've been using devilspie2 for years for things like this.
I can easily adjust geometry, opacity, position, decoration... for each window (application) separately.
https://github.com/dsalt/devilspie2
Last edited by marens (2025-06-05 23:50:19)
If people would know how little brain is ruling the world, they would die of fear.
Offline
You can be quite stubborn and I thank you very much for your thoughtfulness and help.
Of course I have taken 1) and 2) into account.
I also tried something like this to make gis-weather only appear on workspace 1:
</windowRule>
<windowRule identifier="gis-weather.py">
<action name="SendToDesktop" to="F1" wrap="yes" serverDecoration="no" />
</windowRule>
plus, different variants.
The nice thing about labwc is that the rc.xml offers me 'Reconfigure' in both a right-click and left-click menu, making a logout/login obsolete.
In this rc.xml there is also this section:
<core>
<decoration>client</decoration>
</core>
which appears to be responsible for the above 'Decorations' and affects all windows.
devilspie2 is available as a package in unstable.
However, it is not supposed to work in wayland and I know that wayland already has a package for it (I just need to remember it). I am in no hurry. This desktop was originally installed from siduction-xfce-wayland. Which was/is a fiasco and I gradually set up labwc.
Last edited by unklar (2025-06-06 09:39:47)
Offline
However, it is not supposed to work in wayland and I know that wayland already has a package for it (I just need to remember it).
That's true.
Marked off-topic for this reason.
Author:
It may work for anything which needs X, but beyond that – well, it'd need to be ported to wayland, for a start; and that's not something which I've looked into.
If people would know how little brain is ruling the world, they would die of fear.
Offline
@unklar
Here's a little surprise for you.
Download this file:
https://workupload.com/file/LvYRVBhas5K
Then > Extract Here.
You will get a folder ~/Downloads/mozilla_bl_unklar
Open mozilla_bl_unklar Folder > Right click on index_gif.html (or index.html) > Open With Firefox Web Browser.
You will receive the weather forecast for your location in German.
If you hover over the icons, you will get a description of the weather forecast (like a tooltip) in German.
If you click on the widget, you will get a detailed weather forecast (hourly and daily).
If you like it, add it to your Firefox bookmarks.
Enjoy!
If people would know how little brain is ruling the world, they would die of fear.
Offline
Brilliant!
Very cool, thanks for that
Can you see the difference?
To @lowrider I had written in the neighboring thread, it's not the principality
You still managed the surprise!
Offline
^ I've already talked about it:
It's no coincidence that Accuweather and Gismeteo are among the Top 3 weather websites:
https://www.similarweb.com/top-websites … on/weather
The weather forecast was obtained from the website forecast7.com, but the source is OpenWeather.
EDIT
Hahaha...
Now I saw this and I have to edit the post:
To @lowrider I had written in the neighboring thread, it's not the principality.
Open the file ~/Downloads/mozilla_bl_unklar/readme.md and you will see how to change the location.
EDIT 2
This is the closest I could find:
Open the index.html and index_gif.html files with a text editor and replace:
href="https://forecast7.com/de/47d179d56/liechtenstein/"
with:
href="https://forecast7.com/de/50d8312d92/chemnitz/"
I tried Zwickau instead of Chemnitz, but I couldn't find it.
Then replace:
data-label_1="Liechtenstein"
with:
data-label_1="Lichtenstein"
Better?
EDIT 3
I finally found it here:
https://weatherwidget.io
href="https://forecast7.com/de/50d7512d63/lichtenstein/"
@unklar, you owe me a big mug of German beer.
Last edited by marens (2025-06-07 00:04:20)
If people would know how little brain is ruling the world, they would die of fear.
Offline
done
https://postimg.cc/5XbkMS9T
Two boxes of 10 liters each must be enough.
Can you tell me where the delivery should be made?
Offline
done
https://i.postimg.cc/2bnN3PXg/20250607-14h49m28s-grim.png
https://postimg.cc/5XbkMS9T
Two boxes of 10 liters each must be enough.
Can you tell me where the delivery should be made? https://www.en.kolobok.us/smiles/artist … ance-2.gif
If you click on the weather widget, you will get the delivery location:
Yes.
You have my permission to receive the package and evaluate the quality of the beer.
I think two 10 liter boxes are enough for testing.
If people would know how little brain is ruling the world, they would die of fear.
Offline
It can be even more precise (with OpenWeatherMap and an API key)
https://i.postimg.cc/ZCjS3RGJ/20250607-15h25m26s-grim.png
Let's check if this is true.
The weather forecast was obtained from the website forecast7.com, but the source is OpenWeather.
https://forums.bunsenlabs.org/viewtopic … 59#p143759
OpenWeatherMap is an online service, owned by OpenWeather Ltd, that provides global weather data via API, including current weather data, forecasts, nowcasts, and historical weather data.
https://en.wikipedia.org/wiki/OpenWeatherMap
In essence, you can think of OpenWeather as the parent company, and OpenWeatherMap as one of its main services. OpenWeatherMap is the primary way to access weather data from the company.
Conclusion:
In this case, Gis Weather (with OpenWeatherMap and API key) and my Mozilla Bunsenlabs page use the same source - OpenWeather/OpenWeatherMap.
There is no difference except that I don't need an API key because I use forecast7.com as an intermediary.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Gis Weather
The author (@RingOV - GitHub) made an update 2 days ago:
https://github.com/RingOV/gis-weather
He did it in a similar way to me here:
https://forums.bunsenlabs.org/viewtopic … 36#p143536
However, one line of my code is not needed even though the result is the same.
Open ~/Downloads/gis-weather-master/services/gismeteo.py and remove the line:
date[i] = s[1]+'.'+s[0]
Then, on the same day, he made many changes to the files gismeteo.py and accuweather.py.
I was surprised because I know AccuWeather has not been supported for a long time.
I tried and nothing changed, Accuweather is still not there, but my Gis logo in the bottom right corner is gone.
The advice for those using my settings is to ignore this and simply change the version.
Open ~/Downloads/gis-weather-master/gis-weather.py and change line 4 to:
v = '0.8.4.25'
Done.
EDIT
You may not have known that you can check the weather forecast displayed by Gis Weather by visiting meteofor.com (a fork of Gismeteo) and finding your location.
Just compare data for NOW and 7-DAY weather forecast.
Last edited by marens (2025-06-10 17:14:20)
If people would know how little brain is ruling the world, they would die of fear.
Offline
AccuWeather Conky's - Alert
It's very hot here right now.
I set it a long time ago to display the current temperature in orange (30-34°C) and red for temperatures above 35°C:
${font Ubuntu:size=22}${goto 170}\
${color FEDF08}${if_match ${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}>=30}${color orange}\
${if_match ${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}>=35}${color FF4040}\
${else}${endif}${endif}\
${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}°
This is a simulation* for other cases:
Here you have something similar for the UV Index:
https://forums.bunsenlabs.org/viewtopic … 24#p126124
Simulation *
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
Great .
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
^ Thanks, @loutch.
Ten years ago, we didn't need weather alerts (or much less).
Unfortunately, it's different now.
Anyway, here's another one.
I first saw what wind gusts of around 200 km/h looked like 3 years ago.
So now the start of my AccuWeather Conky looks like this:
${font Ubuntu:size=12}${color1} WEATHER\
${font Ubuntu:size=10:italic}${goto 188}\
${if_match ${texeci 600 sed -n '17p' $HOME/Accuweather_conky_script/curr_cond|awk '{print $1}'}>=50}${blink ${color 0098FF}Wind Gusts: ${color FF6060}${texeci 600 sed -n '17p' $HOME/Accuweather_conky_script/curr_cond}}\
${image $HOME/Accuweather_conky_script/wind-alert.png -p 165,9 -s 14x14}\
${endif}
When the Wind Gusts are greater than 50 km/h, a blinking alert appears:
If you are interested, you can download the image wind-alert.png here:
If people would know how little brain is ruling the world, they would die of fear.
Offline
AccuWeather Conky's - Alert
Let's finish with the alerts.
We all know that the original current temperature low/high icons are ugly, but you can easily replace them.
I already posted this:
https://forums.bunsenlabs.org/viewtopic … 27#p135527
It's good to have all the alerts in same page.
AccuWeather Conky:
Gis Weather shows almost the same:
Now I'm waiting for Sunday because it's really hot here.
If people would know how little brain is ruling the world, they would die of fear.
Offline
AccuWeather conky script
AccuWeather developers have made a small change to the UV Index.
Now we have a decimal number and a description inside brackets '(...)'.
It is line 9 in the file curr_cond:
1.6 (Low)
Some people might like the new style, but I don't.
The "fix" does not require changing the accuweather script.
$ sed -n '9p' $HOME/Accuweather_conky_script/curr_cond
1.6 (Low)
$ sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | awk '{print int($1+0.5), $2}' | sed 's/(//' | sed 's/)//'
2 Low
As you can see in the second command I rounded the decimal number and removed the brackets.
Conky (UV INDEX):
${texeci 600 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | awk '{print int($1+0.5), $2}' | sed 's/(//' | sed 's/)//'}
Note *
Those using my colored UV Index have the updated code here:
https://forums.bunsenlabs.org/viewtopic … 24#p126124
If people would know how little brain is ruling the world, they would die of fear.
Offline
AccuWeather conky script
Another "cosmetic" change.
At night, the UV Index does not exist and I think the " - " sign is a better choice than " 0 ".
UV INDEX: ${color}\
${if_match "${texeci 600 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | awk '{print $2}'}" == ""}-\
${else}\
${if_match "${texeci 600 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | awk '{print $2}'}" != ""}\
${texeci 600 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | awk '{print int($1+0.5), $2}' | sed 's/(//' | sed 's/)//'}\
${endif}${endif}
I set the colored UV Index the same way:
https://forums.bunsenlabs.org/viewtopic … 24#p126124
If people would know how little brain is ruling the world, they would die of fear.
Offline