I had a "flash of brilliance" about the ${if_running} issue that turned out to not be the solution that I'd hoped/expected. If ${if_running} doesn't like whatever the exaile process is calling itself today, why not create a shell script to call exaile and point ${if_running} to the launcher shell? (Since exaile, then, would be a child process of the launcher.)
The logic may have been sound, but ${if_running} doesn't seem to recognize launcher scripts of any flavor -- not the exaile test one, not my conky launcher, not the skype launcher (that skype creates on install) -- nothing. That's really odd.
Back to being frustrated...
EDIT:
I posted on this issue over at #conky and got some interesting pointers. One -- the most likely one to work, I think -- was suggested by someone who almost immediately jumped off the channel. Posting his proposed bash script to see if anyone can identify what I might have gotten wrong in pasting it out of the chat window:
This script is supposed to get called every minute by chron via this entry in crontab:Code:PID=`pgrep exaile` if [[ $PID != '' ]]; do echo $PID > ~/.exaile.pid else rm ~/.exaile.pid fi
And lastly, this entry goes into conkyrc (or in this case the conkyExaile template):Code:* * * * * ~/.conky_exaile_running
In keeping with my luck on this project, it doesn't work. If exaile is running, the bash script should create .exaile.pid -- but running it manually doesn't do anything. (Yes, I remembered to set it to 755.)Code:${if_existing ~/.exaile.pid} do stuff ${endif}
Am I missing something obvious...?
Last edited by akahige; December 5th, 2008 at 06:27 AM.
/etc/network/if-up.d/getpublicip
~/.conkyrcCode:#! /bin/sh wget -O /tmp/ip.html http://www.showmyip.com/simple/
~/.conkyExaileCode:# Use Xft? use_xft yes xftfont DejaVu Sans:size=8 xftalpha 0.8 text_buffer_size 2048 #Comes from Light/Human # Update interval in seconds update_interval 1 # This is the number of times Conky will update before quitting. # Set to zero to run forever. total_run_times 0 own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 180 0 maximum_width 315 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 0 # border margins border_margin 0 # border width border_width 0 # Default colors and also border colors default_color white #default_shade_color black #default_outline_color white own_window_colour white # Text alignment, other possible values are commented #alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # same thing as passing -x at command line gap_x 10 gap_y 35 # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2 # number of net samples to average # set to 1 to disable averaging net_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # colours color1 white # light blue color2 6892C6 # orange color3 78BF39 # green color4 78BF39 # red color5 6892C6 TEXT SYSTEM ${hr 2} ${font StyleBats:size=16}s${font} Kernel: ${alignr}${kernel} ${font StyleBats:size=16}0${font} CPU0: ${cpu cpu0}% ${alignr}${cpubar 8,60 cpu0} ${font StyleBats:size=16}x${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar 8,60 cpu1} ${color}${cpugraph 20,310} ${voffset -22}${color red}CPU${color} ${font StyleBats:size=16}0${font} RAM: $memperc% ${alignr}${membar 8,60} ${font StyleBats:size=16}h${font} SWAP: $swapperc% ${alignr}${swapbar 8,60} ${font StyleBats:size=16}p${font} Uptime: ${alignr}${uptime} ${font StyleBats:size=16}L${font} Load:${alignr} $loadavg ${font StyleBats:size=16}S${font} Processes: ${alignr}$processes ($running_processes Running) ${color}Name ${alignr} PID CPU MEM ${color lightgrey} ${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1} ${color} ${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2} ${color} ${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3} ${color} ${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4} DATE ${hr 2} ${font led:size=26}${time %I:%M:%S}${font} ${alignc}${font led}${time %A %d %Y}${font} HD ${hr 2} ${font PizzaDude Bullets:size=14}o${font} Root: ${fs_used /}/${fs_size /} $alignr${fs_bar 8,60 /} ${font PizzaDude Bullets:size=14}0${font} Home: ${fs_free /home}/${fs_size /home} $alignr${fs_bar 8,60 /home} NETWORK ${hr 2} ${if_existing /proc/net/route wlan0} ${voffset -6}${font PizzaDude Bullets:size=14}v${font} Up: ${upspeed wlan0} kb/s $alignr${upspeedgraph wlan0 8,60 F57900 FCAF3E} ${voffset 4}${font PizzaDude Bullets:size=14}r${font} Down: ${downspeed wlan0} kb/s $alignr${downspeedgraph wlan0 8,60 F57900 FCAF3E} ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: $alignr${totalup wlan0} ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: $alignr${totaldown wlan0} ${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% $alignr${wireless_link_bar 8,60 wlan0} ${voffset 4}${font PizzaDude Bullets:size=14},${font} Public IP:${color white}${alignr} ${execp cat /tmp/ip.html} ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: $alignr${addr wlan0} ${else}${if_existing /proc/net/route ppp0}${voffset 4}${font PizzaDude Bullets:size=14}x${font} Local IP:${color white}${alignr} ${addr ppp0} ${font PizzaDude Bullets:size=14},${font} Public IP:${color white}${alignr} ${execp cat /tmp/ip.html} ${downspeedgraph ppp0 35,150 FF9933 33FF99} ${alignr}${upspeedgraph ppp0 35,150 FF9933 CC3300} ${voffset -35}${color grey}Down:${color white}${downspeedf ppp0}Kbps${color grey}${alignr}Up:${color white}${upspeedf ppp0}Kbps${color grey} ${color grey}Down: ${color white}${totaldown ppp0} ${color grey}${alignr}Up: ${color white}${totalup ppp0} ${endif}${else}${if_existing /proc/net/route eth1} ${voffset -6}${font PizzaDude Bullets:size=14}v${font} Up: ${upspeed eth0} kb/s $alignr${upspeedgraph eth0 8,60 F57900 FCAF3E} ${voffset 4}${font PizzaDude Bullets:size=14}r${font} Down: ${downspeed eth0} kb/s $alignr${downspeedgraph eth0 8,60 F57900 FCAF3E} ${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: $alignr${totalup eth0} ${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: $alignr${totaldown eth0} ${voffset 4}${font PizzaDude Bullets:size=14},${font} Public IP:${color white}${alignr} ${execp cat /tmp/ip.html} ${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: $alignr${addr eth0} ${endif}${else} ${font PizzaDude Bullets:size=14}5${font} Internet is Unavailable. ${endif} ${if_running exaile} Exaile Music Player ${hr 2} ${execp conkyExaile --nounknownoutput --template=/home/c0re/.conkyExaile} ${endif}
Code:Status:${alignr}${color1}[--datatype=ST] Artist:${alignr}${color1}[--datatype=AR] Album:${alignr}${color1}[--datatype=AL] Title:${alignr}${color1}[--datatype=TI] Rating:${alignr}${color1}[--datatype=RT] Volume: [--datatype=VO] ${color2}${execibar 60 conkyExaile --datatype=VO}${color} Position:${alignr}${color1}[--datatype=PT]/[--datatype=LE] ${color3}${execibar 60 conkyExaile --datatype=PP}${color}
read this post http://ubuntuforums.org/showpost.php...3&postcount=47
See my themes here! | Dont preach Linux, mention it | Make GNOME Themes
I'm no longer on here. If you want to talk to me, go to noost.org.
My DeviantArt | Linux user #461096 | Ubuntu user #15753
If you create a svg in inkscape from an RSS image, you can work it into a new font in fontforge fairly easily, that's what I did with some of the old arrow fonts for my forecast script...
Inkscape has some options to help with svg creation off a standard image type like jpg or png
Hope that helps
This script looks interesting:
http://ubuntuforums.org/showthread.p...light=.conkyrc
The mark of an honest man ... is that he means what he says and knows what he means.
A.R.
|| Kubuntu x86_64 (15.10 Dev.) || KDE 4.9.00 ||
|| Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
|| Logitech M570 Trackball || Logitech G15 Gaming Keyboard ||
Conky: ... no such configuration: 'normal'
Meh here's mine. I pulled it from here and did some minor modifications placement wise... added a Link Rate monitor as well as a Link Quality monitor and made my conky appear for my own username (epea)
Is there a variable to read user name? Right now I just have it displayed, but if my girlfriend decides she wants an account on here, I'll probably set one up for her...
I googled and didn't see anything... but I may have missed it or gotten confused.
Anyways...
Here's my conkyrc
Edit: weird, I didn't realize that my VLC doesn't show up in screenshots? Anyone know why or should I start a thread about it?Code:background yes own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_colour red own_window_transparent yes double_buffer yes use_spacer yes use_xft yes xftfont HandelGotD:size=8 xftalpha 0.5 update_interval 1.0 draw_shades no draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase stippled_borders 3 border_margin 9 border_width 10 default_color 999999 #alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right gap_x 10 gap_y 25 # Subtract file system buffers from used memory? no_buffers yes #newly added (test parameters below) minimum_size 300 5 maximum_width 300 TEXT ${color 696969}${hr 2} ${font :size=20}${color ffffff}${alignc}${time %I:%M}${time %p}$color$font ${font :size=12}${color ffffff}${alignc}${time %A, %d %b. %Y}$color$font ${color 696969}${hr 2} ${color ffffff}${voffset +5}${font OpenLogos:size=35} epea ${font}${voffset -30}${alignr}${font :size=8}${color ffffff}Kernel: ${font}$color$kernel ${alignr}${font :size=8}${color ffffff}Up Time: ${font}$color$uptime ${alignr}${font :size=8}${color #ffffff}Load: ${font}$color${loadavg} ${color ffffff}${font :size=9}Current Conditions${font}${color 696969}${hr 2}$color$font ${color ffffff}${font :size=8}Minneapolis, MN $font$color ${execi 3600 perl ~/Conky/scripts/weather.pl USMN0843 f w} ${voffset -30}$alignr${offset -50}${execi 3600 perl ~/Conky/scripts/weather.pl USMN0843 f t} ${voffset -25}$alignr${offset -60}${color ffffff}${font weather:size=45}${execi 3600 perl ~/Conky/scripts/weather.pl USMN0843 f cp}$font$color ${color ffffff}${font :size=9}CPU Information ${font}${color 696969}${hr 2}$color$font ${color ffffff}${font :size=8}Model:$color$font$alignr ${color 999999}${exec cat /proc/cpuinfo | grep 'model name' | sort -u | cut -c 19-60} ${color ffffff}${font :size=8}Frequency:$color$font$alignr ${color 999999}$freq MHz ${color ffffff}${font :size=8}Temp: $color$font$alignr ${color 999999}${acpitemp} C ${color ffffff}${font :size=8}Processor Load:$color$font ${cpu cpu1}% ${color ffffff}$alignr${execi 8 sensors coretemp-isa-0000 | grep -A 1 'Core 0:' | cut -c 15-21 | sed '/^$/d'}$color ${cpubar cpu1} ${color ffffff}${font :size=9}Memory Usage ${font}${color 696969}${hr 2}$color ${color ffffff}${font :size=8}Memory: ${alignr}$font$memperc% ${color }${membar} ${color ffffff}${font :size=8}Swap: ${alignr}$font$swapperc% ${color }${swapbar}$color ${color ffffff}${font :size=9}Processes ${font}${color 696969}${hr 2}$color$font ${color ffffff}${font :size=8}CPU $alignr PID CPU% MEM%${font}$color ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1} ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2} ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3} ${color ffffff}${font :size=8}Memory $alignr PID CPU% MEM%${font}$color ${top_mem name 1} $alignr${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem name 2} $alignr${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem name 3} $alignr${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} ${color ffffff}${font :size=9}Free Space ${font}${color 696969}${hr 2}$color ${color ffffff}${font :size=8}Linux:${alignr}${fs_free_perc /}% ${fs_free /} Remaining$font$color ${fs_bar /} ${color ffffff}${font :size=8}Windows:${alignr}${fs_free_perc /media/Windows}% ${fs_free /media/Windows} Remaining$font$color ${fs_bar /media/Windows} ${color ffffff}${font :size=8}Storage:${alignr}${fs_free_perc /media/Storage}% ${fs_free /media/Storage} Remaining$font$color ${fs_bar /media/Storage} ${color ffffff}${font :size=9}Wireless (${addr eth1}) ${color ffffff}${hr 2}$font Connected to ${color 696969}${wireless_essid eth1}${color} ${color ffffff}Rate:${color} ${color 696969} ${wireless_bitrate eth1}${color} ${color ffffff}Link quality: ${color 696969}${wireless_link_qual_perc eth1}%${color} ${alignr}${wireless_link_bar 8,185 eth1} ${color ffffff}Down: $color ${downspeed eth1} k/s ${alignr}${color ffffff}Up: $color ${upspeed eth1}k/s ${downspeedgraph eth1 25,140 000000 000000} ${alignr}${upspeedgraph eth1 25,140 000000 000000} ${color ffffff}Total:$color ${totaldown eth1} ${alignr}${color ffffff}Total:$color ${totalup eth1} ${color ffffff}${font :size=9}Ethernet (${addr eth0}) ${color 696969}${hr 2}$font ${color ffffff}Down: $color ${downspeed eth0} k/s ${alignr}${color ffffff}Up: $color ${upspeed eth0}k/s ${downspeedgraph eth0 25,140 000000 000000} ${alignr}${upspeedgraph eth0 25,140 000000 000000} ${color ffffff}Total:$color ${totaldown eth0} ${alignr}${color ffffff}Total:$color ${totalup eth0}
Last edited by Solaris3k1; December 6th, 2008 at 12:01 AM.
If anyone does make an RSS logo, could they please upload it?
Bookmarks