I switched to Windows because of all the disappointment Linux brought me.
Not sure if this helps anyone but by breaking out the amarok section into a separate conky the too many fonts problem went away. I do not know why it works in a single script on the first machine and has to be broken out on the other but that seems to be the answer.
Intel Pentium IV Northwood@2.4 GHz, 1 GiB RAM, 22" Samsung Monitor Ubuntu 9.04 Jaunty Jackalope
AMD Turion 64 X2 Mobile technology @2.2GHz, 2 GiB RAM, 320 GiB HDD Windows 7 Ultimate RC1
please remember to thank those that helped you
hi, could someone tell me which is better on the resources?
1------->>Code:♺${execi 30 du -sh ~/.local/share/Trash/files/ | awk '{print $1}' | sed '/^4.0K/ d' | sed 's/$/ of TRASH <<< /' | sed 's/^/>>> /'}$font
with ^ this line i have to execute the command atleast every 30 secs to update the trash contents , otherwise it will show the trash as having contents even after being emptied, so i thought it might be using unnecessary resource...
2-------so i thought of this if_empty command
>>Code:${if_empty ${execi 300 du -sh ~/.local/share/Trash/files/* | awk '{print $1}' }}♺ ${font Purisa:style:bold:size=9} empty$else${font Purisa:style:bold:size=9}>>>${execi 300 du -sh ~/.local/share/Trash/files/ | awk '{print $1}' } of TRASH <<<${endif}$font
this works perfect , i can also set the exec to execute every 300 secs as soon as the trash is empty it immediately displays empty... so which is perfect....
BUT if the trash is empty i get this output every sec
no matter how much i set this time " execi 300 du " or even if i set it as just exec, it gives the error ...Code:du: cannot access `/home/macvr/.local/share/Trash/files/*': No such file or directory
i understand why i get this error,...
BUT i'd like to know if it is ok to use the second line? is it a more resource hog than the first[was wondering this because i kept getting the error every sec, or could conky refresh rate be changed only for this line?]?
how do i modify the second line? could someone suggest a better way to use the if_empty?
removing the asterisk would not serve the purpose of the if_empty...
or is constant du error a CPU hog?
When I run these codes in terminal, this is what I get.Code:sensors | grep -A 1 'Core 0' sensors | grep -A 1 'Core 1'
When I enter the code in conky, I also get aux temperature and it take up two lines.Code::~$ sensors | grep -A 1 'Core 0' Core 0: +38.0°C (high = +80.0°C, crit = +100.0°C) :~$ sensors | grep -A 1 'Core 1' Core 1: +39.0°C (high = +80.0°C, crit = +100.0°C)
This is the code in my conky file.Code:${color white}Core 0 Temp:${color white} ${execi 8 sensors | grep -A 1 'Core 0:' | cut -c15-21} ${color white}Core 1 Temp:${color white} ${execi 8 sensors | grep -A 1 'Core 1:' | cut -c15-21 | sed '/^$/d'}
Would anyone have an idea what code needs to change to get rid of the aux temp.
Rusty
-first:conky and terminal show two lines because you order with option -A1 in grep show the ocurrence line and the next, so remove -A1 options.
-second: remove all secundary information, for example with several cut:
Code:sensors | grep 'Core 0:' | cut -d"+" -f2 |cut -d"º" -f1
mujeres y hombres de esta tierra
un otro mundo es posible
otro mundo diferente
justo si, y sin miedo de su gente
Well I searched here for a conky rss setup but came up with
Is anyone using conky to fetch news?
Any pointers in the right direction appreciated
Cheers
Last edited by I wanted to leave; November 8th, 2008 at 01:43 AM. Reason: Answer found...
First one on the fourth row:
http://conky.sourceforge.net/screenshots.html
Internets //<http://www.stevey.eu>
Advice given with no warranty implied. Results are the users own responsibility.
Paragraphs, spelling, and grammar. All very useful, please use them. It makes reading much easier.
Disable the PC Speaker!
Been compacting my conky of late.
Not finished but thought I would share.
Internets //<http://www.stevey.eu>
Advice given with no warranty implied. Results are the users own responsibility.
Paragraphs, spelling, and grammar. All very useful, please use them. It makes reading much easier.
Disable the PC Speaker!
Bookmarks