Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
conky and mplayer??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
derverstand
Guru
Guru


Joined: 15 Dec 2005
Posts: 511
Location: /dev/null

PostPosted: Sat Jun 24, 2006 10:13 pm    Post subject: conky and mplayer?? Reply with quote

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
View user's profile Send private message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Sun Jun 25, 2006 12:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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