No response to adding audacious to conky?
No response to adding audacious to conky?
Thank you for the help in advance. Gotta love the community with Ubuntu, its what keeps me coming back.
you don't need a fancy script to do audacious. conky comes with some built in variables. here's the relevant excerpt from "man conky":
so, just put those variables into your TEXT section, wherever you want, and there you have it.Code:audacious_bar (height),(width) Progress bar audacious_bitrate Bitrate of current tune audacious_channels Number of audio channels of current tune audacious_filename Full path and filename of current tune audacious_frequency Sampling frequency of current tune audacious_length Total length of current tune as MM:SS audacious_length_seconds Total length of current tune in seconds audacious_playlist_position Playlist position of current tune audacious_playlist_length Number of tunes in playlist audacious_position Position of current tune (MM:SS) audacious_position_seconds Position of current tune in seconds audacious_status Player status (Playing/Paused/Stopped/Not running) audacious_title (max length) Title of current tune with optional maximum length specifier
Originally Posted by *snip*
Is it possible to...do math with Conky? I'm trying to have a countdown to a certain date, how would that be done?
Mine .conkyrc is copied from many places; it is simple, one line down.
Here's the screenshot:
EDIT - a better look may be found here: http://bp1.blogger.com/_KzHJTfJ1Aro/...1600-h/scr.jpg
Here's the code:
Code:background yes double_buffer yes use_spacer yes use_xft yes xftfont Bitstream Vera Sans:size=9 xftalpha 0.8 update_interval 30.0 own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager default_color grey own_window_colour brown double_buffer yes draw_shades no draw_borders no draw_outline yes stippled_borders no border_margin 0 border_width 1 alignment bottom_left minimum_size 1262 gap_x 9 gap_y 9 uppercase yes TEXT ${color darkgrey}Uptime:${color white}$uptime ${color}|${color} ${color darkgrey}Battery time:${color white}${battery_time} ${color}|${color} ${color darkgrey}Temp.(C):${color white}${acpitemp} ${color}|${color} ${color darkgrey}System load (1m., 5m., 15m.):${color white}${loadavg} ${color}|${color} ${color darkgrey} Date:${color white}${time %e %m %G} ${color}|${color} ${color}
Last edited by cdiem; June 21st, 2007 at 12:55 PM.
once you have created above script in python as shown by nanotube, save script as /home/yourusername/.countdown.py
Just add following line to your conkyrc script to update it every day:
restart your conky! VoilaCode:${execi 86400 python /home/yourusername/.countdown.py}
Note: this is tried and tested by me.
You came empty handed, that is how you shall leave. Whatever you claim as yours today, belonged to someone else yesterday, will be someone else's tomorrow.
I am wondering, I just ran GParted and I have my conky displaying my free space on each partition, but GParted shows a pretty different number from conky. In conky it showed one of my partitions to have 184gb/270gb free, but in GParted it shows 197gb/264gb free. What is with the big difference ??
"For those who believe, no explanation is necessary. For those who do not, none will suffice." - Joseph Dunninger
Bookmarks