SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#801 2010-01-13 14:50:28

iggykoopa
Script Master
Registered: 2008-12-13
Posts: 1,480

Re: My Conky Config

mrpeachy wrote:

here's an interesting way of visualizing process cpu usage:

That's pretty cool mrpeachy, wish I had the creativity to come up with stuff like that....I'm just a code monkey.


I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Offline

Help fund CrunchBang, donate to the project!

#802 2010-01-13 15:01:11

jpope
#! Junkie
From: USA
Registered: 2009-09-20
Posts: 276
Website

Re: My Conky Config

Code monkey??
180px-Code_Monkey_colour.jpg
big_smile


--
...old school #! user now running Arch
jpope.org

Offline

#803 2010-01-13 17:00:41

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: My Conky Config

jpope wrote:

Looks like you just need to increase the voffsets for each string. My EeePC needs a voffset of -399 compared to -336 because of the different dpi's set for each.

Glad you got it working so far. big_smile

I'll give that a run.  And for obvious reasons I changed the colour to green.  smile

Thanks.  Will have to wait, I had to rush to the dentest today and just got home and have to goto the in-laws.

Tomorrow afternoon & CH! as well.  smile

CHIMO!
Bruce

Offline

#804 2010-01-13 17:41:08

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

iggykoopa wrote:

That's pretty cool mrpeachy, wish I had the creativity to come up with stuff like that....I'm just a code monkey.

than you very much iggykoopa... now if only i had those code monkey skills!

Offline

#805 2010-01-13 23:50:58

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

mrpeachy wrote:

heres an improvement, now you can see when the last post was made and who by:
tMzhxMw

fail!
the source code for the "active topics" page shrunk by 2 lines, so had to edit config to get it working again.

does the source code for a web page like that change as a matter of course? or was there a particular reason the code was 2 lines off?

it was fine a few hours ago

Offline

#806 2010-01-14 01:56:36

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,027

Re: My Conky Config

^ Sounds more like a job for AWK.  I don't know how to use AWK myself, but I've seen benj1 and others do similar things with AWK.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#807 2010-01-14 02:02:24

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

pvsage wrote:

^ Sounds more like a job for AWK.  I don't know how to use AWK myself, but I've seen benj1 and others do similar things with AWK.

gah!
"The awk command combines the functions of grep and sed" and i barely know how to use sed
so will the page code change on me every now and again no matter what?

EDIT well i just got the answer - page code just got those 2 missing lines back...

gonna have to rethink

UPDATE ok!  this should be more reliable.
thanks to this page http://www.linux.com/archive/feature/52837 that helped me through the grep and awk stuff.  The first grep should take care of the changing number code lines and altogether its a lot more compact. 

UPDATE2 - just realised how to make the same thing work but using less instances of execpi which is good

UPDATE3 - need to add a sed command to change ' to ' ....so that something like "doesn't" is displayed correctly

TEXT
${font Sans:size=10}CRUNCHBANGLINUX.ORG FORUM ACTIVITY

${font Sans:size=10}${color1}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '</span> <a href' | sed -n 1p | awk -F'/">' '{print $2}' | awk -F'</a>' '{print $1}' | sed "s|&#039;|'|g" | fold -sw 40}
${font Sans:size=8}${color2}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '<li class="info-lastpost' | sed -n 1p | awk -F'>' '{print $6 $9}' | sed -e 's|</a| |' | sed -e 's|</cite||' | sed -e 's/Today/Last post at/'}

${font Sans:size=10}${color1}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '</span> <a href' | sed -n 2p | awk -F'/">' '{print $2}' | awk -F'</a>' '{print $1}' | sed "s|&#039;|'|g" | fold -sw 40}
${font Sans:size=8}${color2}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '<li class="info-lastpost' | sed -n 2p | awk -F'>' '{print $6 $9}' | sed -e 's|</a| |' | sed -e 's|</cite||' | sed -e 's/Today/Last post at/'}

${font Sans:size=10}${color1}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '</span> <a href' | sed -n 3p | awk -F'/">' '{print $2}' | awk -F'</a>' '{print $1}' | sed "s|&#039;|'|g" | fold -sw 40}
${font Sans:size=8}${color2}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '<li class="info-lastpost' | sed -n 3p | awk -F'>' '{print $6 $9}' | sed -e 's|</a| |' | sed -e 's|</cite||' | sed -e 's/Today/Last post at/'}

${font Sans:size=10}${color1}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '</span> <a href' | sed -n 4p | awk -F'/">' '{print $2}' | awk -F'</a>' '{print $1}' | sed "s|&#039;|'|g" | fold -sw 40}
${font Sans:size=8}${color2}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '<li class="info-lastpost' | sed -n 4p | awk -F'>' '{print $6 $9}' | sed -e 's|</a| |' | sed -e 's|</cite||' | sed -e 's/Today/Last post at/'}

