You are not logged in.

#1 2016-12-29 13:25:51

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

Help with interactive conky please[solved]

hello guys

I need your help to make any interactive conky for audacious .

Ifound somethinks on the web but it's older thinks.

here my conky

1483017888.png

thank's for helping (if that is to heavy .....)

@+

--- Split from "Show us your Conky", since this is a Help request wink  ---

Last edited by loutch (2017-01-11 10:12:20)


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

Offline

#2 2016-12-29 13:37:15

rwyarbrough
Member
From: Mesquite, Texas
Registered: 2016-11-26
Posts: 40

Re: Help with interactive conky please[solved]

loutch wrote:

I need your help to make any interactive conky for audacious

I started playing with interactive conkys when I started working on a "what playing now" conky.

These really helped me.

Crunchbang Interactive Conky Post

VSIDO Interactive Conky Post

LUA snippets based on Mr. Peachy's Crunchbang post

Borrowed code from this awesome conky
HighTech Conky on Deviant Art

Hope this helps you.

Last edited by rwyarbrough (2016-12-29 13:37:52)

Offline

#3 2016-12-30 09:15:29

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

Re: Help with interactive conky please[solved]

Hello


tank's but wwwwwhoooooouuuuuaaaaaaa english it's chinese for me .

I had high tech conky & i'm go looking on it to try to made something with my low experience for coding.

@+


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

Offline

#4 2016-12-30 20:36:18

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

Re: Help with interactive conky please[solved]

Bonsoir

For the moment i managed to integrate impulse in the conky  & for radiotray.

For radiotray impulse work great but in audacious it is a little slowly.

radiotray

1483130123.png

audacious

1483130182.png


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

Offline

#5 2016-12-30 23:43:32

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,400

Re: Help with interactive conky please[solved]

LUA is way over my head ... I can 'tweak' some things ... but ... to quote you:

english LUA is chinese for me.

Looks good: and that's the main thing.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#6 2016-12-31 10:56:04

ohnonot
...again
Registered: 2015-09-29
Posts: 3,773
Website

Re: Help with interactive conky please[solved]

loutch wrote:

tank's but wwwwwhoooooouuuuuaaaaaaa english it's chinese for me .

conky is not interactive by default.
but since this is the wonderworld of linux, it is possible to tweak & hack until you get the desired effect.
you expected this to be simple?

as usually, i recommend to take something that works (from the links provided) and start taking it apart / modifying it.

Offline

#7 2017-01-11 07:58:54

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

Re: Help with interactive conky please[solved]

Hello

I HAVE IT !!!!!!!

https://drive.google.com/open?id=0Bygxc … 1hVYUJYa0U

Here the conkyrc

# -- Conky settings -- #
background no 								#áttetsző háttér
update_interval 0.5 							#frissítési idővallum másodpercben
cpu_avg_samples 2 							#cpu pontosabb monitorozásához
net_avg_samples 2 							#internet pontosabb monitorozása
override_utf8_locale yes 						#karakterkódolás felülbírálása
double_buffer yes							#nem villodzik az ablak
no_buffers yes
text_buffer_size 1024 							#szöveg buffer mérete
imlib_cache_size 15000
max_specials 10000
max_user_text 15000
diskio_avg_samples 2 							#meghajtó pontosabb monitorozásához
format_human_readable yes 						#mértékegységek nem bájtokban
border_inner_margin 0							#keret és a margó távolsága
border_outer_margin 0							#ablak és a keret távolsága

