Page 1 of 1
YWTRAY is a simple current weather indicator
Posted: Tue May 02, 2023 10:23 pm
by nilsonmorales
Re: YWTRAY is a simple current weather indicator
Posted: Wed May 03, 2023 7:57 am
by pp4mnklinux
Hello everybody:
This temp indicator is really good. Installed by default in F96CE_XFCE_FUSILLI 4.4, with El Salvador as default country.
For sure, most of you wanna change it, and the process is really easy.
Right click at the icon in the taskbar and select exit.
Go to aplications folder (usr/share/aplications) and look for it (surely it is the last one at this folder, haha).
Configure your desire place and start it again
Now you have a good temp indicator at your task bar. It shows the weater using and icon, and when you need more info, you only need to put your mouse pointer on it, so a pop-up appears with info.-
Have a nice day u all.--- CHEERS
Re: YWTRAY is a simple current weather indicator
Posted: Wed May 03, 2023 12:50 pm
by Sofiya
pp4mnklinux wrote: Wed May 03, 2023 7:57 am
Hello everybody:
This temp indicator is really good. Installed by default in F96CE_XFCE_FUSILLI 4.4, with El Salvador as default country.
For sure, most of you wanna change it, and the process is really easy.
Right click at the icon in the taskbar and select exit.
Go to aplications folder (usr/share/aplications) and look for it (surely it is the last one at this folder, haha).
Configure your desire place and start it again
Now you have a good temp indicator at your task bar. It shows the weater using and icon, and when you need more info, you only need to put your mouse pointer on it, so a pop-up appears with info.-
Have a nice day u all.--- CHEERS
Info: If you are using the XFCE4 panel then it has its own Weather plugin
xfce4-weather-plugin
- https://docs.xfce.org/panel-plugins/xfc ... ugin/start
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 6:44 am
by nilsonmorales
The user @Sofiya is correct but I want to emphasize this application, it can be a very good option (70kbs) for desktop environments like jwm, icewm, etc. that do not have a weather plugin like xfce does.
conky does it, but it looks very decent in the systray
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 9:13 am
by Sofiya
nilsonmorales wrote: Fri May 05, 2023 6:44 am
The user @Sofiya is correct but I want to emphasize this application, it can be a very good option (70kbs) for desktop environments like jwm, icewm, etc. that do not have a weather plugin like xfce does.
conky does it, but it looks very decent in the systray
Does not work with Tint2 panel, the icon shows but when you hover over it there is no pop-up window.
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 10:47 am
by amethyst
Should warn users that you need to use a darker theme otherwise you may not see the icons (unless there is a way to change to the dark icon set for light backgrounds)....
Edit: Actually, you should see the icons if you use the light icons set instead of the dark icon set.
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 10:57 am
by josejp2424
Sofiya wrote: Fri May 05, 2023 9:13 am
nilsonmorales wrote: Fri May 05, 2023 6:44 am
The user @Sofiya is correct but I want to emphasize this application, it can be a very good option (70kbs) for desktop environments like jwm, icewm, etc. that do not have a weather plugin like xfce does.
conky does it, but it looks very decent in the systray
Does not work with Tint2 panel, the icon shows but when you hover over it there is no pop-up window.
jwm doesn't even have an icon.tested
hi @Sofiya
in tint2 I like to use a weater script. it uses the location of the http://openweathermap.org.
the script which is in /root/.config/tint2/executors/weather .
you must put your openwethermap api , and the location.
.
and in tint2rc. you must add these lines.
Code: Select all
#-------------------------------------
# executors 1
execp = new
execp_name =
execp_command = ~/.config/tint2/executors/weather
execp_interval = 300
execp_has_icon = 1
execp_cache_icon = 1
execp_continuous = 0
execp_markup = 1
execp_monitor = all
execp_tooltip = Current weather --> click for 3 days weather forecast
execp_lclick_command = urxvt -geometry 127x36 -e /root/.config/tint2/executors/weather-run
execp_rclick_command = urxvt -geometry 127x36 -e /root/.config/tint2/executors/weather-run
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
execp_font = DejaVu Sans Condensed 9
execp_font_color = #ffffff 100
execp_padding = 6 0
execp_background_id = 0
execp_centered = 0
execp_icon_w = 24
execp_icon_h = 24
my panel with weather.
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 11:54 am
by Sofiya
josejp2424 wrote: Fri May 05, 2023 10:57 am
Sofiya wrote: Fri May 05, 2023 9:13 am
nilsonmorales wrote: Fri May 05, 2023 6:44 am
The user @Sofiya is correct but I want to emphasize this application, it can be a very good option (70kbs) for desktop environments like jwm, icewm, etc. that do not have a weather plugin like xfce does.
conky does it, but it looks very decent in the systray
Does not work with Tint2 panel, the icon shows but when you hover over it there is no pop-up window.
jwm doesn't even have an icon.tested
hi @Sofiya
in tint2 I like to use a weater script. it uses the location of the http://openweathermap.org.
HI @josejp2424
Thanks a lot ! This is what I needed
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 12:35 pm
by mikewalsh
@nilsonmorales :-
Thank you, young sir. Works perfectly under Xenialpup 7.5 (this one has peebee's 64-bit compat SFS permanently loaded, so I don't know whether that has any effect).
Nice one!
Mike.
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 1:08 pm
by amethyst
I changed the icons by overwriting the icons in the dark folder with those of the icons in the light folder. I now have colour icons (at least I see a yellow sun now, which it is here at the moment).
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 05, 2023 3:52 pm
by amethyst
As a matter of interest - Attach a table providing the meaning of wind direction in terms of degrees. Now, I also know.
Re: YWTRAY is a simple current weather indicator
Posted: Sat May 06, 2023 8:54 am
by amethyst
The configuration file is /root/.config/ywtray/ywtray.conf. To change the icon scheme to light, exit the application, add the following line to ywtray.conf and save, restart:
To change to the dark icons scheme, repeat above mentioned steps and change to icons_dir="/opt/yww-icons/dark"
Re: YWTRAY is a simple current weather indicator
Posted: Mon May 08, 2023 10:26 am
by amethyst
Made a little utility for this app. Attached the .pet.
IMPORTANT:
1. When the application is first set up (or when a total reset is done), the icon directory may not be specified in the configuration file. If this is the case, the utility will not work because it's looking for that entry in the config file to change. So, in this case you need to add the following line to the config file:
After that the application should work fine whenever interchanging the icons theme.
2. You can use the utility when the application is already running or if it is not running yet. In both scenarios, a new instance of the application will start with your newly chosen colour scheme. You need to be online before running the app/utility.
Re: YWTRAY is a simple current weather indicator
Posted: Tue May 09, 2023 5:53 am
by amethyst
See important information previous post.
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 12, 2023 11:58 am
by Sofiya
josejp2424 wrote: Fri May 05, 2023 10:57 am
Sofiya wrote: Fri May 05, 2023 9:13 am
nilsonmorales wrote: Fri May 05, 2023 6:44 am
The user @Sofiya is correct but I want to emphasize this application, it can be a very good option (70kbs) for desktop environments like jwm, icewm, etc. that do not have a weather plugin like xfce does.
conky does it, but it looks very decent in the systray
Does not work with Tint2 panel, the icon shows but when you hover over it there is no pop-up window.
jwm doesn't even have an icon.tested
tint2-weather.tar.xz
in order for the forecast for 3 days to be displayed in your country language, add the code to the script line 21
curl -H "Accept-Language:ru" https://wttr.in
path to script : /root/.config/tint2/executors/weather.sh
Code: Select all
#!/bin/bash
program=Weather
version=1.1
year=2018
developer=computer-geek64
case $1 in
-h | --help)
echo "$program $version"
echo "Copyright $year $developer. All rights reserved."
echo
echo "Usage: weather [options]"
echo "Option Long Option Description"
echo "-h --help Show the help screen"
echo "-l [location] --location [location] Specifies the location"
;;
-l | --location)
curl https://wttr.in/$2
;;
*)
curl -H "Accept-Language:ru" https://wttr.in
;;
esac
Re: YWTRAY is a simple current weather indicator
Posted: Fri May 12, 2023 7:02 pm
by nilsonmorales
Thank your both @Sofiya and @amethyst
very nice
Re: YWTRAY is a simple current weather indicator
Posted: Sun Oct 08, 2023 8:50 pm
by nilsonmorales
Something happened in the weather API, and the application stopped working, so the developer had to make changes to the /usr/local/bin/ywtray-functions file
You can download it from here https://github.com/Dimorld/ywtray/blob/ ... -functions and replace it. thank you so much
Re: YWTRAY is a simple current weather indicator
Posted: Mon Oct 09, 2023 1:07 am
by spiritwild
Thanks, I was wondering what was broken.