You are not logged in.

#1251 2020-01-16 13:19:34

unklar
Member
Registered: 2015-10-31
Posts: 991

Re: Show us your conky

@clusterF,

thanks for the tip with

override_utf8_locale yes

once off -and on again (false - true) has done the job.
But at the moment I only started with
DejaVu Sans
and not with (!)
DejaVu Sans Mono
Success. So, this is another mistake on my part.   wink

chubin_DejaVu.png

Offline

#1252 2020-01-16 13:31:49

clusterF
Member
Registered: 2019-05-07
Posts: 446

Re: Show us your conky

^ must be something to do with how conky handles unicode characters, i have no issues piping them with xsetroot to say dwm bar or lemonbar.


"Common sense is like deodorant, those who need it the most never use it."

git: clusterF

Offline

#1253 Today 12:06:42

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,180

Re: Show us your conky

loutch wrote:

Hello

Théo since a few days this script don't work.

The script found Artiste.txt but the miniaturefile is empty   .

Have google changing anything .

here script

#!/bin/bash
#créé par loutch
#2018-12-27 modifier par TeoBigusGeekus et loutch pour radiotray-ng et conky 1.10


qdbus com.github.radiotray_ng /com/github/radiotray_ng com.github.radiotray_ng.get_player_state | grep artist |sed 's/^.*" \: "//' |sed 's/",.*$//' > artiste_titre.txt
qdbus com.github.radiotray_ng /com/github/radiotray_ng com.github.radiotray_ng.get_player_state | grep title  |sed 's/^.*" \: "//' |sed 's/",.*$//' | cut -c1-11 >> artiste_titre.txt
titre=$(cat 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

Tank's for helping

It gives me

Service 'com.github.radiotray_ng' does not exist.

as an error message.


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

#1254 Today 17:05:44

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

Re: Show us your conky

Hello Théo

At me conky & radiotray are working

here konsole

loutch@loutch-Strix-GL704GM-GL704GM:~$ conky -c ~/.conky/radiotrayng/l12
conky: desktop window (c00003) is subwindow of root window (28a)
conky: window type - normal
conky: drawing to created window (0x6600002)
conky: drawing to double buffer
conky: forked to background, pid is 27304
loutch@loutch-Strix-GL704GM-GL704GM:~$ 
Attention : La chaîne User-Agent ne contient ni « Lynx » ni « L_y_n_x »!
convert-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
convert-im6.q16: no images defined `pochette.png' @ error/convert.c/ConvertImageCommand/3258.
Attention : La chaîne User-Agent ne contient ni « Lynx » ni « L_y_n_x »!
convert-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
convert-im6.q16: no images defined `pochette.png' @ error/convert.c/ConvertImageCommand/3258.
Attention : La chaîne User-Agent ne contient ni « Lynx » ni « L_y_n_x »!
convert-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/504.
........

here conky

1579629187.png

i have the artist & title from song , & here the artist.txt same as conky

Alison Moyet
Is this lov

the script don't working for sherching the image . i think google search image  have changed anything .

Last edited by loutch (Today 17:06:25)


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

Board footer

Powered by FluxBB