Conky
#1
Posted 03 January 2008 - 11:46 AM
conky is a system monitoring program that can run on your desktop and give you all sorts of useful info. It is highly configurable, and is even able to display the output from any scripts that you have written yourself.
The conky homepage is at http://conky.sourceforge.net/.
For ideas on how to write your conky script, there are hundreds of examples (screenshots and .conkyrc scripts) here:
http://ubuntuforums....ad.php?t=281865
The variables that I have found most useful are:
${battery} - Shows the battery state, whether charging, discharging
${acpitemp} - Shows the internal temp
${wireless_essid <connection>} - Shows the ESSID. For this I have ${wireless_essid ath0} - amend according to your connection
${wireless_link_bar <connection>} - Shows the quality of the connection
I will put up my full conky script when I get home (my eee doesn't have internet connection at work).
Until then, happy conkying!!
#3
Posted 04 January 2008 - 03:05 PM
i'll post my scripts with screenshot aswell in a bit
#4
Posted 04 January 2008 - 03:24 PM
but first, I start it with conky, how do I stop it ?
Edited by o2smartphone, 04 January 2008 - 03:26 PM.
#5
Posted 04 January 2008 - 03:53 PM
Quote
but first, I start it with conky, how do I stop it ?
background yes
then this will mean that conky is running in the background. when you type conky, and hit return, does the command prompt return? If it does, then your conky is running as a background process.
In this case, to kill it, you can do:
killall conky
this saves having to look up the process id using
ps -ef | grep conky
and killing that way.
#6
Posted 04 January 2008 - 04:07 PM
At last, I restart my eee :)
I can get rid of it by the line killall conky, but can I set hotkey for that ?
#7
Posted 04 January 2008 - 06:26 PM
Why not keep it running in the background? It is very light on system resources (and can be made to be even lighter by setting the update_interval to a higher value).
#8
Posted 04 January 2008 - 09:52 PM
thx.
#9
Posted 05 January 2008 - 12:17 AM
Edit: Bah, preview distorts. Click here for screenshot: http://quaggaspace.o...e/eee-conky.png
And the conf file is here if anyone likes: http://quaggaspace.org/eee/conkyeee
Edit (another one): The conf file for the wireless is setup to use wlan0 as that is what the new madwifi-ng uses. If you're using this on the classic Xandros it is called ath0. Do a find and replace in your favorite text editor to switch them out.
In vi (the Very Intuitive editor) that would be a :s%/wlan0/ath0/g
Edited by quagga, 05 January 2008 - 12:29 AM.
#10
Posted 05 January 2008 - 04:38 AM
I tried your conkyrc file and it looks good. But I still don't get cpu temp. It shows 0 degrees. For completeness, I am running my conky from the advanced desktop.
With your suggestion of changing wlan with ath, that got me basic info like my ip address, but the majority of the variables on the wireless section didn't work. I hope someone can suggest variable names that work with our xandros distro.
Thx
Jerry
Edited by JerryF, 05 January 2008 - 04:58 AM.
#11
Posted 05 January 2008 - 05:54 AM
Thanks again,
Jerry
#12
Posted 05 January 2008 - 03:59 PM
Now on my athlon desktop its a bit odd as the temperature always reads 40C. I'm not sure I buy that. The athlon has different ways of measuring temp of the CPU core but I can't seem to get that to work.
#13
Posted 05 January 2008 - 05:57 PM
#14
Posted 07 January 2008 - 05:03 PM
I'd welcome seeing one that has the wireless settings working. I finally got the temp reading ok, but the majority of the wireless atributes don't work.
Thx..
Jerry
#15
Posted 08 January 2008 - 09:04 PM
#16
Posted 09 January 2008 - 10:49 AM
Quote
I'd welcome seeing one that has the wireless settings working. I finally got the temp reading ok, but the majority of the wireless atributes don't work.
Thx..
Jerry
http://ubuntuforums....ad.php?t=281865
Re. your wireless, are you using the correct device? On mine it's ath0, what are you using?
#17
Posted 09 January 2008 - 03:00 PM
#18
Posted 09 January 2008 - 03:51 PM
I thing it's more likely a runaway string from earlier in the file.
#19
Posted 09 January 2008 - 04:27 PM

# .conkyrc 2008/01/09
#update intervals
update_interval 3.0
# Use xft
use_xft yes
xftfont Sans:style=normal:size=8
maximum_width 270
alignment top_right
default_color white
# not all text in uppercase
uppercase no
TEXT
$nodename - $sysname $kernel on $machine
$color $stippled_hr
${color lightgrey}Uptime:$color $uptime $alignr${color lightgrey}Load:$color $loadavg
${color lightgrey}CPU: $color ${freq} Mhz $alignr${color lightgrey} Usage:$color $cpu%
$color${cpubar}
${color lightgrey}Battery: $color ${battery}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
$color $stippled_hr
${color lightgrey}Processes:$color $processes ($running_processes running)
$color $stippled_hr
${color lightgrey}ath0 Signal $color${linkstatus ath0}% $alignr$color${addr ath0}
$color${wireless_essid ath0} $alignr$color${wireless_link_bar ath0}
${color lightgrey}eth0: $alignr$color${addr eth0}
${color lightgrey}Down:$color ${downspeed eth0} k/s $alignr${color lightgrey}Up:$color ${upspeed eth0} k/s
${color lightgrey}Temp: $color${acpitemp} C
Edited by o2smartphone, 09 January 2008 - 04:31 PM.
#20
Posted 09 January 2008 - 05:36 PM
Do conky -v, and see what that comes up with, if it's not 1.4.9, try upgrading.
As an aside, 'killall -SIGUSR1 conky' reloads your .conkyrc file, saves having to kill and restart conky each time.
One other thing that might be worth trying - put the problem variable in another part of the file, say just after the 'TEXT' header, to see if it gets picked up there.
E.g. replace
TEXT
$nodename - $sysname $kernel on $machine
with
TEXT
${wireless_essid ath0}
$nodename - $sysname $kernel on $machine
and see if that works.
Edited by ShaqARif, 09 January 2008 - 06:05 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