# -- Window specifications -- #
own_window yes 								#saját ablakbeállítások bekapcsolása
own_window_type normal 							#ablaktípusok, override=ablakmenedzser szabályi nem vonatkoznak rá, desktop=díszítés nélküli panel=mindig felül,  dock=mindig felül, normal=normál
own_window_transparent no 						#conky ablak átlátszóvá válik
own_window_argb_visual yes 						#átlátszó ablak
own_window_argb_value 0 						#átlátszóság mértéke 0-255
own_window_hints undecorate,skip_taskbar,skip_pager,below 	#ablak tulajdonságai below=alultartás skip_taskbar=tálca mellőzése undecorated=keret és gombok eltávolítása override=ablakkezelő felülbírálása sticky=minden munkaterületen 
own_window_title media
minimum_size 412 106 							#ablak minimum mérete
maximum_width 412 							#max szélesség
alignment top_right 							#jobb felső sarokba igazít
gap_x 00 								#x irányba eltolás
gap_y 775 								#y irányba eltolás

# -- Graphics settings -- #
draw_shades no								#szöveg árnyékolása
draw_outline no								#körülrajzolás
draw_borders no                                                       #téglalap alakú keretet rajzol
draw_graph_borders no							#keret a grafikon köré
border_width 0 								#keret vastagsága
default_bar_size 216 2							#execibar mérete 0=teljes szélesség 2=vastagság

# -- Text settings -- #
use_xft yes 								#élsimítás
xftfont GE Inspira:size=8						#alapértelmezett betütípus
color1 92deee								#előre meghatározott szín
color2 668c95
color3 d0fefb
color4 2f3d40
color5 ff6c4a

lua_load ~/.conky/audacious/scripts/button_script.lua
lua_draw_hook_pre get_mouse {"media","/tmp/xdo"} 
lua_startup_hook start_xdo /tmp/xdo
#lua_shutdown_hook stop_xdo
lua_load ~/.conky/audacious/scripts/lua_functions.lua

lua_load ~/.conky/lua/image.lua

template1 ${lua rc_button {btype=3,bname="button1",blx_off=115,bly_off=76,bw_off=12,bh_off=12}}
template2 ${lua rc_button {btype=3,bname="button2",blx_off=115,bly_off=46,bw_off=12,bh_off=12}}
template3 ${lua rc_button {btype=3,bname="button3",blx_off=100,bly_off=55,bw_off=12,bh_off=12}}
template4 ${lua rc_button {btype=3,bname="button4",blx_off=115,bly_off=55,bw_off=12,bh_off=12}}
template5 ${lua rc_button {btype=3,bname="button5",blx_off=130,bly_off=55,bw_off=12,bh_off=12}}

TEXT

${execi 5 ~/.conky/audacious/scripts/cover.sh}
${lua fDrawImage ~/.conky/audacious/audacious.png 24 14 68 70}${lua fDrawImage ~/.conky/audacious/case.png 0 0 410 108}${voffset -20}
${goto 160}${execi 3 audtool current-song-tuple-data artist}
${goto 160}${execi 3 audtool current-song-tuple-data title}
${goto 160}${execi 3 audtool current-song-tuple-data album}
${goto 160}${execi 1 audtool current-song-output-length}  ${goto 358}${execi 1 audtool current-song-length}
${goto 160}${color ff6c4a}${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}$color\
${goto 160}${color 777777}${execbar echo 0}
${if_match ${template1}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --pause}
${endif}
${if_match ${template2}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --stop}
${endif}
${if_match ${template3}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --rew}
${endif}
${if_match ${template4}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --play}
${endif}
${if_match ${template5}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --fwd}
${endif}
${lua fDrawImage ~/.conky/audacious/pause.png 115 59 13 13}
${lua fDrawImage ~/.conky/audacious/stop.png 115 31 13 13}
${lua fDrawImage ~/.conky/audacious/rew.png 100 45 13 13}
${lua fDrawImage ~/.conky/audacious/play.png 115 45 13 13}
${lua fDrawImage ~/.conky/audacious/fwd.png 130 45 13 13}
${voffset -250}

@+

Last edited by loutch (2017-01-11 14:02:32)


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

Offline

#8 2017-01-20 21:49:05

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

Re: Help with interactive conky please[solved]

Hello

Here another version:

1484945441.png

# -- Conky settings -- #
background no 								
update_interval 0.5 							
cpu_avg_samples 2 							
net_avg_samples 2 							
override_utf8_locale yes 						
double_buffer yes							
no_buffers yes
text_buffer_size 1024 							
imlib_cache_size 15000
max_specials 10000
max_user_text 15000
diskio_avg_samples 2 							
format_human_readable yes 						
border_inner_margin 0							
border_outer_margin 0							

# -- Window specifications -- #
own_window yes 								
own_window_type normal 							
own_window_transparent no 						
own_window_argb_visual yes 						
own_window_argb_value 0 						
own_window_hints undecorate,skip_taskbar,skip_pager,below 	 
own_window_title media
minimum_size 400 240							
maximum_width 400 							
alignment top_left 							
gap_x 560 								
gap_y 200 								

# -- Graphics settings -- #
draw_shades no								
draw_outline no								
draw_borders                                                        
draw_graph_borders no							
border_width 0 								
default_bar_size 400 2							

# -- Text settings -- #
use_xft yes 								
xftfont GE Inspira:size=8						
color1 92deee								
color2 668c95
color3 d0fefb
color4 2f3d40
color5 ff6c4a

lua_load ~/.conky/audacious/scripts/button_script.lua
lua_draw_hook_pre get_mouse {"media","/tmp/xdo"} 
lua_startup_hook start_xdo /tmp/xdo
#lua_shutdown_hook stop_xdo
lua_load ~/.conky/audacious/scripts/lua_functions.lua

lua_load ~/.conky/lua/image.lua

template1 ${lua rc_button {btype=3,bname="button1",blx_off=160,bly_off=196,bw_off=20,bh_off=20}}
template2 ${lua rc_button {btype=3,bname="button2",blx_off=185,bly_off=196,bw_off=20,bh_off=20}}
template3 ${lua rc_button {btype=3,bname="button3",blx_off=210,bly_off=196,bw_off=20,bh_off=20}}
template4 ${lua rc_button {btype=3,bname="button4",blx_off=235,bly_off=196,bw_off=20,bh_off=20}}
template5 ${lua rc_button {btype=3,bname="button5",blx_off=257,bly_off=196,bw_off=20,bh_off=20}}


TEXT

${execi 2 ~/.conky/audacious/scripts/cover.sh}
${lua fDrawImage ~/.conky/audacious/audacious.png 180 2 90 90}${voffset 40}${font GE Inspira :size=20}
${alignc -20}${execi 3 audtool current-song-tuple-data title}${font}${voffset 12}
${color ff6c4a}${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}$color\
${color 777777}${execbar echo 0}$color
${alignc -14}${font GE Inspira :size=12}${execi 3 audtool current-song-tuple-data artist}$font
${if_match ${template1}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --rew}
${endif}
${if_match ${template2}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --stop}
${endif}
${if_match ${template3}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --play}
${endif}
${if_match ${template4}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --pause}
${endif}
${if_match ${template5}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --fwd}
${endif}
${lua fDrawImage ~/.conky/audacious/pre.png  160 170 30 30}
${lua fDrawImage ~/.conky/audacious/sto.png  185 170 30 30}
${lua fDrawImage ~/.conky/audacious/pla.png  210 170 30 30}
${lua fDrawImage ~/.conky/audacious/paus.png 235 170 30 30}
${lua fDrawImage ~/.conky/audacious/next.png 260 170 30 30}
${voffset -650}

@+


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

Offline

#9 2017-01-22 13:30:47

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

Re: Help with interactive conky please[solved]

Hello

Modification players button  , i think that these pass better to conky

1485091831.png

@+


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

Offline

#10 2017-06-15 13:52:34

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

Re: Help with interactive conky please[solved]

Hi @loutch,

i have here your interactive Conky to audacious.
As far as everything works, also the keys.   smile