${font Sans:size=10}${color1}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '</span> <a href' | sed -n 5p | awk -F'/">' '{print $2}' | awk -F'</a>' '{print $1}' | sed "s|&#039;|'|g" | fold -sw 40}
${font Sans:size=8}${color2}${execi 60 curl 'http://crunchbanglinux.org/forums/search/recent/' | grep -n '<li class="info-lastpost' | sed -n 5p | awk -F'>' '{print $6 $9}' | sed -e 's|</a| |' | sed -e 's|</cite||' | sed -e 's/Today/Last post at/'}

Last edited by mrpeachy (2010-01-20 05:36:34)

Offline

#808 2010-01-14 19:23:55

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

im sure there are already many ways to get news in conky, but heres another! (just playing with extracting info from websites)
tMzk2eg
it uses the site www.newsdaily.com simple because many other news sites only have links to stories, while this site gives the headlines and then a summary, which is what i took out of the page.  i cant vouch for the quality of the site.
you can add different categories, business, science, entertainment and sport by looking at the page code and altering the number in "sed -n 1p "  to get the right line

TEXT
${font Sans:bold:size=12}TOP STORIES
${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n 'topstory' | sed -n 1p | awk -F'class="blue">' '{print $2}' | sed 's|</a></h2>||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '; </span>' | sed -n 1p | awk -F'; </span>' '{print $2}' | fold -sw 50 }

${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n 'topstory' | sed -n 2p | awk -F'class="blue">' '{print $2}' | sed 's|</a></h2>||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '; </span>' | sed -n 2p | awk -F'; </span>' '{print $2}' | fold -sw 50 }

${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n 'topstory' | sed -n 3p | awk -F'class="blue">' '{print $2}' | sed 's|</a></h2>||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '; </span>' | sed -n 3p | awk -F'; </span>' '{print $2}' | fold -sw 50 }

${font Sans:bold:size=12}WORLD NEWS
${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '<h3><a href=' | sed -n 1p | awk -F'/">' '{print $2}' | sed 's|.........$||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n ';</span>' | sed -n 1p | awk -F'span>' '{print $2}' | awk -F'&nbsp' '{print $1}' | sed 's/^.//' | fold -sw 50 }

${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '<h3><a href=' | sed -n 2p | awk -F'/">' '{print $2}' | sed 's|.........$||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n ';</span>' | sed -n 2p | awk -F'span>' '{print $2}' | awk -F'&nbsp' '{print $1}' | sed 's/^.//' | fold -sw 50 }

${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '<h3><a href=' | sed -n 3p | awk -F'/">' '{print $2}' | sed 's|.........$||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n ';</span>' | sed -n 3p | awk -F'span>' '{print $2}' | awk -F'&nbsp' '{print $1}' | sed 's/^.//' | fold -sw 50 }

${font Sans:bold:size=12}POLITICS
${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '<h3><a href=' | sed -n 5p | awk -F'/">' '{print $2}' | sed 's|.........$||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n ';</span>' | sed -n 5p | awk -F'span>' '{print $2}' | awk -F'&nbsp' '{print $1}' | sed 's/^.//' | fold -sw 50 }

${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '<h3><a href=' | sed -n 6p | awk -F'/">' '{print $2}' | sed 's|.........$||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n ';</span>' | sed -n 6p | awk -F'span>' '{print $2}' | awk -F'&nbsp' '{print $1}' | sed 's/^.//' | fold -sw 50 }

${font Sans:bold:size=10}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n '<h3><a href=' | sed -n 7p | awk -F'/">' '{print $2}' | sed 's|.........$||' | fold -sw 40 }
${font Sans:size=8}${execpi 600 curl 'http://www.newsdaily.com/' | grep -n ';</span>' | sed -n 7p | awk -F'span>' '{print $2}' | awk -F'&nbsp' '{print $1}' | sed 's/^.//' | fold -sw 50 }

oops, posted too soon!  headlines and stories dont match up... FIXED... added top stories and changed a little to make the awk search entries a bit more specific.

Last edited by mrpeachy (2010-01-15 02:14:04)

Offline

#809 2010-01-14 20:40:30

tawan
#! Junkie
Registered: 2009-01-30
Posts: 385
Website

Re: My Conky Config

mrpeachy wrote:

im sure there are already many ways to get news in conky, but heres another! (just playing with extracting info from websites)

Definitely going to enjoy playing with that now you showed me the method smile


I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Offline

#810 2010-01-15 14:21:12

vallhalla81
Member
Registered: 2010-01-06
Posts: 17

Re: My Conky Config

hey there loving the conkys could anyone tell me where the conky help forum is please?

tMzlkcw


vallhalla81=chmod 0777 to all if all=chmod 0777

Offline

#811 2010-01-15 21:11:28

tawan
#! Junkie
Registered: 2009-01-30
Posts: 385
Website

Re: My Conky Config

vallhalla81 wrote:

hey there loving the conkys could anyone tell me where the conky help forum is please?

tMzlkcw

This one?


I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Offline

#812 2010-01-17 07:16:33

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

heres the result of a few hours tinkering... facebook updates in conky

tMzl6aw

it's the better half's account, names have been blurred to protect the innocent.
it displays only conversations, none of that "x and y are now friends" or any of the other junk like "z just did something in something world"

it needs some fine tuning
plus im sure there is a better way of doing it!  the way i came up with is extremely convoluted and when the script runs it shoots my processor usage to 100%  but here is is anyway: (dont laugh too much anyone who actually knows what they are doing!)

UPDATE - its improving, the only major thing left is to compensate for punctuation code in the html
now extracts all conversation threads (previously it missed a couple of types) and removes all the junk
tM2F2Nw

#!/bin/bash
#this section logs into facebook and downloads the live feed page
curl -A "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.17)" \
    --cookie-jar cjar --output /tmp/logincookie.txt \
    https://login.facebook.com/login.php?login_attempt=1
    
curl -A "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.17)" \
    --cookie cjar --cookie-jar cjar \
    --data 'email=youremail' \
    --data 'pass=yourpassword' \
    --location \
    --output /tmp/loginresult.html \
    https://login.facebook.com/login.php?login_attempt=1
   
curl -A "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.17)" \
    --cookie cjar \
    --output /tmp/facebooklivefeed.html \
    http://www.facebook.com/home.php?#/home.php?filter=lf
#this section takes the 2 story lines and breaks them up into parts that contain the stories
{
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p | sed -n 1p | awk -F'GenericStory_Name' '{print $1}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p | sed -n 1p | awk -F'GenericStory_Name' '{print $2}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p | sed -n 1p | awk -F'GenericStory_Name' '{print $3}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p | sed -n 1p | awk -F'GenericStory_Name' '{print $4}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p | sed -n 1p | awk -F'GenericStory_Name' '{print $5}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p | sed -n 1p | awk -F'GenericStory_Name' '{print $6}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $7}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $8}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $9}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $10}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $11}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $12}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $13}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $14}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $15}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $16}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $17}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $18}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $19}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_intentional_stream' | sed -n 2p| sed -n 1p | awk -F'GenericStory_Name' '{print $20}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $1}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $2}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $3}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $4}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $5}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $6}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $7}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $8}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $9}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $10}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $11}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $12}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $13}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $14}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $15}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $16}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $17}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $18}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $19}'
cat /tmp/facebooklivefeed.html | grep -n 'pagelet_delayed_stream' | sed -n 2p  | sed -n 1p| awk -F'GenericStory_Name' '{print $20}'
}>/home/mcdowall/test2.txt
#this section removes the junk
cat /home/mcdowall/test2.txt | sed '/^$/d' | grep -v 'BigPipe' | grep -v '<\\\/a> and <a' | grep -v '<\\\/a> became a fan of <a' | grep -v 'apps.facebook.com' >/home/mcdowall/test3.txt
#this section sets the variables to compensate for arrowed stories 
A1=$(cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
A2=$(cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
A3=$(cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
A4=$(cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
A5=$(cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
A6=$(cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
A7=$(cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'::&quot;' '{print $2 $3}' | grep -v 'intentional_arrow' | grep -c '>')
#this section generates the threads that will be displayed
{
echo __________________________________________________
if [ $A1 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A1 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 1p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

echo __________________________________________________
if [ $A2 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A2 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 2p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

echo __________________________________________________
if [ $A3 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A3 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 3p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

echo __________________________________________________
if [ $A4 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A4 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 4p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

echo __________________________________________________
if [ $A5 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A5 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 5p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

echo __________________________________________________
if [ $A6 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A6 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 6p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50


echo __________________________________________________
if [ $A7 -eq 0 ]; then
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'::&quot;' '{print $3}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|To |'
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
elif [ $A7 -eq 1 ]; then
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $1}' | sed -e 's|^....||' | sed -e 's|>|:::: |'
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'::&quot;' '{print $2}' | awk -F'<\\\/h3>' '{print $1}' | awk -F'<a href=' '{print $1}' | awk -F'<\\\/a> ' '{print $2}' | sed -e "s|&#039;|'|g" | fold -sw 50
fi

cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_author' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_actual_text' '{print $2}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_author' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_actual_text' '{print $3}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_author' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_actual_text' '{print $4}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50

cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_author' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's/^.//' | sed -e 's|">|:: |' | sed -e 's|.......$||' 
cat /home/mcdowall/test3.txt | sed -n 7p | awk -F'comment_actual_text' '{print $5}' | awk -F'div' '{print $1}' | sed -e 's|^...||' | sed -e 's|...$||' | sed -e 's|&quot;|"|g' | sed -e "s|&#039;|'|g" | fold -sw 50
}>/home/mcdowall/test4.txt
cat /home/mcdowall/test4.txt | sed '/^$/d' >/home/mcdowall/test5.txt
#this section removes blank lines and displays the text
cat /home/mcdowall/test5.txt

im still sure there will be plenty of things that come up that will break the script...but it was more interesting to work on smile

Last edited by mrpeachy (2010-01-20 06:30:40)

Offline

#813 2010-01-17 23:02:22

vallhalla81
Member
Registered: 2010-01-06
Posts: 17

Re: My Conky Config

tawan wrote:
vallhalla81 wrote:

hey there loving the conkys could anyone tell me where the conky help forum is please?

tMzlkcw

This one?

that would be the one thank you


vallhalla81=chmod 0777 to all if all=chmod 0777

Offline

#814 2010-01-19 04:02:51

Mguel
New Member
Registered: 2010-01-01
Posts: 7

Re: My Conky Config

Posting a screenshot at:
gsimplecal: Lightweight calendar to display when clicking the clock

samoflange asked me to post my conkyrc, so here it is:

screenshot:
100118crunchbang.th.jpg

Code:

TEXT
${voffset 0}${offset 0}${color 99FF99}${font StyleBats:style=CleanCut:size=12}i${voffset -2}${font Sans:style=Bold:size=8}!CrunchBang${color} ${hr 2}${font}
Uptime:$alignr$uptime_short
CPU usage:$alignr${cpu cpu0}% 
${color 011f5b}${cpubar cpu0}${color}
RAM:$alignr$mem/$memmax
${color 011f5b}$membar${color}
Swap usage:$alignr$swap/$swapmax

${voffset -9}sda1 (W):$alignr${fs_free /media/sda1}/${fs_size /media/sda1}
sda6 (KDE):$alignr${fs_free /media/sda6}/${fs_size /media/sda6}
sda7 (Docs):$alignr${fs_free /media/sda7}/${fs_size /media/sda7}
${color 011f5b}${fs_bar /media/sda7}${color}
sdb1 (/):$alignr${fs_free /}/${fs_size /}
sdb5 (Canon):$alignr${fs_free /media/sdb5}/${fs_size /media/sdb5}


${voffset -25}${offset -2}${color 99FF99}${font Webdings:style=CleanCut:size=11}q${voffset -1}${font Sans:style=Bold:size=8}Network${color} ${hr}${font}
${downspeedgraph eth0 22,240 000918 023876 400}
${voffset -33}In        ${color DDDDFD}${downspeed eth0}${alignr}${font Dejavu Sans Considered:size=8}(${totaldown eth0})${font}${color}
${voffset 9}${upspeedgraph eth0 22,240 000918 023876 80}
${voffset -33}Out     ${color DDDDFD}${upspeed eth0}${alignr}${font Dejavu Sans Considered:size=8}(${totalup eth0})${font}${color}


${voffset -21}${offset 1}${color 99FF99}${font StyleBats:style=CleanCut:size=10}p ${voffset -2}${offset -3}${font Sans:style=Bold:size=8}Date${color} ${hr}${font}
${voffset 9}${offset 140}${color 333333}${font MoonPhases:size=60}${execi 600 conkyForecast --location=CIXX0020 --datatype=MF}${color}${font}
${voffset -95}${font Bitstream Vera Sans Mono:size=7}${exec cal -m}${font}
${offset 131}${voffset -90}${alignc}${font Georgia:size=26} ${time %H:%M}${font}
${offset 131}${alignc}${font Georgia:size=14}${time %a %d %b}${font}
${offset 140}${alignc}${voffset 0}${font Dejavu Sans Considered:size=8}${color 666666}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=MP}${color}${font}


${voffset -24}${offset 0}${color 99FF99}${font ConkyWeather:style=CleanCut:size=12}c ${offset -5}${voffset -2}${font Sans:style=Bold:size=8}Weather${color} ${hr}${font}
${voffset -20}${font Sans:size=7}${alignr}${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --datatype=LU}
${voffset 0}${alignr}${font Dejavu Sans Considered:size=7}${color 888888}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=CT}${color}${font}

${voffset -23}${font Dejavu Sans Considered:size=7}Bar: ${alignr 150}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=BD}
${voffset 0}Hum: ${alignr 150}${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --datatype=HM}
${voffset 0}Wind: ${alignr 150}${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --hideunits --datatype=WS}k/h ${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --hideunits --datatype=WD}
${voffset 0}Rain:${alignr 150}${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --hideunits --datatype=PC}
${voffset 2}${font ConkyWeather:style=Bold:size=14}a${font}${voffset -6}${font Dejavu Sans Considered:size=8}${alignr 150}${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --datatype=SR}-${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --datatype=SS}${font}

${voffset -90}${alignr 99}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=CIXX0020 --datatype=WF}${font} ${voffset -36}${font Georgia:size=25}${execi 600 conkyForecast --location=CIXX0020 --datatype=HT}${font}
${voffset 9}${alignc -42}${font Georgia:size=14}Max: ${execi 600 /usr/bin/conkyForecast --location=CIXX0020 --datatype=HT --startday=0}${font}

${voffset -10}${font Dejavu Sans Considered:size=7}${execi 1800 conkyForecast --location=CIXX0020 --datatype=DW --startday=1}        ${execi 1800 conkyForecast --location=CIXX0020 --datatype=DW --startday=2}${alignr}${execi 1800 conkyForecast --location=CIXX0020 --datatype=DW --startday=3}      ${execi 1800 conkyForecast --location=CIXX0020 --datatype=DW --startday=4} ${font}
${voffset -3} ${font ConkyWeather:style=Bold:size=27}${execi 1800 conkyForecast --location=CIXX0020 --datatype=WF --startday=1}   ${execi 1800 conkyForecast --location=CIXX0020 --datatype=WF --startday=2}   ${execi 1800 conkyForecast --location=CIXX0020 --datatype=WF --startday=3}   ${execi 1800 conkyForecast --location=CIXX0020 --datatype=WF --startday=4}${font}
${voffset -9} ${font Dejavu Sans Considered:size=7}${execi 1800 conkyForecast --location=CIXX0020 --datatype=LT  --hideunits --startday=1}-${execi 1800 conkyForecast --location=CIXX0020 --datatype=HT  --hideunits --startday=1}         ${execi 1800 conkyForecast --location=CIXX0020 --datatype=LT  --hideunits --startday=2}-${execi 1800 conkyForecast --location=CIXX0020 --datatype=HT  --hideunits --startday=2}${alignr}${execi 1800 conkyForecast --location=CIXX0020 --datatype=LT  --hideunits --startday=3}-${execi 1800 conkyForecast --location=CIXX0020 --datatype=HT  --hideunits --startday=3}         ${execi 1800 conkyForecast --location=CIXX0020 --datatype=LT  --hideunits --startday=4}-${execi 1800 conkyForecast --location=CIXX0020 --datatype=HT  --hideunits --startday=4} ${font}


${voffset -25}${offset 0}${color 99FF99}${font StyleBats:style=CleanCut:size=10}l${voffset -2}${font Sans:style=Bold:size=8}Processes${color} ${hr}${font}${font Verdana:size=8}
${top_mem name 1} $alignr ${top_mem mem_res 1} ${top_mem cpu 1}%
${top_mem name 2} $alignr ${top_mem mem_res 2} ${top_mem cpu 2}%
${top_mem name 3} $alignr ${top_mem mem_res 3} ${top_mem cpu 3}%
${top_mem name 4} $alignr ${top_mem mem_res 4} ${top_mem cpu 4}%
${top_mem name 5} $alignr ${top_mem mem_res 5} ${top_mem cpu 5}%${font}

Cheers,
Mguel

Offline

#815 2010-01-19 07:31:12

jpope
#! Junkie
From: USA
Registered: 2009-09-20
Posts: 276
Website

Re: My Conky Config

@mrpeachy

I stole your conky and turned it into a pipe menu...

tM2FsNw
And the post is here.


--
...old school #! user now running Arch
jpope.org

Offline

#816 2010-01-20 09:19:43

tawan
#! Junkie
Registered: 2009-01-30
Posts: 385
Website

Re: My Conky Config

Not much of a change for me, the addition of the time and date and also calling "fortune" from an execi so that I get a new stupid thing to read every so often. I'll adapt that so that it calls some more useful info to that area.

tM2F3Zg

#  Settings
##############################################
# Use XftD
use_xft yes
xftfont Bauhaus Md BT:size=8
xftalpha 1.0
text_buffer_size 2048
if_up_strictness address

# 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

# Create own window instead of using desktop (required in nautilus)
own_window no
own_window_transparent yes
own_window_type normal
#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 250
#maximum_width 350

# Draw shadesD
draw_shades no

# Draw outlinesD
draw_outline no

# Draw borders around text
draw_borders no

# Stippled bordersD
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color 2d788d
color1 5e5e5e
color2 FFFFDD
color3 a90100
#default_shade_color 888888
#default_outline_color 888888
own_window_colour 000000

# Text alignment, other possible values are commented
alignment tm

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 0

# Subtract file system buffers from used memoryD
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 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2


# Force UTF8D note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving aboutD  This only affects certain objects.
use_spacer none

TEXT




${color1}
${alignc 80}${font Rebecca:size=44}${time %I:%M}${font Rebecca:size=22}${time %P}${font}

${alignc 120}${font Rebecca:size=22}${time %A %e %B}${font}
${color}









 ${voffset 5}${font StyleBats:size=17}${if_match ${battery_percent BAT0} <= 20}${color3}O${else}${if_match ${battery_percent BAT0} >= 99}${color2}I${else}${color1}O${endif}${endif}${color1}${font}${voffset -7}  ${font pizzadude bullets:size=12}${if_match ${battery_percent BAT0} >=20}${color2}${else}${color1}${endif}B${if_match ${battery_percent BAT0} >=40}${color2}${else}${color1}${endif}B${if_match ${battery_percent BAT0} >=60}${color2}${else}${color1}${endif}B${if_match ${battery_percent BAT0} >=90}${color2}${else}${color1}${endif}D                                                           ${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${wireless_link_qual wlan0} >= 80}${color2}${else}${color1}${endif}D${if_match ${wireless_link_qual wlan0} >= 60}${color2}${else}${color1}${endif}B${if_match ${wireless_link_qual wlan0} >= 40}${color2}${else}${color1}${endif}B${if_match ${wireless_link_qual wlan0} >= 20}${color2}${else}${color1}${endif}B${color1}${font}  ${voffset -5}${font pizzadude bullets:size=15}${color1}:${font}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}
 ${voffset 5}${font StyleBats:size=17}${if_match ${acpitemp} >= 70}${color3}p${else}${if_match ${acpitemp} >= 60}${color2}p${else}${color1}p${endif}${endif}${color1}${font}${voffset -7}  ${font pizzadude bullets:size=12}${if_match ${acpitemp} >=40}${color2}${else}${color1}${endif}B${if_match ${acpitemp} >=50}${color2}${else}${color1}${endif}B${if_match ${acpitemp} >=60}${color2}${else}${color1}${endif}B${if_match ${acpitemp} >=70}${color2}${else}${color1}${endif}D                                                           ${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${upspeedf wlan0 wlan0} >= 80}${color2}${else}${color1}${endif}D${if_match ${upspeedf wlan0 wlan0} >= 40}${color2}${else}${color1}${endif}B${if_match ${upspeedf wlan0 wlan0} >= 10}${color2}${else}${color1}${endif}B${if_match ${upspeedf wlan0 wlan0} >= 5}${color2}${else}${color1}${endif}B${color1}${font}  ${voffset -6}${font pizzadude bullets:size=15}${if_match ${upspeedf wlan0} >= 2}${color2}w${else}${color1}v${endif}${color1}${font}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}
 ${voffset 5}${font StyleBats:size=17}${if_match ${cpu cpu1} >= 90}${color3}a${else}${if_match ${cpu cpu1} >= 40}${color2}a${else}${color1}a${endif}${endif}${color1}${font}${voffset -7}  ${font pizzadude bullets:size=12}${if_match ${cpu cpu1} >=5}${color2}${else}${color1}${endif}B${if_match ${cpu cpu1} >=30}${color2}${else}${color1}${endif}B${if_match ${cpu cpu1} >=60}${color2}${else}${color1}${endif}B${if_match ${cpu cpu1} >=90}${color2}${else}${color1}${endif}D                                                           ${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${downspeedf wlan0} >= 80}${color2}${else}${color1}${endif}D${if_match ${downspeedf wlan0} >= 40}${color2}${else}${color1}${endif}B${if_match ${downspeedf wlan0} >= 10}${color2}${else}${color1}${endif}B${if_match ${downspeedf wlan0} >= 5}${color2}${else}${color1}${endif}B${color}${font}  ${voffset -6}${font pizzadude bullets:size=15}${if_match ${downspeedf wlan0} >= 2}${color2}s${else}${color1}r${endif}${color1}${font}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}
 ${voffset 5}${font StyleBats:size=17}${if_match ${cpu cpu2} >= 90}${color3}a${else}${if_match ${cpu cpu2} >= 40}${color2}a${else}${color1}a${endif}${endif}${color1}${font}${voffset -7}  ${font pizzadude bullets:size=12}${if_match ${cpu cpu2} >=5}${color2}${else}${color1}${endif}B${if_match ${cpu cpu2} >=30}${color2}${else}${color1}${endif}B${if_match ${cpu cpu2} >=60}${color2}${else}${color1}${endif}B${if_match ${cpu cpu2} >=90}${color2}${else}${color1}${endif}D                                                           ${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}${execi 2000 ~/mybin/tawan-check-updates}${font}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}
 ${voffset 5}${font StyleBats:size=17}${if_match ${memperc} >= 80}${color3}y${else}${if_match ${memperc} >= 50}${color2}y${else}${color1}y${endif}${endif}${color1}${font}${voffset -9}  ${offset -2}${font pizzadude bullets:size=12}${if_match ${memperc} >=10}${color2}${else}${color1}${endif}B${if_match ${memperc} >=30}${color2}${else}${color1}${endif}B${if_match ${memperc} >=60}${color2}${else}${color1}${endif}B${if_match ${memperc} >=80}${color2}${else}${color1}${endif}D                                                           ${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}${execi 600 ~/mybin/tawan-timed-torrent}${font}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}
 ${voffset 5}${font StyleBats:size=17}${if_match ${fs_used_perc /home/tawan/Data} >= 80}${color3}8${else}${if_match ${diskio /dev/sda} >= 20}${color1}8${else}${color2}8${endif}${endif}${color1}${font}${voffset -8}  ${font pizzadude bullets:size=12}${if_match ${fs_used_perc /home/tawan/Data} >=10}${color2}${else}${color1}${endif}B${if_match ${fs_used_perc /home/tawan/Data} >=30}${color2}${else}${color1}${endif}B${if_match ${fs_used_perc /home/tawan/Data} >=60}${color2}${else}${color1}${endif}B${if_match ${fs_used_perc /home/tawan/Data} >=80}${color2}${else}${color1}${endif}D                                                           ${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}DBBB${font} ${voffset -20}${font Rebecca:size=29}${execpi 900 python ~/.conky/gmail_parser.py NAME PASSWORD 1}${font}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}${else}${color1}DBBB${font}  ${voffset -6}${font pizzadude bullets:size=15}9${font}${endif}



${color1}
${alignc 70}${font Courier New:size=9}${execi 30 fortune -s -n90}${font}
${color}












${if_match ${battery_percent BAT0} <= 10}${if_match ${battery_percent BAT0} > 6}${execi 3000 ~/mybin/tawan-warn-shutdown}${endif}${endif}${if_match ${battery_percent BAT0} <= 6}${execi 3000 ~/mybin/tawan-shutdown-now}${endif}

Last edited by tawan (2010-01-20 11:29:38)


I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Offline

#817 2010-01-21 03:28:43

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

im going for the "pointless" and "uninformative" conky category with this one... but also "fun" smile

tM2I1aw

-top left is the current conditions
-bottom left, the pails represent cpu usage, when they reach the pig your cpu is running at 100%!
-the rooster represents memory usage, the rooster travels across the roof and ends up at the top at 100%
-the mouse on the silo represents hard disk usage, when he reaches the top your hard disk is full!
-and finally for those of you who use laptops, i have incorporated the chick-o-meter to represent battery %.  10 chicks it's full... 1 chick your battery needs charging!
- and the clock tells the time, but i havn't quite got it working right
i'll post a vid clip soon so you can see it in all it's glory!...
EDIT although the only thing that really moves with any regularity is the pails... so maybe no clip smile

Last edited by mrpeachy (2010-01-21 16:51:17)

Offline

#818 2010-01-21 10:26:59

slapfish
#! Die Hard
From: Athens, Greece
Registered: 2009-10-22
Posts: 601

Re: My Conky Config

Wow...very nice... well done!!!

Offline

#819 2010-01-21 17:00:54

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

slapfish wrote:

Wow...very nice... well done!!!

thanks slapfish smile
i didnt post a config because, obviously, it needs a number of image files to work. Other than that it is if_match's which control the movement, either where the image is displayed or which image file is displayed

Offline

#820 2010-01-21 18:03:00

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: My Conky Config

mrpeachy wrote:

im going for the "pointless" and "uninformative" conky category with this one... but also "fun" smile

tM2I1aw

-top left is the current conditions
-bottom left, the pails represent cpu usage, when they reach the pig your cpu is running at 100%!
-the rooster represents memory usage, the rooster travels across the roof and ends up at the top at 100%
-the mouse on the silo represents hard disk usage, when he reaches the top your hard disk is full!
-and finally for those of you who use laptops, i have incorporated the chick-o-meter to represent battery %.  10 chicks it's full... 1 chick your battery needs charging!
- and the clock tells the time, but i havn't quite got it working right
i'll post a vid clip soon so you can see it in all it's glory!...
EDIT although the only thing that really moves with any regularity is the pails... so maybe no clip smile

Genius, absolute genius!  A conky "Animal Farm", as long as they don't revolt.

And you are wrong, it's not "uninformative" it show current conditions, cpu usage, Memory usage, HD Usage.  I have a desktop and could certainly find another use for the "chick-o-meter" but my wife would KILL me!

"What do you really mean by chick-o-meter!"  big_smile

What's the problem with the clock?

Something that this might help: Clock Hands. By londonali1010

Have a nice day.
Bruce

Offline

#821 2010-01-21 18:15:40

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

Bruce wrote:

Genius, absolute genius!  A conky "Animal Farm", as long as they don't revolt.

What's the problem with the clock?

Bruce

thank you very much bruce smile

i got the clock here from conkyhardcore (clocks 1 to 9)   http://conky.linux-hardcore.com/?page_id=583
maybe i need to edit something in the clock script so that it shows the right time... i just put it up there!
plus i have to make the hour hand a little shorter and i dont think i have the hands lined up precisely

it was fun to work on... and using things like if_updatenr i could add some random background animations etc
to do:
add a "sign" that gives date
make the rooster crow at 100% memory usage (using a text callout rather than sound, although im sure it would be possible to trigger a sound with a script smile  )
make the cow moo at 100% cpu usage
maybe resize the chicks based on perspective
maybe make the mouse more visible
find a more "realistic" weather font

if you liked the chick-o-meter, it did occur to me to usa a male sheep in relation to memory usage (Ram-o-meter)
and if you feel so inclined you could call the memory usage meter a cock-erel-o-meter

Last edited by mrpeachy (2010-01-21 18:34:44)

Offline

#822 2010-01-21 20:29:08

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: My Conky Config

mrpeachy wrote:

thank you very much bruce smile

Your welcome.

mrpeachy wrote:

i got the clock here from conkyhardcore (clocks 1 to 9)   http://conky.linux-hardcore.com/?page_id=583
maybe i need to edit something in the clock script so that it shows the right time... i just put it up there!
plus i have to make the hour hand a little shorter and i dont think i have the hands lined up precisely

Actually that clock has a feature I like that most people do not.  It tells the time perfectly, with one minor huccup that makes it "unique" and, IMHO, perfect for "Animal Farm":

1. the second hand updates every SECOND if you have conky updating every second or 0.5 seconds,
2. the minute hand updates every MINUTE, and
3. the hour hand updates every HOUR.

Just like a "Digital" clock/watch.

mrpeachy wrote:

find a more "realistic" weather font

What are you using for "conditions"?  conkyForecast and if so what version?

Thu Jan 21, 17:10 $ conkyForecast -V
conkyForecast v.2.09
0 bruloo@bruloo: ~
Thu Jan 21, 17:10 $

What version of Conky?  v1.7.1 minimum is needed.  Be careful with  conky - 1.8.0~rc1-0ubuntu1~jaunty1 it has known issues.

Conky v 1.7.2 for Ubu 9.04 still available here

0 bruloo@bruloo: ~
Thu Jan 21, 17:31 $ conky -v
Conky 1.7.2 compiled Wed Dec 16 20:29:33 UTC 2009 for Linux 2.6.24-26-xen (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft

 Music detection:
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * eve-online
  * config-output
  * Imlib2
  * ALSA mixer support
  * apcupsd
  * iostats
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2
0 bruloo@bruloo: ~
Thu Jan 21, 17:31 $

If you have conkyForecast installed you could use that to get a weather "image".

WeatherBox-300x240.png

The command would be:

TEXT
${execpi 1800 conkyForecast --location=ARDF0127 --template=/home/bruloo/Conky/scripts/AnimalFarm.template}

and the template: AnimalFarm.template

${image [--datatype=WI] -p 0,0 -s 90x90}

Obviously you would need to use your own code (ARDF0127 is Buenos Aires Argentina)  and have everything configured right and change --template=/home/bruloo/Conky/scripts/AnimalFarm.template to where ever you put it.  Short form (~/ ) not accepted.

-p = position 0,0 is upper left of you conky window
-s = size in pixels

which means the line above, calling the template, can go at the tail end of any line in your conky and therefore not really creating a line on the screen for the image.

mrpeachy wrote:

if you liked the chick-o-meter, it did occur to me to usa a male sheep in relation to memory usage (Ram-o-meter)
and if you feel so inclined you could call the memory usage meter a cock-erel-o-meter

You missed the joke, "chick-o-meter" - my wife would think: chicks in bikinis on the beach  big_smile

Ram-o-Meter I like but at my age it would more likely be "Neuron-Counter"

Have a nice day.
Bruce

Last edited by Bruce (2010-01-21 20:41:38)

Offline

#823 2010-01-21 20:47:51

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 2,739

Re: My Conky Config

Bruce wrote:

What are you using for "conditions"?  conkyForecast and if so what version?

i was upgraded to 1.8.0 via the ppa and i havnt had many problems, had one setup that kept crashing with segmentation faults, but none of my other conkys have suffered

and yes, conkyforecast, conkyForecast v.2.09
this is how i get the current conditions:

${font ConkyWeather:size=80}${execi 3600 conkyForecast --location=USMO0787 --datatype=WF}

so if i could find a better font than ConkyWeather that would solve it
but i do like your weather images, so i'll look into the method you have described

You missed the joke, "chick-o-meter" - my wife would think: chicks in bikinis on the beach  big_smile

i would never miss such an obvious pun! big_smile ( i love puns)
but i like to convey an image of innocent purity cool

and

Actually that clock has a feature I like that most people do not.  It tells the time perfectly, with one minor huccup

i think im probably in the same boat as "most people" here, if im going to display an analogue clock, then would like the clock to emulate a real analogue clock
i'll look into the clock hands by londonali1010

thanks!

Last edited by mrpeachy (2010-01-21 20:54:29)

Offline

#824 2010-01-21 21:27:40

Bruce
#! CrunchBanger
Registered: 2009-05-29
Posts: 242

Re: My Conky Config

mrpeachy wrote:

i would never miss such an obvious pun! big_smile ( i love puns)
but i like to convey an image of innocent purity cool

Ahhhhhhh peachy clean huh! big_smile

You could also use the semi-transparent "widget" type LUA clock from londonali1010 as well

“Air” Clock for Conky 1.7.2+ it take on colours from behind it, and it runs smooth  smile

Since you have conkyForecast v2.09 installed those images are already on your system.

/usr/share/conkyforecast/images/weathericons
/usr/share/conkyforecast/images/moonicons
/usr/share/conkyforecast/images/bearingicons

and the commands I gave you, using USMO0787, will call up the image that is the current condition for your location.

I'm looking forward to seeing the the new version.  smile

Have a GREAT day.
Bruce

Offline

Help fund CrunchBang, donate to the project!

#825 2010-01-23 07:01:27

slipshot
#! CrunchBanger
Registered: 2009-05-13
Posts: 171

Re: My Conky Config

vM2J2cQ

Just toying around and thought it looked cool

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo