Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| third_party_apps:conky [2007/08/25 18:29] – astier | third_party_apps:conky [2022/05/23 01:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This How-To has been conceived after the experiments on Ubuntu (Feisty Fawn - 7.04), a debian-based distribution, | This How-To has been conceived after the experiments on Ubuntu (Feisty Fawn - 7.04), a debian-based distribution, | ||
| + | |||
| + | |||
| + | |||
| ======What is conky ?====== | ======What is conky ?====== | ||
| Line 9: | Line 12: | ||
| Conky can also display music playing information from a few music players / jukebox like bmp, audacious, mpd. | Conky can also display music playing information from a few music players / jukebox like bmp, audacious, mpd. | ||
| - | Quentin Sculo has developed a patch for conky (version 4 is available [[http:// | ||
| - | After downloading the patch, create the conkypatch directory into your /home : | ||
| - | < | ||
| - | and move the patch you have just downloaded into it : | ||
| - | < | ||
| - | to make the future operations easier. | + | ======Without the patch====== |
| + | loomsen has posted on the ubuntu forum a method | ||
| + | see [[http:// | ||
| + | The advantage of this method is that it works with the current conky versions (1.6 and future versions) | ||
| + | The disadvantage is that it needs to run a small program for each update, so it's a bit less cpu-friendly. | ||
| + | ======With the patch====== | ||
| + | Quentin Sculo has developed a patch for conky (version for conky-1.5.1 is available [[http:// | ||
| - | ======Download and patch conky====== | + | //Sadly, this patch requires a lot of modification for using it with conky version 1.6 and higher. So currently you'll have to use the method above without the patch.// |
| - | For this, go to the conky project homepage on sourceforge.net (http:// | + | =====Download and patch conky===== |
| - | Move the tar archive into the conkypatch directory : < | + | After downloading the patch, create the conkypatch directory into your /home : |
| + | < | ||
| + | and move the patch you have just downloaded into it : | ||
| + | < | ||
| + | to make the future operations easier. | ||
| + | |||
| + | For this, go to the conky project homepage on sourceforge.net (http:// | ||
| + | |||
| + | Move the tar archive into the conkypatch directory : < | ||
| Move into the conkypatch directory : | Move into the conkypatch directory : | ||
| < | < | ||
| - | Untar the conky-1.4.5.tar.bz2 archive : | + | Untar the conky-1.5.1.tar.bz2 archive : |
| - | < | + | < |
| - | Go into the conky-1.4.5 directory (created with the untar) : < | + | Go into the conky-1.5.1 directory (created with the untar) : < |
| Apply the patch : | Apply the patch : | ||
| - | < | + | < |
| - | + | ||
| - | + | ||
| - | If you want the latest conky version (1.4.6) you have to patch conky with the patch available here : [[http:// | + | |
| - | + | ||
| - | The way to patch conky is the same that we describe before, but you have to be careful to the version numerotation. | + | |
| - | ======Compile conky====== | + | =====Compile conky===== |
| First, check you have these packages installed on your system : gcc, make, automake1.9, | First, check you have these packages installed on your system : gcc, make, automake1.9, | ||
| < | < | ||
| - | Then in the / | + | Then in the / |
| The terminal is quite informative ; if there are some errors or warnings, the messages it sends enable you to install the right packages. Personally, on Ubuntu Feisty Fawn, I had a conflict with several " | The terminal is quite informative ; if there are some errors or warnings, the messages it sends enable you to install the right packages. Personally, on Ubuntu Feisty Fawn, I had a conflict with several " | ||
| Line 71: | Line 77: | ||
| - | ======Configure conky===== | + | |
| + | =====Configure conky==== | ||
| For those who have just discovered conky, you must know that configuring conky means editing the conky configuration file which is a hidden file in your /home ; to edit that file, in a terminal, do : < | For those who have just discovered conky, you must know that configuring conky means editing the conky configuration file which is a hidden file in your /home ; to edit that file, in a terminal, do : < | ||
| Line 77: | Line 84: | ||
| The patch we have just applied enables these next variables : $gmb_artist, | The patch we have just applied enables these next variables : $gmb_artist, | ||
| - | Here is an example of conky configuration and the corresponding capture : {{gallery> | + | Here is an example of conky configuration and the corresponding capture |
| < | < | ||
| # set to yes if you want Conky to be forked in the background | # set to yes if you want Conky to be forked in the background | ||
| Line 342: | Line 349: | ||
| ${color # | ${color # | ||
| </ | </ | ||
| + | |||
| + | You can also have something like that : | ||
| + | < | ||
| + | ${if_existing / | ||
| + | ${gmb_artist} | ||
| + | ${gmb_album} | ||
| + | ${color # | ||
| + | $alignc${voffset -21}${gmb_elapsed}/ | ||
| + | ${mpd_artist} | ||
| + | ${mpd_album} | ||
| + | ${color # | ||
| + | $alignc${voffset -21}${mpd_elapsed}/ | ||
| + | </ | ||
| + | but in this case, you have to be careful to the location of the gmusicbrowser.fifo on your computer. In Ubuntu (Gutsy) you find this file here : ~/ | ||
| For some other examples and tips and tricks you can visit [[http:// | For some other examples and tips and tricks you can visit [[http:// | ||
