You are not logged in.
Re
Many tanks work great with audacious
Now all I have to do is rack my brains to get it to work with Spotify.
Thanks again.
@+
Edit
Have it for spotify , just ad MediaPlayer2.spotify in active-player.list .
Many tanks .
@+
Last edited by loutch (2026-02-07 17:48:15)
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
^ It looks great.
Dark lines can be a problem because part of the text will be invisible if the background (wallpaper) is also dark.
In the file show-lyric.ini you have a color scheme (DARKEST LINE, LESS DARK LINE, HIGHLIGHTED LINE) and you can easily adapt it to any background if necessary.
If you want, you can also change the font in the same place (instead of Ubuntu).
Great job! ![]()
If people would know how little brain is ruling the world, they would die of fear.
Offline
^Thanks to you, I found a Conky to play with. This works quite well on 'carbon'. ![]()
Offline
Offline
^ Maybe it's better to make an execbar for precipitation when you already have percentages (IMO).
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
^ Maybe it's better to make an execbar for precipitation when you already have percentages (IMO).
I thought about it, but don't you think it might be a bit much 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
^ Honestly, I've never seen an execbar in weather conky.
I know you're playing around and trying to add something new, but I don't know if it's a good idea.
Anyway, I support your creativity.
If people would know how little brain is ruling the world, they would die of fear.
Offline
^ Ah, you didn't understand me.
I didn't mean to add both (precipitation + temperature).
Precipitation is already in percentages and it is easy to make an execbar.
The bar showing the Low/High temperature is not clear to me and I don't know what the orange part is.
I assume that it is the absolute value of the difference between the highest and the lowest temperature?
Visually (as an effect) it looks good in conky.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
Oki-doki .
The bar indicates the temperature range between the low and high. It moves between -15 on the far left and +40 ( temp for me in Sarreguemines )on the far right.
Here the script (well, it's a script i wrote with my limited knowledge. Just ask Gemini to correct any errors. )
for the moment it work.
#!/bin/bash
FILE_DAILY="/mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast"
# On récupère le jour (0=Aujourd'hui, 1=Demain, etc.)
JOUR=${1:-0}
[[ "$JOUR" -gt 4 ]] && JOUR=4
# --- CONFIGURATION ---
BAR_WIDTH=26 # Largeur de la barre
T_START=-15 # Température gauche (0%)
T_END=35 # Température droite (100%)
CHAR_FILL="▬" # Symbole de remplissage
CHAR_EMPTY=" " # Symbole de vide (espace)
# --- EXTRACTION ---
LINE_MAX=$((4 + (JOUR * 7)))
LINE_MIN=$((5 + (JOUR * 7)))
MAX=$(sed -n "${LINE_MAX}p" "$FILE_DAILY" | tr -dc '0-9.-')
MIN=$(sed -n "${LINE_MIN}p" "$FILE_DAILY" | tr -dc '0-9.-')
if [[ -n "$MAX" && -n "$MIN" ]]; then
# Calcul des positions (0 à BAR_WIDTH)
POS_MIN=$(awk "BEGIN {print int((($MIN - $T_START) / ($T_END - $T_START)) * $BAR_WIDTH)}")
POS_MAX=$(awk "BEGIN {print int((($MAX - $T_START) / ($T_END - $T_START)) * $BAR_WIDTH)}")
# Sécurités pour ne pas sortir du cadre
((POS_MIN < 0)) && POS_MIN=0
((POS_MAX > BAR_WIDTH)) && POS_MAX=$BAR_WIDTH
((POS_MIN > BAR_WIDTH)) && POS_MIN=$BAR_WIDTH
# Longueur de la barre flottante
LEN=$((POS_MAX - POS_MIN))
((LEN < 1)) && LEN=1
# --- CONSTRUCTION DE LA BARRE (NOUVELLE MÉTHODE) ---
BARRE=""
# 1. Espaces avant le MIN
for ((i=0; i<POS_MIN; i++)); do
BARRE="${BARRE}${CHAR_EMPTY}"
done
# 2. Le trait (Amplitude thermique)
for ((i=0; i<LEN; i++)); do
BARRE="${BARRE}${CHAR_FILL}"
done
# 3. Espaces après le MAX pour maintenir l'alignement
AFTER_LEN=$((BAR_WIDTH - POS_MAX))
for ((i=0; i<AFTER_LEN; i++)); do
BARRE="${BARRE}${CHAR_EMPTY}"
done
# Affichage final sans crochets (on les met dans le .conkyrc)
echo -e "${BARRE}"
else
# Si erreur, on renvoie une ligne vide de la bonne largeur
EMPTY_LINE=$(printf "%${BAR_WIDTH}s" "")
echo -e "${EMPTY_LINE}"
fiHere lines in conkyrc
${execpi 1800 bash /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/accuweather -f2015 -h2015}
${voffset -20}
${goto 10}${font :size=12}Folpersviller ${font :size=20}${voffset -40}${font :size=30}
${goto 30}${execi 600 sed -n '2p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/curr_cond}°C ${font}${voffset -30}
${alignr}${execi 600 sed -n '1p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_fr}${font Liberation Sans:size=8}
${alignr}↑${execi 600 sed -n '4p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ° ↓${execi 600 sed -n '5p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} °
$font ${goto 10}${cpubar cpu1 0.5,1}
${voffset -20}${font :size=8}
${goto 16}${execi 600 sed -n '1p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/time | cut -c1-2}h\
${goto 72}${execi 600 sed -n '2p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/time | cut -c1-2}h\
${goto 128}${execi 600 sed -n '3p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/time | cut -c1-2}h\
${goto 184}${execi 600 sed -n '4p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/time | cut -c1-2}h\
${goto 240}${execi 600 sed -n '5p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/time | cut -c1-2}h\
${goto 296}${execi 600 sed -n '6p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/time | cut -c1-2}h
${voffset 10}${font : size=7}
${goto 10}${execpi 600 sed -n '1p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/temperature}°/${execpi 600 sed -n '1p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/realfeel}°\
${goto 66}${execpi 600 sed -n '2p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/temperature}°/${execpi 600 sed -n '2p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/realfeel}°\
${goto 124}${execpi 600 sed -n '3p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/temperature}°/${execpi 600 sed -n '3p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/realfeel}°\
${goto 180}${execpi 600 sed -n '4p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/temperature}°/${execpi 600 sed -n '4p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/realfeel}°\
${goto 236}${execpi 600 sed -n '5p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/temperature}°/${execpi 600 sed -n '5p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/realfeel}°\
${goto 292}${execpi 600 sed -n '6p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/temperature}°/${execpi 600 sed -n '6p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/realfeel}°
$font ${voffset 5}${goto 10}${cpubar cpu1 0.5,1}${voffset 5}
${goto 10}${execi 3600 echo `date --date="0 day" | awk '{print $1}' | cut -c1-3`} ${goto 80}${execpi 600 sed -n '7p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset 2} ${goto 105}${execbar 2,30 sed -n '7p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset -2} ${execpi 600 sed -n '5p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}° ${goto 310} ${execpi 600 sed -n '4p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}°
${goto 10}${execi 3600 echo `date --date="1 day" | awk '{print $1}' | cut -c1-3`} ${goto 80}${execpi 600 sed -n '14p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset 2} ${goto 105}${execbar 2,30 sed -n '14p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset -2} ${execpi 600 sed -n '12p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}° ${goto 310} ${execpi 600 sed -n '11p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}°
${goto 10}${execi 3600 echo `date --date="2 day" | awk '{print $1}' | cut -c1-3`} ${goto 80}${execpi 600 sed -n '21p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset 2} ${goto 105}${execbar 2,30 sed -n '21p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset -2} ${execpi 600 sed -n '19p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}° ${goto 310} ${execpi 600 sed -n '18p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}°
${goto 10}${execi 3600 echo `date --date="3 day" | awk '{print $1}' | cut -c1-3`} ${goto 80}${execpi 600 sed -n '28p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset 2} ${goto 105}${execbar 2,30 sed -n '28p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset -2} ${execpi 600 sed -n '26p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}° ${goto 310} ${execpi 600 sed -n '25p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}°
${goto 10}${execi 3600 echo `date --date="4 day" | awk '{print $1}' | cut -c1-3`} ${goto 80}${execpi 600 sed -n '35p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset 2} ${goto 105}${execbar 2,30 sed -n '35p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast} ${voffset -2} ${execpi 600 sed -n '33p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}° ${goto 310} ${execpi 600 sed -n '32p' /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/daily_forecast}°
${voffset -175}
${goto 166}${color 191919}${execbar 3, 134 echo 100}${voffset -19}
${goto 166}${color ff8800}${font Monospace:size=10}${execi 900 /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Tahoe/meteo5/barre4.sh 0}${font}${voffset 2}
${goto 166}${color 191919}${execbar 3, 134 echo 100}${voffset -19}
${goto 166}${color ff8800}${font Monospace:size=10}${execi 900 /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Tahoe/meteo5/barre4.sh 1}${font}${voffset 2}
${goto 166}${color 191919}${execbar 3, 134 echo 100}${voffset -19}
${goto 166}${color ff8800}${font Monospace:size=10}${execi 900 /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Tahoe/meteo5/barre4.sh 2}${font}${voffset 2}
${goto 166}${color 191919}${execbar 3, 134 echo 100}${voffset -19}
${goto 166}${color ff8800}${font Monospace:size=10}${execi 900 /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Tahoe/meteo5/barre4.sh 3}${font}${voffset 2}
${goto 166}${color 191919}${execbar 3, 134 echo 100}${voffset -19}
${goto 166}${color ff8800}${font Monospace:size=10}${execi 900 /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Tahoe/meteo5/barre4.sh 4}${font}${voffset 2}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_2015/forecast_0.png 290 20 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/hourly_images/hourly_1.png 000 100 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/hourly_images/hourly_2.png 054 100 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/hourly_images/hourly_3.png 110 100 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/hourly_images/hourly_4.png 166 100 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/hourly_images/hourly_5.png 222 100 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/marens_hourly/hourly_images/hourly_6.png 278 100 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_2015/forecast_1.png 30 162 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_2015/forecast_2.png 30 194 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_2015/forecast_3.png 30 226 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_2015/forecast_4.png 30 258 50 30}
${lua fDrawImage /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b/Accuweather/Accuweather_conky_script/forecast_2015/forecast_5.png 30 290 50 30}
${voffset -400}@+
@+
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
^ Yes.
My assumption was pretty accurate.
I'm not familiar enough with the code because I haven't tried anything similar.
Anyway, like I said, it looks pretty good in conky.
If people would know how little brain is ruling the world, they would die of fear.
Offline