You are not logged in.

#981 2018-12-20 10:51:51

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Show us your conky

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

#982 2018-12-20 11:04:09

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

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

#983 2018-12-20 12:18:31

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Show us your conky

Anytime my friend wink


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

#984 2018-12-20 13:25:36

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

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

#985 2018-12-20 13:39:49

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

While talking about TeoBigusGeekus loutch, Hi loutch, used the phrase:

loutch wrote:

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

#986 2018-12-20 14:47:48

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

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

#987 2018-12-20 15:02:49

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: Show us your conky

Hello, Conky men,

@loutch, Teo m'avait fait prendre conscience de cette entaille.

#!bin/bash
#!/bin/bash

   wink



@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.   big_smile

Offline

#988 2018-12-20 15:23:41

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

loutch wrote:

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

#989 2018-12-20 15:25:29

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: Show us your conky

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:

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!  sad

Offline

#990 2018-12-20 15:35:52

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

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

#991 2018-12-20 15:37:46

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

unklar wrote:
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!  sad

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  big_smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#992 2018-12-20 15:41:45

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

loutch wrote:

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

#993 2018-12-20 15:49:09

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

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

#994 2018-12-20 15:49:53

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: Show us your conky

Sector11 wrote:

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").  wink 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

#995 2018-12-20 21:56:04

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Show us your conky

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

#996 2018-12-21 02:36:07

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,550
Website

Re: Show us your conky

Sector11 wrote:
loutch wrote:

Hello
GREAT MASTER CONKYSTADOR

and 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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

#997 2018-12-21 03:44:33

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Show us your conky

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

#998 2018-12-21 05:11:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,550
Website

Re: Show us your conky

dGjnqCl.png

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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

#999 2018-12-21 10:18:49

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,640

Re: Show us your conky

lol lol

It doesn't matter who assign the term. In any case, HE is!  tongue

Offline

#1000 2018-12-21 10:28:57

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

here a video from my conky-radiotray (must be seen in full-screen)

https://drive.google.com/open?id=10nzyM … Ks2ASZeYp3


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

Board footer

Powered by FluxBB