Last edited by Lostincyberspace; January 1st, 2008 at 12:24 AM.
すべてと、そして、すべてへのリナックスは自由を鳴らせました。
Linux to all, and to all, let freedom ring.
I now know how to move it around but I still don't know how to make it be multiple columns.
すべてと、そして、すべてへのリナックスは自由を鳴らせました。
Linux to all, and to all, let freedom ring.
check out this site I found it is really great and has a thing a bout weather in conky.
http://matthewhelmke.net/index.php/2...fun-with-conky
すべてと、そして、すべてへのリナックスは自由を鳴らせました。
Linux to all, and to all, let freedom ring.
To make it two columns you need to make multiple files and some other things i have few more buggs to workout and then i will post my new set up with detailed instructions.
すべてと、そして、すべてへのリナックスは自由を鳴らせました。
Linux to all, and to all, let freedom ring.
Maybe i should put the bug up so other people could take a gander at it.
Bug:
When I load it on start up it rides above the other windows other times it doesn't.
すべてと、そして、すべてへのリナックスは自由を鳴らせました。
Linux to all, and to all, let freedom ring.
Here is my confige file system set up
~/.startconky
~/.conkyscripts/conkyscript1Code:#!/bin/bash conky -c ~/.conkyscripts/conkyscript1; conky -c ~/.conkyscripts/conkyscript2;
~/conkyscripts/conkyscript2Code:# UBUNTU-CONKY # A comprehensive conky script, configured for use on # Ubuntu / Debian Gnome, without the need for any external scripts. # # Based on conky-jc and the default .conkyrc. # INCLUDES: # - tail of /var/log/messages # - netstat connections to your computer # # -- Pengo (conky@pengo.us) # # Create own window instead of using desktop (required in nautilus) own_window yes own_window_hints undecorated, below, skip_taskbar background no own_window_type override own_window_transparent yes #own_window_hints undecorated,below,skip_taskbar background yes font Comic Sans MS:size=8 #xftfont Sans:size=10 use_xft yes xftalpha 0.9 update_interval 1.0 total_run_times 0 #own_window yes #own_window_type normal #own_window_transparent yes #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 5 maximum_width 200 draw_shades yes draw_outline no draw_borders no draw_graph_borders no default_color white default_shade_color red default_outline_color green alignment bottom_right #This is were you change the position gap_x 600 gap_y 0 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no TEXT ${color 97b9f4}${font Ranger:bold:size=12}${time %I:%M}${font} ${color 97b9f4}${time %A %d %b %Y} ${color 97b9f4}$sysname $kernel on $machine ${color white}Uptime $alignr ${color 97b9f4}$uptime ${color white}Load $alignr ${color 97b9f4}$loadavg ${color 97b9f4}$sysname $kernel on $machine ${color 97b9f4}$processes ${color white}Hostname $alignr ${color 97b9f4}$nodename ${color white}Inbound $alignr ${color 97b9f4}${downspeedf eth0} kb/s ${color white}Inbound Total $alignr ${color 97b9f4}${totaldown eth0} ${color white}Outbound $alignr ${color 97b9f4}${upspeedf eth0} kb/s ${color white}Outbound Total $alignr ${color 97b9f4}${totalup eth0}
You just need the program to run at start up from the bash file and it will run great.Code:# UBUNTU-CONKY # A comprehensive conky script, configured for use on # Ubuntu / Debian Gnome, without the need for any external scripts. # # Based on conky-jc and the default .conkyrc. # INCLUDES: # - tail of /var/log/messages # - netstat connections to your computer # # -- Pengo (conky@pengo.us) # # Create own window instead of using desktop (required in nautilus) own_window yes own_window_hints undecorated,below,skip_taskbar background no own_window_type override own_window_transparent yes #own_window_hints undecorated,below,skip_taskbar background yes font Comic Sans MS:size=8 #xftfont Sans:size=10 use_xft yes xftalpha 0.9 update_interval 1.0 total_run_times 0 #own_window yes #own_window_type normal #own_window_transparent yes #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 5 maximum_width 200 draw_shades yes draw_outline no draw_borders no draw_graph_borders no default_color white default_shade_color red default_outline_color green alignment bottom_right #This is were you change the position gap_x 390 gap_y 0 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no TEXT ${color white}CPU${color 97b9f4}$alignc AMD Athlon X2 4800+ ${color white}Usage $alignr ${color 97b9f4}${cpu cpu0}% ${color white}Usage $alignr ${color 97b9f4}${cpu cpu1}% ${color 97b9f4}${cpubar cpu0 } ${color 97b9f4}${cpubar cpu1 } ${color white}Clock: ${color 97b9f4}${freq 1}MHz $alignr ${color white}Temp: ${color 97b9f4}${i2c temp 2} ${color white}${exec lspci|grep VGA|sed -e 's/.*\[\([^]]\+\)\].*/\1/g'} $alignr ${color white}Temp: ${color 97b9f4}${execi 30 nvidia-settings -q gpucoretemp |grep '):' | awk '{print $4}'} C ${color white}MEM $alignc $mem / $memmax $alignr $memperc% ${color 97b9f4}$membar ${color white}Swap $alignc $swap / $swapmax $alignr $swapperc% ${color 97b9f4}${swapbar} Drives ${color white}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}% ${color 97b9f4}${fs_bar /} ${color white}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}% ${color 97b9f4}${fs_bar /home} ${color white}/fat $alignc ${fs_used /media/fat} / ${fs_size /media/fat} $alignr ${fs_free_perc /media/fat}% ${color 97b9f4}${fs_bar /media/fat} ${color white}/ntfs $alignc ${fs_used /media/ntfs} / ${fs_size /media/ntfs} $alignr ${fs_free_perc /media/ntfs}% ${color 97b9f4}${fs_bar /media/ntfs}
すべてと、そして、すべてへのリナックスは自由を鳴らせました。
Linux to all, and to all, let freedom ring.
with the help of some of you and examples to borrow from, here it is.
# Create own window instead of using desktop (required in nautilus)
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
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
minimum_size 210 5
# Maximum width
maximum_width 210
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font Vera
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
own_window_colour brown
own_window_transparent yes
# 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 10
gap_y 10
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
color0 ffccaa
color1 888888
color2 cccccc
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color0}${hr 1}$color
${voffset -3}${color0}SYSTEM$color
${voffset -9}${color0}${hr 1}$color
${color2}Ubuntu 7.10 Gutsy
${color1}$sysname ${color2}$kernel ${color1}on ${color2}$machine
${color1}Uptime: ${color2}${uptime}
${color0}${hr 1}$color
${voffset -3}${color0}CPU$color
${voffset -9}${color0}${hr 1}$color
${color1}Intel Core 2 Duo ${color2}${freq_dyn_g}Ghz
${color1}CPU Temp: ${color2}${i2c 9191-0290 tempf 2} F ${color1}Fan: ${color2}${i2c 9191-0290 fan 1} rpm
${color1}Mobo Temp: ${color2}${i2c 9191-0290 tempf 1} F ${color1}Fan: ${color2}${i2c 9191-0290 fan 2} rpm
${color1}CPU ${color2}$cpu% ${color2}${cpugraph cpu1 10,60 000000 cccccc}$color
${color1}NAME CPU% MEM%
${color2}${top name 1} ${top cpu 1} ${top mem 1}
${color2}${top name 2} ${top cpu 2} ${top mem 2}
${color2}${top name 3} ${top cpu 3} ${top mem 3}
${color0}${hr 1}$color
${voffset -3}${color0}MEMORY$color
${voffset -9}${color0}${hr 1}$color
${color1}RAM: ${color2}${membar 6}$color
${color2}${mem}/${color2}${memmax}
${color1}Swap: ${color2}${swapbar 6}$color
${color2}${swap}/${color2}${swapmax}
${color0}${hr 1}$color
${voffset -3}${color0}DISK$color
${voffset -9}${color0}${hr 1}$color
${color1}Root: ${color2}${fs_bar 6 /}$color
${color2}${fs_used /}/${color2}${fs_size /}
${color1}Home: ${color2}${fs_bar 6 /home}$color
${color2}${fs_used /home}/${color2}${fs_size /home}
${color0}${hr 1}$color
${voffset -3}${color0}NETWORK$color
${voffset -9}${color0}${hr 1}$color
${color1}IP: ${color2}${addr eth0}
${color1}Down: ${color2}${downspeed eth0}Kb/s ${color1}${alignr}Up: ${color2}${upspeed eth0}Kb/s
${color1}${downspeedgraph eth0 20,100 000000 ffffff} ${alignr}${upspeedgraph eth0 20,100 000000 ffffff}$color
${color1}Total: ${color2}${totaldown eth0} ${color1}${alignr}Total: ${color2}${totalup eth0}
using gmail.py as well.
Code:# set to yes if you want Conky to be forked in the background background yes cpu_avg_samples 2 net_avg_samples 2 out_to_console no # X font when Xft is disabled, you can pick one with program xfontsel #font 7x12 #font 6x10 #font 7x13 #font 8x13 #font 7x12 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1 # Use Xft? use_xft yes # Xft font when Xft is enabled #xftfont Comic Sans MS Bold:size=12 xftfont Bitstream Vera Sans Mono:size=8 own_window_transparent no #own_window_colour hotpink # Text alpha when using Xft xftalpha 0.8 on_bottom yes # mail spool #mail_spool $MAIL # Update interval in seconds update_interval 2 # Create own window instead of using desktop (required in nautilus) own_window yes own_window_transparent yes own_window_hints undecorated,below,skip_taskbar own_window_type override # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 260 5 maximum_width 260 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders no # border margins border_margin 4 # border width border_width 1 # Default colors and also border colors default_color black default_shade_color white default_outline_color white # Text alignment, other possible values are commented #alignment top_left #minimum_size 10 10 gap_x 15 gap_y 30 alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # Add spaces to keep things from moving about? This only affects certain objects. use_spacer no # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # none, xmms, bmp, audacious, infopipe (default is none) xmms_player bmp # boinc (seti) dir # seti_dir /opt/seti # Possible variables to be used: # # Variable Arguments Description # acpiacadapter ACPI ac adapter state. # acpifan ACPI fan state # acpitemp ACPI temperature. # adt746xcpu CPU temperature from therm_adt746x # adt746xfan Fan speed from therm_adt746x # battery (num) Remaining capasity in ACPI or APM # battery. ACPI battery number can be # given as argument (default is BAT0). # buffers Amount of memory buffered # cached Amount of memory cached # color (color) Change drawing color to color # cpu CPU usage in percents # cpubar (height) Bar that shows CPU usage, height is # bar's height in pixels # downspeed net Download speed in kilobytes # downspeedf net Download speed in kilobytes with one # decimal # exec shell command Executes a shell command and displays # the output in torsmo. warning: this # takes a lot more resources than other # variables. I'd recommend coding wanted # behaviour in C and posting a patch :-). # execi interval, shell Same as exec but with specific interval. # command Interval can't be less than # update_interval in configuration. # fs_bar (height), (fs) Bar that shows how much space is used on # a file system. height is the height in # pixels. fs is any file on that file # system. # fs_free (fs) Free space on a file system available # for users. # fs_free_perc (fs) Free percentage of space on a file # system available for users. # fs_size (fs) File system size # fs_used (fs) File system used space # hr (height) Horizontal line, height is the height in # pixels # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev # may be omitted if you have only one I2C # device. type is either in (or vol) # meaning voltage, fan meaning fan or temp # meaning temperature. n is number of the # sensor. See /sys/bus/i2c/devices/ on # your local computer. # kernel Kernel version # loadavg (1), (2), (3) System load average, 1 is for past 1 # minute, 2 for past 5 minutes and 3 for # past 15 minutes. # machine Machine, i686 for example # mails Mail count in mail spool. You can use # program like fetchmail to get mails from # some server using your favourite # protocol. See also new_mails. # mem Amount of memory in use # membar (height) Bar that shows amount of memory in use # memmax Total amount of memory # memperc Percentage of memory in use # new_mails Unread mail count in mail spool. # nodename Hostname # outlinecolor (color) Change outline color # pre_exec shell command Executes a shell command one time before # torsmo displays anything and puts output # as text. # processes Total processes (sleeping and running) # running_processes Running processes (not sleeping), # requires Linux 2.6 # shadecolor (color) Change shading color # stippled_hr (space), Stippled (dashed) horizontal line # (height) # swapbar (height) Bar that shows amount of swap in use # swap Amount of swap in use # swapmax Total amount of swap # swapperc Percentage of swap in use # sysname System name, Linux for example # time (format) Local time, see man strftime to get more # information about format # totaldown net Total download, overflows at 4 GB on # Linux with 32-bit arch and there doesn't # seem to be a way to know how many times # it has already done that before torsmo # has started. # totalup net Total upload, this one too, may overflow # updates Number of updates (for debugging) # upspeed net Upload speed in kilobytes # upspeedf net Upload speed in kilobytes with one # decimal # uptime Uptime # uptime_short Uptime in a shorter format # # seti_prog Seti@home current progress # seti_progbar (height) Seti@home current progress bar # seti_credit Seti@hoome total user credit # variable is given either in format $variable or in ${variable}. Latter # allows characters right after the variable and must be used in network # stuff because of an argument #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well #${font Verdana:size=10}as many times as I choose #${font Perry:size=10}Including UTF-8, # stuff after 'TEXT' will be formatted on screen #${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M} TEXT ${color #000055}$sysname $kernel ${color #000055}Uptime:${color #110000} $uptime ${color #000055} Load:${color #110000} $loadavg ${color #000055}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #000055}Usage:${color #000055} ${color #110000}${cpu}% ${color #000055}${cpubar} ${color #000055}${cpugraph 000000 000055} ${color #000055}Process:${color #110000} $processes ${color #000055}Run:${color #110000} $running_processes ${color #000055}CPU: ${color #110000}${freq_dyn}Mhz ${color #000055}RAM ${hr 2} ${color #110000} $mem/$memmax ${color #000055}Usage:${color #110000} $memperc% ${color #000055}${membar 5,110} ${color #000055}Hard Disk ${hr 2} ${color #000055}${color #110000}${fs_used /}/${fs_size /} ${color #000055}Free:${color #110000} ${fs_free_perc}% ${color #000055}${fs_bar 5,120 /} ${color #000055}CPU Usage PID CPU% MEM% ${color #000055} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color #000055} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color #000055} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color #000055} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${color #000055} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${color #000055}Wireless Net ${hr 2} ${color #000055}ESSID: ${color #110000}"${wireless_essid wlan0}" ${color #000055}Local IP: ${color #110000}$alignr${addr wlan0} ${color #000055}Public IP: ${color #110000}$alignr${execi 900 /home/am/.scripts/myip.sh} ${color #000055}Down:${color #110000} ${downspeed wlan0} k/s $alignr${color #000055} Up:${color #110000} ${upspeed wlan0} k/s ${color #000055}Total:${color #110000} ${totaldown wlan0} $alignr${color #000055}Total:${color #110000} ${totalup wlan0} ${color #000055}${downspeedgraph wlan0 10,80 #000055 #110000} $alignr${upspeedgraph wlan0 10,80 #000055 #110000} ${color #000055}Mail ${hr 2} ${color #110000}${texeci 900 python ~/.scripts/gmail.py} ${color #110000}
Can someone please help me. When i start conky with the command "conky &" I get the following message:
Here is my code:Conky: forked to background, pid is 6523
Conky: attempting to use more CPUs then you have!
obj->data.cpu_index 2 info.cpu_count 1
background yes
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 300 5
maximum_width 300
alignment top_right
gap_x 40
gap_y 60
use_xft yes
xftfont Candara:size=6
xftalpha 0.8
uppercase no
override_utf8_locale yes
use_spacer no
default_color d2d2d2
default_shade_color 404040
default_outline_color 000000
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 2
border_margin 4
border_width 1
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
TEXT
${font bold:size=26}${color ffffff}${shadecolor 202020}${time %I:%M %p}$shadecolor$color$font
${font bold:size=8}${color ffffff}${shadecolor 202020}${time %A %B, %d %Y}$shadecolor$color$font
${color B28F59}$hr${color}
${font size=8}${color ffffff}${shadecolor 202020}$nodename$shadecolor$color$font - $sysname $kernel on $machine$font
${color B28F59}$hr${color}
${voffset -2}${color B28F59}${shadecolor 202020}STATUS :$shadecolor$color
${color B28F59}${voffset -6}$hr${color}
Uptime: $uptime - Load: $loadavg
Processes:
Running: $processes
Active: $running_processes
Processes Detail: ${alignr}${offset -4}PID ${offset 4}CPU% MEM%
${color #B26B59}${offset 17}${top name 1}${alignr}${offset -3}${top pid 1} ${top cpu 1} ${top mem 1}$color
${offset 17}${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${offset 17}${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${offset 17}${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${offset 17}${top name 5}${alignr}${top pid 5} ${top cpu 5} ${top mem 5}
${color B28F59}$hr${color}
${voffset -2}${color B28F59}${shadecolor 202020}PROCESSOR :$shadecolor$color
${color B28F59}${voffset -6}$hr${color}
${cpugraph cpu0 60,299 04578a 597DB2}
${voffset -68}AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Core 1: ${freq 1} MHz
${cpu cpu1}% ${color 597DB2}${cpubar cpu1}$color
Core 2: ${freq 2} MHz
${cpu cpu2}% ${color 597DB2}${cpubar cpu2}$color
${voffset -12}${color B28F59}$hr${color}
${voffset -2}${color B28F59}${shadecolor 202020}MEMORY :$shadecolor$color
${color B28F59}${voffset -6}$hr${color}
2GiB Corsair TWINX Pro:
$mem / $memmax
$memperc% ${color 597DB2}${membar}$color
${color B28F59}$hr${color}
${voffset -2}${color B28F59}${shadecolor 202020}STORAGE :$shadecolor$color
${color B28F59}${voffset -6}$hr${color}
File systems:
System: ${fs_used /} / ${fs_size /}
${color 597DB2}${fs_bar /}${color}
${color B28F59}$hr${color}
${voffset -2}${color B28F59}${shadecolor 202020}NETWORK :$shadecolor$color
${color B28F59}${voffset -6}$hr$color
${voffset -5}${downspeedgraph eth0 64,149 495831 91B359}${upspeedgraph eth0 64,149 5C232D B05B6A}
${voffset -67}Ethernet:
Public IP: ${offset 15}${execi 3600 curl 'http://www.whatismyip.org'}
Local IP: ${offset 20}${addr eth0}
Down: ${offset 20}${downspeed eth0} Kb/s${offset 80}Up: ${upspeed eth0}$color Kb/s
${voffset -4}${color B28F59}$hr${color}
${voffset -2}${color B28F59}${shadecolor 202020}WEATHER :$shadecolor$color
${color B28F59}${voffset -6}$hr${color}
Weather report for Dallas, Texas:
${color 597DB2}${execi 60 /usr/bin/pymetar KDFW}$color
Bookmarks