You are not logged in.
Try with this
#!/bin/bash
#créé par loutch
titre=$(head -1 ~/.conky/radiotray/artiste_titre.txt)
lynx --source -useragent="Googlebot-Image/1.0" "www.google.fr/search?q=$titre\&tbm=isch" | perl -pe 's!.*?<img .*?src="([^"]*)".*!$1!' > lienMiniaturefile
sed -i 's/^.* http\:/http\:/' lienMiniaturefile
sed -i '/gstatic/!d' lienMiniaturefile
lienMiniature=$(cat lienMiniaturefile)
lynx -dump "$lienMiniature" > miniatureGoogleImage
convert miniatureGoogleImage pochette.png
It uses an intermediate file to keep only the needed image url which is then passed to lynx via the lienMiniature variable.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Hello
GREAT MASTER CONKYSTADOR
it work great , i just modify convert to have the image in the radiotray folder.
#!bin/bash
#créé par loutch
#2018-12-20 Modifié par TeoBigusGeekus
titre=$(head -1 ~/.conky/radiotray/artiste_titre.txt)
lynx --source -useragent="Googlebot-Image/1.0" "www.google.fr/search?q=$titre\&tbm=isch" | perl -pe 's!.*?<img .*?src="([^"]*)".*!$1!' > lienMiniaturefile
sed -i 's/^.* http\:/http\:/' lienMiniaturefile
sed -i '/gstatic/!d' lienMiniaturefile
lienMiniature=$(cat lienMiniaturefile)
lynx -dump "$lienMiniature" > miniatureGoogleImage
convert miniatureGoogleImage ~/.conky/radiotray/pochette.png
very more TANKS &
@+
edit
here the logo.sh
#!bin/bash
#créé par loutch
#2018-12-20 Modifié par TeoBigusGeekus
titre=$(head -1 ~/.conky/radiotray/logo.txt)
lynx --source -useragent="Googlebot-Image/1.0" "www.google.fr/search?q=$titre\&tbm=isch" | perl -pe 's!.*?<img .*?src="([^"]*)".*!$1!' > lienMiniaturefil
sed -i 's/^.* http\:/http\:/' lienMiniaturefil
sed -i '/gstatic/!d' lienMiniaturefil
lienMiniatur=$(cat lienMiniaturefil)
lynx -dump "$lienMiniatur" > miniatureGoogleImag
convert miniatureGoogleImag ~/.conky/radiotray/logo.png
@+
Last edited by loutch (2018-12-20 13:31:19)
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
Anytime my friend
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Hello
it work great since 12h00 but i have this in the konsole
[loutch@localhost ~]$ conky -c ~/.conky/radiotray/l12
Conky: forked to background, pid is 17190
[loutch@localhost ~]$
Conky: desktop window (2400170) is subwindow of root window (34c)
Conky: window type - normal
Conky: drawing to created window (0x4400003)
Conky: drawing to double buffer
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
Attention : La chaîne 'User-Agent' ne contient ni "Lynx" ni "L_y_n_x"!
do that error do anthink bad ?
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
While talking about TeoBigusGeekus loutch, Hi loutch, used the phrase:
Hello
GREAT MASTER CONKYSTADOR
and thus the phrase I coined and became is passed forward to a much better Conkystador!
And rightly so since I have all but abandoned helping with conky as I insist on using conky 1.9.
Awesome stuff Teo, I tip my hat to you old friend.
====================
I have a couple of conky's that require the help of lynx as well. And a shell script that my wife has been bugging me about "forever", that I have tried a million ways to Sunday to fix¹. No go.
___________________
¹ a 'slight' exaggeration
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello
Sector11
You are also, if I can afford one of my big master conkystadors with WW, Didier-t, Theo, Ragamatrix and many others. Next to you all I am not even a padawan.
I insist on using conky 1.9.
I have in all my distribution conky 1.9 & i think like you ,version 1.10 is a big "...." .I have this problem with Mageia 5 kde .
And rightly so since I have all but abandoned helping with conky
For me it is a pity you are still an expert for conky.
Sorry for my english if the sentences are badly turned
@+
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, Conky men,
@loutch, Teo m'avait fait prendre conscience de cette entaille.
#!bin/bash
#!/bin/bash
@Teo, @loutch dear friends
Thank you so much for Yours great work. To make a long story short, it doesn't work here.
While in 1.9 (in bunsen) it is absolutely fixed and has no problems, the cover in 1.10 (siduction + archlinux) changes constantly.
I can only suppress the frequency a bit with this:
${texeci 5 ~/.conky/radiotray/pochette.sh}${texeci 2 ~/.conky/radiotray/logo.sh}
to
${texeci 2 ~/.conky/radiotray/pochette.sh}${texeci 5 ~/.conky/radiotray/logo.sh}
In all three Distri's I get in addition in the terminal still this error to lynx
conky: desktop window (2000013) is subwindow of root window (6b8)
conky: window type - normal
conky: drawing to created window (0x4e00002)
conky: drawing to double buffer
conky: forked to background, pid is 26135
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
Warnung: Die Kennung des Benutzer-Agenten enthält weder \"Lynx\" noch \"L_y_n_x\"!
conky: received SIGINT or SIGTERM to terminate. bye!
Auntie's taking me there: https://translationproject.org/PO-files … dev5.de.po
https://github.com/avsm/openbsd-lynx/bl … r/po/de.po
Apparently an extra sausage in "German".
:8 Ops, I see loutch has that, too.
Offline
Hello
For me it is a pity you are still an expert for conky.
Sorry for my english if the sentences are badly turned@+
Well, not totally abandoned, but not supporting something I do not use v1.10
And since your problem was other than conky I couldn't have helped anyway.
No worry about your English I have always understood you.
...and have a few of your conkys here too.
My conky version is a special one made for Debian distributions by a friend no longer here:
20 Dec 18 @ 12:16:55 ~
$ sho conky-all
aptitude show filename
Package: conky-all
State: installed
Automatically installed: no
Version: 1:1.9.0-6
I suspect someday it will break, but for now it is "newer" than conky v1.10 because of the "1:" in the front of it.
Last edited by Sector11 (2018-12-20 15:26:58)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
And rightly so since I have all but abandoned helping with conky as I insist on using conky 1.9.
Hi Conkystador, my friend ]:D
Even if in the meantime the 1.10 syntax has been fixed to do the reading of 1.9:
conky: Syntax error (/home/unklarer/.conky/radiotray/images/conkyrc:1: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (2000013) is subwindow of root window (6b8)
conky: window type - normal
conky: drawing to created window (0x5a00002)
conky: drawing to double buffer
conky: forked to background, pid is 2853
Nevertheless, you are right, not a single "Hobby-Conky-User" can work with it so easily anymore! It's crap in all the distributions I work with!
Offline
Re
Nevertheless, you are right, not a single "Hobby-Conky-User" can work with it so easily anymore! It's crap in all the distributions I work with! sad
that is why i downgrade to 1.90 when it is possible
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
Sector11 wrote:And rightly so since I have all but abandoned helping with conky as I insist on using conky 1.9.
Hi Conkystador, my friend ]:D
Even if in the meantime the 1.10 syntax has been fixed to do the reading of 1.9{snip}
Nevertheless, you are right, not a single "Hobby-Conky-User" can work with it so easily anymore! It's crap in all the distributions I work with!
guten Tag mein Freund unklar
Your first statement is negated by your second statement. v1.10 is NOT comparable with v1.9 syntax.
They have always had a converting script, but even that failed at time and needed "tweaking"
I suspect the change is due to the coming of Wayland and "X" going by way of the dodo bird (extinct).
So:
Conky is a system monitor for X originally based on torsmo.
will no longer apply.
But what do I know. --->>> I like "X" and I like conky v1.9
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Re
Nevertheless, you are right, not a single "Hobby-Conky-User" can work with it so easily anymore! It's crap in all the distributions I work with! sad
that is why i downgrade to 1.90 when it is possible
And in my humble opinion a smart move.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
ok guys i must leave you
@+
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
They have always had a converting script, but even that failed at time and needed "tweaking"
That's right.
I just wanted to say that you don't need to use the conversion script anymore.
You can throw the conky1.9 configuration to him and he'll make the code out of it:
conky: Syntax error (/home/unklarer/.conky/radiotray/images/conkyrc:1: '=' expected near 'yes') while reading config file.
and start the Conky (of course, if it is "simple"). actualy siduction and @loutch radiotray-conky1.9
conky -v
conky 1.10.8 compiled Tue May 15 07:41:15 UTC 2018 for Linux 4.9.0-6-amd64 x86_64
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
General:
* math
* hddtemp
* portmon
* IPv6
* Curl
* RSS
* Weather (METAR)
* Weather (XOAP)
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* eve-online
* builtin default configuration
* old configuration syntax
* Imlib2
* apcupsd
* iostats
* ncurses
* Internationalization support
* PulseAudio
Lua bindings:
* Cairo
* Imlib2
* RSVG
X11:
* Xdamage extension
* Xinerama extension (virtual display)
* Xshape extension (click through)
* XDBE (double buffer extension)
* Xft
* ARGB visual
* Own window
Music detection:
* Audacious
* MPD
* MOC
* XMMS2
Default values:
* Netdevice: eth0
* Local configfile: $HOME/.conkyrc
* Localedir: /usr/share/locale
* Maximum netdevices: 64
* Maximum text size: 16384
* Size text buffer: 256
Last edited by unklar (2018-12-20 16:00:19)
Offline
Can't post extensively right now, but don't worry about lynx's error message, it always does this when a different browser is used as a user agent.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
loutch wrote:Hello
GREAT MASTER CONKYSTADORand thus the phrase I coined and became is passed forward to a much better Conkystador!
I thought I had invented that title for you! Could be memory fuzz though...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I thought it was me!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Must have been a collective visitation or something.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
It doesn't matter who assign the term. In any case, HE is!
Offline
Hello
here a video from my conky-radiotray (must be seen in full-screen)
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