You are not logged in.
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
thank's for helping (if that is to heavy .....)
@+
--- Split from "Show us your Conky", since this is a Help request ---
Last edited by loutch (2017-01-11 10:12:20)
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
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
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
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 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
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
audacious
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
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.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
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
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 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
Here another version:
# -- 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 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
Hi @loutch,
i have here your interactive Conky to audacious.
As far as everything works, also the keys.
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
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
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.
Last edited by loutch (2017-06-16 09:04:13)
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
Bonjour loutch,
Vous écrivez merveilleux allemand!
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
J'ai trouvé l'erreur. L'erreur est de 50cm devant l'écran ...
Pour flux radio Internet (ici Radio Swiss Pop) la couverture n'apparaît pas. il serait correct
Donc, je reste avec radiotray et votre excellent pochette.sh
-------------------------------------------------------------------------------------------
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
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
here mit eine Titel
wieder hotmixradio
Viel Schpass
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, le roi du lecteur audio (conky) O:)
Merci beaucoup pour votre temps. Je ne m'y attendais pas.
Le titre en simple fonctionne parfaitement
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
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
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 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 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
---
If you can share you conky with me it would be awesome
Offline