Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[conky] Je n'arrive pas a avoir amarok dans conky (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
lva30
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 78
Location: Nimes.France

PostPosted: Tue Nov 14, 2006 10:20 pm    Post subject: [conky] Je n'arrive pas a avoir amarok dans conky (résolu) Reply with quote

Bah pourtant j'ai suivi les tutos qu'on trouve un peu partout on the web, mais quedalle.
J'ai tenté de remplacer amarok par amarokapp dans les fichiers .conkyrc et .conkyrc/amarok mais nada aussi :(

QQuun a déjà fait ça ? J'aime bien conky...


Last edited by lva30 on Thu Nov 16, 2006 8:41 am; edited 1 time in total
Back to top
View user's profile Send private message
CryoGen
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1426
Location: Bamako - Mali - Afrique

PostPosted: Tue Nov 14, 2006 10:28 pm    Post subject: Reply with quote

Bah ca devrait marcher sans problemes.
Moi j'ai modifié le script mais uniquement pour ajouter des fonctionnalités.

Tu as bien le bon path vers le scripts amarok dans ton .conkyrc ?
_________________
- CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword...
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Wed Nov 15, 2006 7:17 am    Post subject: Reply with quote

Oui, ca marche, j'avais fait le mon mien à une époque ou j'avais essayé Conky > ftp://ftpperso.free.fr/Images/gentoo_conky.png
Je l'avais viré car Conky me bouffait en permanance mon UC et me faisait des micro freeze sans arrêts, même avec la conf par défaut.
Back to top
View user's profile Send private message
lva30
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 78
Location: Nimes.France

PostPosted: Wed Nov 15, 2006 11:53 am    Post subject: Reply with quote

Voila mon ~/.conky/amarok
case "$1" in

# Now Playing Info
artist) dcop amarok player artist ;;
title) dcop amarok player title ;;
album) dcop amarok player album ;;
year) dcop amarok player year ;;
genre) dcop amarok player genre ;;
progress)
curr=`dcop amarok player trackCurrentTime`
tot=`dcop amarok player trackTotalTime`
if (( $tot )); then
expr $curr \* 100 / $tot
fi
;;


et mon ~/.conkyrc
${if_running amarok}
${color}Amarok${color white}
${alignc}${execi 10 ~/.conky/amarok artist}
${alignc}${execi 10 ~/.conky/amarok title}
${execibar 1 ~/.conky/amarok progress}
${alignc}"${execi 10 ~/.conky/amarok album}"
${alignc}${execi 10 ~/.conky/amarok year} - ${color white}${alignc}${execi 10 ~/.conky/amarok genre}$endif
esac


Avec ça j'ai rien, même pas amarok qui apparait dans conky.
Back to top
View user's profile Send private message
CryoGen
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1426
Location: Bamako - Mali - Afrique

PostPosted: Wed Nov 15, 2006 1:50 pm    Post subject: Reply with quote

Moi j'ai plutot
Code:
${if_running amarokapp}


Sinon ca me semble bon...

le script est bien executable ? (chmod +x)


EDIT: Le contenu des fichiers que tu as posté ne sont bien que des bouts et pas la totalité des fichiers ?? sinon c'est normal que ca ne marche pas :lol:
_________________
- CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword...
Back to top
View user's profile Send private message
lva30
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 78
Location: Nimes.France

PostPosted: Wed Nov 15, 2006 5:01 pm    Post subject: Reply with quote

Oui c'est que les parties interressantes.
J'ai chmodé et ca marche nettement mieux :)

Triple merci
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum