You are not logged in.
@ loutch
if you only knew how many of your conkys have inspired me.
We have both been at it a long time.
I prefer your "Radio images if no cover or title found" to the one the script found for me:
I only ran pochette.sh, the conky is not converted to v1.9 yet and no radiotray {yet}.
$ sho radiotray
alias = aptitude show filename
Package: radiotray
Version: 0.7.3-6
State: not installed
??
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ s11
The version of this script is for radiotray-ng , it doesn't work as well as the old one which was really going
for a cover.
Sorry
@+
Last edited by loutch (2021-07-04 20:01:39)
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
C'est bon j'ai installé 'radiotray' et cela a fonctionné une fois. Ne me laisserait pas changer de station.
??
J'ai donc quelques explorations à faire.
Pas besoin de t'excuser, ce n'est pas de ta faute.
============
That's OK I installed 'radiotray' and it worked once. Would not let me change stations.
??
So I have some exploring to do.
No need to apologize, not your fault.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Re
Bien , mais cela me chagrine quand même un peu ;
On avait fait un truc génial avec google mais bon faut faire avec .
Bon courage pour radiotray .
===========================================================
Good, but I'm a bit worried about this;
We had done a great thing with google but you have to deal with it.
Good luck with radiotray.
@+
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
Bon courage pour radiotray.
Ooo ooo! My high-school French is as bad as my high-school German and Spanish! Good courage, so good luck with Radiotray!
Good luck with radiotray.
God dammit!
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Online
@Teo,
I need your help again. It's about your script for my radio station "SwissPop".
As soon as a special character appears in the song title, I get such output in the files:
current playing
/wo/covers/c50x50/2347-50x50.jpg
Je t'attends <--the bug
Johnny Hallyday
correct: temp
Johnny Hallyday - Je t'attends
Thanks!
Offline
I have returned! and my conky has too!
took a bit of debugging, and converting, but I was able to use the original one I've used prior to mid 2017.
Only difference is I added a background just so I don't have to worry about the colors clashing with wallpapers too much, and more threads to take into account.
config:
conky.config = {
double_buffer = true,
background = true,
use_xft = true,
font = 'Bitstream Vera Sans Mono:bold:size=10',
xftalpha = 0.8,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_argb_value = 60,
own_window_colour = 'black',
own_window_hints = 'undecorated,below,skip_taskbar,sticky,skip_pager',
minimum_width = 350, minimum_height = 350,
maximum_width = 350,
minimum_width = '250',
draw_shades = false,
draw_outline = false,
draw_borders = false,
stippled_borders = 0,
border_margin = '6',
border_width = 1,
default_color = 'green',
default_shade_color = 'lightgrey',
default_outline_color = 'green',
xinerama_head = 3,
alignment = 'top_right',
gap_x = 20,
gap_y = 20,
no_buffers = true,
uppercase = false,
};
conky.text = [[
${ALIGNR}${time %a %b %d %I:%M%P}
${ALIGNR}$uptime
cpu
${ALIGNR}${cpu cpu1}% ${cpu cpu2}% ${cpu cpu3}% ${cpu cpu4}%
${ALIGNR}${cpu cpu5}% ${cpu cpu6}% ${cpu cpu7}% ${cpu cpu8}%
${ALIGNR}${cpu cpu9}% ${cpu cpu10}% ${cpu cpu11}% ${cpu cpu12}%
${ALIGNR}${exec sensors | grep 'Tdie' | awk '{print $2}'}
memory
${ALIGNR}$memperc% $mem/$memmax
storage
${ALIGNR}/ ${fs_free /}/${fs_size /}
${ALIGNR}/home ${fs_free /home}/${fs_size /home}
${ALIGNR}/opt ${fs_free /opt}/${fs_size /opt}
enp37s0
up ${ALIGNR}${upspeed enp37s0} /s
down ${ALIGNR}${downspeed enp37s0} /s
wg0
up ${ALIGNR}${upspeed wg0} /s
down ${ALIGNR}${downspeed wg0} /s
]];
if there are any config values I can snip snip, let me know!
Offline
Hello
@ unklar
Yoy must ad this in your script
sed -i -e 's/\'/ /g' $HOME/pathto your script.
it work for me in accuweather french script.
@+
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
^^@loutch,
Thank you!
Where should I insert this? https://forums.bunsenlabs.org/viewtopic … 68#p111768
Offline
@C#Coder4ever
Thank you for your beautiful conky.
A few "remarks"
My terminal say:
unklar@francescoPC:~$ conky -c ~/codever10 &
[1] 10219
unklar@francescoPC:~$ conky: Invalid value of type 'string' for setting 'minimum_width'. Expected value of type 'number'.
conky: warning: invalid head index, ignoring head settings
conky: warning: invalid head index, ignoring head settings
conky: desktop window (6b4) is root window
conky: window type - normal
conky: drawing to created window (0x4800002)
conky: drawing to double buffer
conky: Unknown setting 'border_margin'
conky: forked to background, pid is 10220
conky: obj->data.i 5 info.cpu_count 4
conky: attempting to use more CPUs than you have!
^C
xinerama_head = 3,
to
--xinerama_head = 3,
this is for multi-monitor operation in the conky. If you use only one monitor, then comment it out.
otherwise:
minimum_width = 350, minimum_height = 350,
maximum_width = 350,
minimum_width = '250',
to
minimum_width = 250, minimum_height = 0,--350,
maximum_width = 250,
--minimum_width = '250',
if you want to make the conky window smaller
minimum_height = 0,this makes the conky window "dynamic" the more entries to it
come
border_margin = '6',
to
border_margin = 6,
${ALIGNR}
to
${alignr}
conky: obj->data.i 5 info.cpu_count 4
conky: attempting to use more CPUs than you have!
without meaning for you (I have only 4 CPU)
I hope my humble help is welcome to you.
Last edited by unklar (2021-07-12 15:41:22)
Offline
@ unklar
Normalerweise hier vor den fi
#!/usr/bin/env bash
line_1=$(sed -n 1p temp)
curr_playing=$(audtool current-song-tuple-data title)
if [[ $line_1 != $curr_playing ]]; then
echo $curr_playing > temp
wget -q -O current_playing "https://www.radioswisspop.ch/en"
sed -i '/<div class="current-airplay">/,/<div class="vol-ctr hidden-md hidden-lg">/!d' current_playing
sed -i -e 's/^.*"titletag">//' -e 's/^.*"artist">//' -e 's/^.*src="//' current_playing
sed -i -e 's/<\/span>//g' -e 's/" \/>//g' -e '/<\|>/d' -e '/^ *$/d' current_playing
wget -q -O current_playing_thumb.jpg "https://www.radioswisspop.ch$(sed -n 1p current_playing)"
sed -i -e 's/\'/ /g' $HOME/path to your script.
fi
@+
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
@unklar
Thanks for the tips!
Yeah I have multiple monitors, and the conky wasn't showing up in the desired location, so I used that line to nudge it in the proper spot.
but yeah, anything to make the configuration file worth saving, the old config was definitely needing an update lol.
Offline
Yeah I have multiple monitors, and the conky wasn't showing up in the desired location, so I used that line to nudge it in the proper spot.
^^Strictly, according to Adam Ries (and the Conky function), that's the 4th monitor with you. lol
xinerama_head = 3,
Please note what @PackRat has tested here.
Offline
^@loutch, cela ne veut pas vraiment fonctionner de cette façon, car l'apostrophe est maintenant entièrement supprimée, par ex.
/wo/covers/c50x50/1443685-50x50.jpg
That s When (Taylor s Version) <-- no OK
Taylor Swift feat. Keith Urban
Taylor Swift feat. Keith Urban - That's When <-- OK
-------------------------------------
/wo/covers/c50x50/255475-50x50.jpg
Janie s Not Alone <-- no OK
Gotthard
Gotthard - Janie's Not Alone <-- OK
@loutch, it doesn't really want to work that way, because the apostrophe is now cut out completely, e.g.
Offline
@ unklar
Oups
hier das ist es
sed -i -e 's/\'/'"'"'/g' $HOME/...
@+
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
C#Coder4ever wrote:Yeah I have multiple monitors, and the conky wasn't showing up in the desired location, so I used that line to nudge it in the proper spot.
^^Strictly, according to Adam Ries (and the Conky function), that's the 4th monitor with you. lol
![]()
xinerama_head = 3,
Please note what @PackRat has tested here.
Makes sense, I only have 3 monitors, but that is my workaround to have the conky be on the top right-most monitor lol.
might also help to not mix different resolution monitors
Offline
@ unklar
Oups
hier das ist es
sed -i -e 's/\'/'"'"'/g' $HOME/...
@+
BINGO, @loutch !
C'était tout, merci.
Offline
unklar wrote:C#Coder4ever wrote:Yeah I have multiple monitors, and the conky wasn't showing up in the desired location, so I used that line to nudge it in the proper spot.
^^Strictly, according to Adam Ries (and the Conky function), that's the 4th monitor with you. lol
![]()
xinerama_head = 3,
Please note what @PackRat has tested here.
Makes sense, I only have 3 monitors, but that is my workaround to have the conky be on the top right-most monitor lol.
might also help to not mix different resolution monitors
Thanks!
Offline
loutch wrote:@ unklar
Oups
hier das ist es
sed -i -e 's/\'/'"'"'/g' $HOME/...
@+
BINGO, @loutch !
C'était tout, merci.
De rien pour une fois que c'est moi qui peut aider.
Gern geschehen, ausnahmsweise bin ich derjenige, der helfen kann.
@+
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, mon ami.
Offline