I have a mistake with the representation of the cover. In the terminal I get permanent

unklarer@sidLXDE:~$ conky -c ~/audacious/conkyrc &
[1] 3207
unklarer@sidLXDE:~$ Conky: desktop window (14000b4) is subwindow of root window (4a5)
Conky: window type - normal
Conky: drawing to created window (0x3200002)
Conky: drawing to double buffer
cp: der Aufruf von stat für '/tmp/audacious-temp*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
own_window_title=media
1257	224	20973422	52428802	/tmp/xdo
cp: der Aufruf von stat für '/tmp/audacious-temp*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
cp: der Aufruf von stat für '/tmp/audacious-temp*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

screen09.th.png

Who or what created this path '/tmp/audacious-temp*'
Can you help me?

My system

 inxi -S
System:    Host: sidLXDE Kernel: 4.11.4-towo.2-siduction-amd64 x86_64 (64 bit)
           Desktop: LXDE (Openbox 3.6.1)
           Distro: siduction 15.1.0 Paint It Black - lxde - (201601171107)

Offline

#11 2017-06-16 08:53:17

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

Re: Help with interactive conky please[solved]

Hello unklar

(Achtung ich bihn nit sicher mit mein deutch)

Bei mihr mit Mageia ,Sarah Und Serena ist Audacious, wer die Plattenhülle des  gespielten Titels in / tmp legt.


Hier Thunar mit /tmp und ich habe eine audacious-tmp-.....

Vielleicht, daß auf Sid , Audacious die Plattenhülle in einen anderen Ort legt.


1497603429.png
@+

Last edited by loutch (2017-06-16 09:04:13)


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

Offline

#12 2017-06-16 12:21:15

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

Re: Help with interactive conky please[solved]

Bonjour loutch,   smile

Vous écrivez merveilleux allemand!  wink
Espérons que le traducteur fait pour moi la même chose en français.

Merci pour votre réponse. Voilà ce que j'ai pensé.
Je vais prendre un autre regard intense.
----------------------------------------------------------------------
You write wonderful German!
Hopefully, the Translator makes the same for me in French.

Thank you for your answer. I've already thought of that.
I will look again intensely.

Offline

#13 2017-06-16 21:37:13

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

Re: Help with interactive conky please[solved]

J'ai trouvé l'erreur. L'erreur est de 50cm devant l'écran ...  tongue

Pour flux radio Internet (ici Radio Swiss Pop) la couverture n'apparaît pas.
mgaAudacious1.th.jpg il serait correct mgaAudacious2.th.jpg

Donc, je reste avec radiotray et votre excellent pochette.sh   big_smile  wink

-------------------------------------------------------------------------------------------
I found the mistake. The error is 50cm in front of the screen ...

The cover is not shown with Internet radio stream (here Radio Swiss Pop).

This would be right

So I stay with radiotray and your exquisite pochette.sh

Offline

#14 2017-06-17 09:09:37

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

Re: Help with interactive conky please[solved]

Hello

Ich hab's ,habe eine pochette.sh integriert , arbeitet mit radios und titels

hier  conkyrc

