Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

ziirish/Conky-Images-Display

Repository files navigation

Conky Images Display est un programme écrit en C qui a pour but de récupérer la pochette du CD en cours de lecture dans un lecteur multimedia et de l'afficher sur le bureau.
Ce programme est la réunion des programmes acd de Askelon et rb-cover de Jackass059, membres du forum ubuntu-fr.
Vous trouverez ces programmes ici : http://forum.ubuntu-fr.org/viewtopic.php?pid=1949385#p1949385 (acd)
				    http://forum.ubuntu-fr.org/viewtopic.php?pid=1957990#p1957990 (rb-cover)

À l'origine, rb-cover utilisait des popen pour récupérer des informations à partir de rhythmbox-client, désormais la partie rhythmbox utilise DBus.
Les fenêtres étaient gérées par X, elles sont désormais gérées par GTK. 

Pour compiler manuellement le programme, il vous faut certains paquets installés.

La liste des paquets necessaires est la suivante : libdbus-1-dev libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev cmake make libxml2-dev libcurl

Pour compiler le programme, il faut utiliser cmake :

$ cd /where/is/cid
$ mkdir build && cd build
$ cmake [-DHAVE_COMPIZ="1"] [-DCMAKE_INSTALL_PREFIX=/usr] .. # par defaut le support de compiz n'est pas activé et le prefix est /usr/local
$ make
# make install

Pour le lancer, il ne vous reste plus qu'à taper cid --help pour obtenir les informations necessaires.

---------------------------------------------------------

Conky Images Display is a programm written in C in the aim to display the cover of the song which is currently played in a supported player on the desktop like conky does with other informations.
The current version is the merge of two similar projects, the first for amarok, the second for rhythmbox.
Original projects are available here : http://forum.ubuntu-fr.org/viewtopic.php?pid=1949385#p1949385
				       http://forum.ubuntu-fr.org/viewtopic.php?pid=1957990#p1957990

To compile by hand, you need some additional libs.

The list of needed package is : libdbus-1-dev libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev cmake make libxml2-dev libcurl

Then compile it using cmake:
$ cd /where/is/cid
$ mkdir build && cd build
$ cmake [-DHAVE_COMPIZ="1"] [-DCMAKE_INSTALL_PREFIX=/usr] .. # by default cid won't be compiled with the compiz support and the default prefix is /usr/local
$ make
# make install


Now you can run the programm with the --help option (cid --help) to learn how to use it.

---------------------------------------------------------

Resume/Summary

1. apt-get install libdbus-1-dev libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev cmake make libxml2-dev licburl

1.1. cd /where/is/cid; mkdir build && cd build

2. cmake -DHAVE_COMPIZ="1" -DCMAKE_INSTALL_PREFIX=/usr ..

3. make

4. passer root / login as root
   make install

5. cid --help

About

A simple program that display the cover-art of the song that is currently playing in your multimedia player on the desktop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages