You are not logged in.
Hello
@ unklar
Open-meteo für 8 Uhr morgens , dann "10H00" "11H00" ect ...
${texeci 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."8H00".CONDITION'}
Achtung im Gegensatz zu accuweather
du musst die Stunden auswählen, die du im conky sehen willst
@+
Open-meteo for 8 a.m. then "10H00" "11H00" ect
then
Attention in contrast to accuweather
you have to select the hours you want to see in the conky
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
Désolé @loutch, je ne me suis pas exprimé correctement. Je parlais du script accuweather.
Offline
Okay
${execpi 600 sed -n '7p' $HOME/Accuweather_conky_script_fr/temp/hourly}
Für die ikönen
${lua fDrawImage $HOME/Accuweather_conky_script_fr/loutch_hourly_images/hourly_1.png 10 232 70 42}
hier das Skript von marens für mein französische Version
#!/bin/bash
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_1.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_2.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_3.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_4.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_5.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_6.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_7.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_8.png
hourly_1=$(sed -n '3p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_2=$(sed -n '13p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_3=$(sed -n '23p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_4=$(sed -n '33p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_5=$(sed -n '43p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_6=$(sed -n '53p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_7=$(sed -n '63p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_8=$(sed -n '73p' $HOME/Accuweather_conky_script/temp/hourly)
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_1".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_1.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_2".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_2.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_3".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_3.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_4".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_4.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_5".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_5.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_6".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_6.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_7".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_7.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_8".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_8.png
@+
Last edited by loutch (2023-03-22 08:15:44)
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
Merci loutch, c'est fait. J'ai trouvé.
https://forums.bunsenlabs.org/viewtopic … =189&p=211
Last edited by unklar (2023-03-22 11:11:17)
Offline
@loutch
@unklar
You can change this script.
Shorter version:
Replace the rm section
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_1.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_2.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_3.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_4.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_5.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_6.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_7.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_8.png
with
rm $HOME/Accuweather_conky_script/loutch_hourly_images/*
Edit 1
My Radio Tray NG always works.
I inserted a line between the current temperature and the daily forecast:
${font Ubuntu:size=10:italic}${alignc}${color1 0098FF}Radio Tray ${color F2DA40}${texeci 5 pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}'}
Edit 2
Added Radio Tray Disabled option.
${font Ubuntu:size=10:italic}${alignc}${color 0098FF}Radio Tray \
${if_empty ${texeci 5 pacmd list-sink-inputs | grep 'Radiotray-NG'}}${color FF8080}Disabled\
${else}${color F2DA40}${texeci 5 pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}' | sed 's/-/ - /g'}${endif}
More details:
https://forums.bunsenlabs.org/viewtopic … 53#p126153
Last edited by marens (2023-03-26 13:23:22)
If people would know how little brain is ruling the world, they would die of fear.
Offline
@ marens
okay
@+
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
@marens,
many thanks!
Offline
@loutch
Very nice.
Your creativity, energy and the work you put in are incredible.
I will share with you my old conky.
You will know how to use it.
As a new conky or for implementation in an existing conky.
Europe Weather Radar Map from sat24.com
Make simple script radar_map.sh in Accuweather_conky_script folder:
#!/bin/bash
rm $HOME/Accuweather_conky_script/image.ashx?country=eu
wget -o /dev/null -P $HOME/Accuweather_conky_script -k https://www.sat24.com/image.ashx?country=eu&type=zoom&format=640x480001001&rnd=610703 &
exit
Make script executable.
Conky text:
${texeci 3600 bash $HOME/Accuweather_conky_script/radar_map.sh}${image $HOME/Accuweather_conky_script/image.ashx?country=eu -p 0,0 -s 845x615}
${voffset 260}${alignc}${font Ubuntu:size=22}${color FF6060}Europe Weather Radar Map
If people would know how little brain is ruling the world, they would die of fear.
Offline
@loutch,
peut-être comme point de départ.
Mais il n'est qu'en allemand et plus bas, il y a des sources supplémentaires.
perhaps as a starting point.
But it is only in german and further below are additional sources.
Offline
Hello
@ unklar
Danke, mein Freund, aber da ich auf 22.04 bin, fehlen zu viele alte Abhängigkeiten und die Installation ist nicht abgeschlossen .
Thank you my friend but as I am on 22.04 there are too many old dependencies missing , the installation is not done .
@+
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
Hello guys
I miss the old version of conky which allowed the click on it.
Now I have to put shortcuts in a dashboard, it works too but it's less fun.
I still managed to make something decent.
Here the normals conkys
Here with the three conky's in overlay
@+
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
Would it help to create keyboard shortcuts to Enable/Disable each conky?
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello guys
I miss the old version of conky which allowed the click on it.
@+
Are you talking about MrPeachy's "clickable" conkys?
Also falldown did a LOT of work on those as well?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello
Would it help to create keyboard shortcuts to Enable/Disable each conky?
Yes, that's right, I hadn't thought of that.
I'll look into it.
Thanks again.
@Sector11
I can't remember if it was MrPeachy
I had started to get interested in it during the making of Met30's Oblivion conky.
I had made my conky audacious click which worked like a charm.
I don't know anything about falldown's work on this subject, sorry
@+
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
RE
Hello
marens wrote:Would it help to create keyboard shortcuts to Enable/Disable each conky?
Yes, that's right, I hadn't thought of that.
I'll look into it.
Thanks again.
Done, it's true that it's more fun than with the mouse.
Now I have to write them down somewhere.
@+
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
Now I have to write them down somewhere.
Would this help?
Same keyboard shortcut for enable/disable Audacious conky.
For testing i created Audacious conky in the my HOME folder and file keyboard_shortcut_audacious:
#!/usr/bin/env bash
# Testing if conky Audacious is enabled
# Add Conky Name not Path
runningConkys=$(pgrep -a conky | awk '/Audacious/{print $1}')
if [[ -z "$runningConkys" ]]; then
# Start Conky Audacious if Disabled
# Add Conky Path
conky -q -c $HOME/Audacious &
else
# Disable Conky Audacious if Enabled
echo "$runningConkys" | xargs -n 1 kill -15
fi
Make file executable.
Set Custom Shortcut in System Settings: CTRL + ALT + A
Command: /path/to/file/keyboard_shortcut_audacious.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
@ Marens
Tanks
I used this script since a few years to launch et kill audacious & his conky, work great .
audacious.sh
#!/bin/bash
PROG_NAME1="conky -c /home/$USER/.conky/adni18/configs/audacious" # Nom du programme à démarrer/arrêter.
PROG_NAME2="/usr/bin/audacious" # Nom du programme à démarrer/arrêter.
PROCESSPID1=$(pgrep -f /home/$USER/.conky/adni18/configs/audacious) # Récupère le PID du processus.
PROCESSPID2=$(pgrep -f "usr/bin/audacious") # Récupére le PID du processus.
if [[ "$PROCESSPID1" != "" && "$PROCESSPID2" != "" ]]; then # Si les deux processus existe alors on le(s) kill.
kill $PROCESSPID1 && echo "Stop $PROG_NAME1 (PID: $PROCESSPID1)"
kill $PROCESSPID2 && echo "Stop $PROG_NAME2 (PID: $PROCESSPID2)"
else # Si aucun processus on démarre le programme.
kill $PROCESSPID1
$PROG_NAME1 &
echo "Start $PROG_NAME1"
kill $PROCESSPID2
$PROG_NAME2 &
echo "Start $PROG_NAME2"
if [[ "$PROCESSPID1" == "" || "$PROCESSPID2" == "" ]]; then # Si un des processus n'existe pas alors on le(s) kill.
kill $PROCESSPID1 && echo "Stop $PROG_NAME1 (PID: $PROCESSPID1)"
kill $PROCESSPID2 && echo "Stop $PROG_NAME2 (PID: $PROCESSPID2)"
echo "Il y a eu un souci au lancement tout a été coupé"
fi
fi
exit 0
I do the same with radiotraynd.
@+
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
Re
with conky 1.9 & lua
lua_load ~/.conky/lua/image.lua
lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/baro.lua
lua_draw_hook_pre main
lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/textwriting.lua
lua_draw_hook_post draw_text
since conky 1.10 i must create 3 same conkyrc file to launch this three lua script.
here my three lua
lua_load = '~/.conky/lua/image.lua',
lua_load = ' ~/.conky/adni18/textwriting.lua',
lua_draw_hook_post = 'draw_text',
lua_load = ' ~/.conky/adni18/baro.lua',
lua_draw_hook_pre = 'main',
Is that possible to make any lua file who launch the 3 lua file in the same conky.
Many tanks
@+
Last edited by loutch (2023-04-01 14:33:31)
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