${execi 3 ~/.conky/audacious/scripts/pochette.sh}
${lua fDrawImage ~/.conky/audacious/pochette.png 24 14 68 70}${lua fDrawImage ~/.conky/audacious/case.png 0 0 410 108}${voffset -34}${font GE Inspira :size=14}
${goto 160}${execi 3 audtool current-song-tuple-data artist}${font}
${goto 160}${execi 3 audtool current-song-tuple-data title}${execi 3 audtool current-song-tuple-data title  > ~/.conky/audacious/artiste_titre.txt}
${goto 160}${execi 3 audtool current-song-tuple-data album}
${goto 160}${execi 1 audtool current-song-output-length}  ${goto 358}${execi 1 audtool current-song-length}
${goto 160}${color ff6c4a}${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}$color\
${goto 160}${color 777777}${execbar echo 0}
${if_match ${template1}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --pause}
${endif}
${if_match ${template2}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --stop}
${endif}
${if_match ${template3}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --rew}
${endif}
${if_match ${template4}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --play}
${endif}
${if_match ${template5}==0}
${else}${lua fDrawImage ~/.conky/audacious/images/Orange.png 360 5 35 35}${exec audacious --fwd}
${endif}
${lua fDrawImage ~/.conky/audacious/pause.png 115 59 13 13}
${lua fDrawImage ~/.conky/audacious/stop.png 115 31 13 13}
${lua fDrawImage ~/.conky/audacious/rew.png 100 45 13 13}
${lua fDrawImage ~/.conky/audacious/play.png 115 45 13 13}
${lua fDrawImage ~/.conky/audacious/fwd.png 130 45 13 13}
${voffset -250}

und pochette.sh fur audacious

 
#!bin/bash

 
titre=$(head -1 ~/.conky/audacious/artiste_titre.txt)
lienMiniature=$(wget -U'Googlebot-Image/1.0' -qO - "www.google.fr/search?q=$titre\&tbm=isch" | perl -pe 's!.*?<img .*?src="([^"]*)".*!$1!')
wget -qO miniatureGoogleImage $lienMiniature

convert ~/miniatureGoogleImage ~/.conky/audacious/pochette.png

radiotray mit hotmixradio

1497690358.png

here mit eine Titel

1497690427.png

wieder hotmixradio

1497690510.png

Viel Schpass


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

Offline

#15 2017-06-18 13:27:12

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

Re: Help with interactive conky please[solved]

^^ loutch, le roi du lecteur audio (conky) angel big_smile

Merci beaucoup pour votre temps. Je ne m'y attendais pas. smile

Le titre en simple fonctionne parfaitement
mgaAudacious3.th.jpg

Avec la radio Internet, je dois commenter cette ligne

${goto 160}${color ff6c4a}${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}$color\

sinon, le terminal est pleinement

Conky: desktop window (260010d) is subwindow of root window (9e)
Conky: window type - normal
Conky: drawing to created window (0x5400002)
Conky: drawing to double buffer
own_window_title=media
1247    893     35806932        88080386        /tmp/xdo
Conky: '/home/unklar/music/loutch_audacious/conkyrc' modified, reloading...
Conky: desktop window (260010d) is subwindow of root window (9e)
Conky: window type - normal
Conky: drawing to created window (0x5400002)
Conky: drawing to double buffer
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
expr: Teilung durch Null
own_window_title=media
1247    893     35808991        88080386        /tmp/xdo
expr: Teilung durch Null
...

Pour moi, ce n'est pas mal et ressemble à ceci
mgaAudacious7.th.jpg

Merci!
----------------------------------------------------------------------------------
loutch, the king of the (conky) audio player.

Thank you very much for your time. I did not expect it.

The single title works perfectly
-

With Internet radio I must excerpt this line
-
Otherwise the terminal is full

For me this is not bad and then looks so -

Thank you!

Offline

#16 2017-06-18 14:34:16

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

Re: Help with interactive conky please[solved]

Hello

Bei mihr ist die konsole auch voll

Ich denke das es mit diesem ebes hat "${execi 1 audtool current-song-length} vir haben keine end hier.

.


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

Offline

#17 2019-02-22 02:37:52

MaDscntist
Member
Registered: 2019-02-22
Posts: 11

Re: Help with interactive conky please[solved]

loutch wrote:

hello guys

I need your help to make any interactive conky for audacious .

Ifound somethinks on the web but it's older thinks.

here my conky

http://pix.tdct.org/upload/img/1483017888.png

thank's for helping (if that is to heavy .....)

@+

--- Split from "Show us your Conky", since this is a Help request wink  ---

If you can share you conky with me it would be awesome

Offline

Board footer

Powered by FluxBB