View previous topic :: View next topic |
Author |
Message |
lva30 Tux's lil' helper
Joined: 11 Feb 2005 Posts: 78 Location: Nimes.France
|
Posted: Tue Nov 14, 2006 10:20 pm Post subject: [conky] Je n'arrive pas a avoir amarok dans conky (résolu) |
|
|
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 |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Tue Nov 14, 2006 10:28 pm Post subject: |
|
|
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 |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Wed Nov 15, 2006 7:17 am Post subject: |
|
|
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 |
|
|
lva30 Tux's lil' helper
Joined: 11 Feb 2005 Posts: 78 Location: Nimes.France
|
Posted: Wed Nov 15, 2006 11:53 am Post subject: |
|
|
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 |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Wed Nov 15, 2006 1:50 pm Post subject: |
|
|
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 _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
|
lva30 Tux's lil' helper
Joined: 11 Feb 2005 Posts: 78 Location: Nimes.France
|
Posted: Wed Nov 15, 2006 5:01 pm Post subject: |
|
|
Oui c'est que les parties interressantes.
J'ai chmodé et ca marche nettement mieux
Triple merci |
|
Back to top |
|
|
|