You are not logged in.
not a beginner's question, but something for beginners as I imagine linux old hands are aware of conky already...
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.org/showthread.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!!
Offline
i have used conky with fluxbox, looks great
i'll post my scripts with screenshot aswell in a bit
Offline
good information, now learning to alter the default look.
but first, I start it with conky, how do I stop it ?
Last edited by o2smartphone (2008-01-04 10:26:09 am)
Offline
o2smartphone wrote:
good information, now learning to alter the default look.
but first, I start it with conky, how do I stop it ?
if in your .conkyrc you have a line which is something like:
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.
Offline
I type the word in the address bar rather than using terminal, so I do not have the luck to see the command prompt.
At last, I restart my eee ![]()
I can get rid of it by the line killall conky, but can I set hotkey for that ?
Offline
don't know about setting a hotkey for it, but how often would you want to kill it anyway?
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).
Offline
I really look forward to some sample conkyrc files, as I ( a total noob) have gotten it running, but haven't succeeded in getting it monitoring wireless or cpu temperature. So bring on those samples. :-)
thx.
Offline
I took Tristan Green's conkyrc from this post: http://ubuntuforums.org/showpost.php?p= … count=1007 and modified it to my liking and the eee.
Edit: Bah, preview distorts. Click here for screenshot: http://quaggaspace.org/eee/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
Last edited by quagga (2008-01-04 7:29:03 pm)
Offline
Thanks quagga.
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
Last edited by JerryF (2008-01-04 11:58:38 pm)
Offline
Whoo-hoo! I got the temperature to read out once I added acpitemp to /etc/modules.
Thanks again,
Jerry
Offline
Hmm, the wireless thing does have me confused - I would have thought that would stay. But I did modify a version which was on the ubuntu forums and I'm running ubuntu on my eee so that might explain why it all works
.
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.
Offline
This looks cool, I use Conky on my desktop (gentoo linux). I think I'll try it out here, but to keep it simpler. Thanks for the info about the temperature readings!
Offline
Nobody got any Conkyrc files to share?
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
Offline
I've just setup conky, working great. I'll share my config file (very simple, doesn't use much screen space) when I get home (in a cyber cafe at the moment), I'm just wondering how to start conky when KDE starts up. In Gentoo I have a small script that runs one or two things at startup, but I'm not sure what's the best way to go about it here in Xandros?
Offline
JerryF wrote:
Nobody got any Conkyrc files to share?
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
.conkyrc files? More than you can shake a stick at over here...
http://ubuntuforums.org/showthread.php?t=281865
Re. your wireless, are you using the correct device? On mine it's ath0, what are you using?
Offline
I use ${wireless_essid ath0} it returns ${wireless_essid }, how is that ?
Offline
Can't see anything wrong with the syntax there, can you put up your full .conkyrc, and may be we'll spot something awry?
I thing it's more likely a runaway string from earlier in the file.
Offline

# .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} CLast edited by o2smartphone (2008-01-09 11:31:32 am)
Offline
Really can't see anything wrong with that. What version of conky are you running? If it's an older version, then it may be that those variables are not available in that version.
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.
Last edited by ShaqARif (2008-01-09 1:05:03 pm)
Offline
I have the same issues with ESSID values in my IP section of my file.
Thanks for the tip on version. I'll check, but I think the ultimate question is "are you still running the original Xandros OS"? If you say "yes, and it all works for me", well I'll be surprised. I think most who have had success are running gentoo or xubunto or something.
I suspect the variables you're querying aren't loaded. At least that's how I got my cpu temp to work, was by adding thermal to my modules file.
Re the wireless device of aht0, yes, I know I'm using the right variable, as i got the IP address to get posted right.
Thanks for the effort.
Jerry
Offline
I'm guessing at this point this is a limitation of the driver shipped by ASUS as this guy: http://ubuntuforums.org/showthread.php?t=535809 has an ath0 working on ubuntu.
The solution might be as simple as replacing the stock wireless driver with the one Atheros/madwifi released. I believe there was someone in this forum who had already compiled it for the eee kernel (so he could use kismet).
Although really, I guess it depends on how hellbent you are on getting a SSID to appear in your conky
.
Offline
Here's my simple conky config, I'm using the default xandros OS with KDE (advanced desktop). It works really nice with a white backround.
# maintain spacing between certain elements
use_spacer no
# set to yes if you want tormo to be forked in the background
background yes
use_xft yes
# Xft font when Xft is enabled
#xftfont Vera-9:size=7
#xftfont Andale Mono-9
#xftfont Clean-8
xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# Create own window instead of using desktop (required in nautilus)
own_window no
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_hints below
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 5
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no # amplifies text
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 4
# border widt5
border_width 4
# Default colors and also border colors, grey90 == #ff9900
default_color grey90
default_shade_color black
default_outline_color DarkGrey
# 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
gap_x 4
gap_y 2
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #203ca6}System ${hr 1}
${color #ff9900}cpu usage ${color #ff9900} $alignr $cpu%
${color #ff9900}cpu temp ${color #ff9900} $alignr ${acpitemp}
${color #ff9900}memory $alignr $mem/${memmax}
${color #203ca6}${membar}
${color #203ca6}Wireless ${hr 1}
${color ff9900}down ${color #ff9900}${downspeedf wifi0} ${color ff9900}k/s ${alignr}${color ff9900}up ${color #203ca6}${upspeedf wifi0} ${color ff9900}k/s
${color ff9900}total down: ${totaldown wifi0} $alignr total up: ${totalup wifi0}
${color #203ca6}File System ${hr 1}
${color #ff9900}root ${color white}${fs_free /} (${fs_free_perc /}%) ${color #ff9900}free of ${fs_size /}
${color #203ca6}${fs_bar /}
Offline
to psic
That's a great simple and Eee fitted .conkyrc file, I'll drop gkrellm for now and stick conky in my Autostart...
Stef
:-)
Offline
If wireless isn't working make sure you have compiled conky with wireless support. I tried the version in std repositories -- no joy. Tried compiling my own 1.4.9 no joy. Finally compiled with ./configure --prefix=/usr --enable-wlan and it works like a charm.
Offline