View previous topic :: View next topic |
Author |
Message |
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Sat Jun 24, 2006 10:13 pm Post subject: conky and mplayer?? |
|
|
Hi,
Is it possible to use mplayer as media-player with conky? There seems to be no simple solution to display the actual playing songname etc.
Best regards! |
|
Back to top |
|
|
synss Apprentice
Joined: 08 Mar 2006 Posts: 282 Location: Dijon > Berlin > Tokyo > Nürnberg > München
|
Posted: Sun Jun 25, 2006 12:00 am Post subject: |
|
|
from http://conky.sourceforge.net/variables.html it seems like mplayer is unsupported. So short answer is : no simple solution. However, you can utilize exec and friends to retrieve the info you want via grep, sed, awk, cut and so on... or a perl wrapper...
And share it here
As far as sharing goes, I have this one:
Code: | cpufreq-info | awk '/current CPU frequency/ { print $5, $6 }' | sed -e s,Hz.,Hz, |
for knowing the CPU speed with the ondemand scheduler. I am not a sed/awk guru and it shows (but it works). _________________ Compress portage tree
Elog viewer
Autodetect swap |
|
Back to top |
|
|
|
|
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
|
|