読者です 読者をやめる 読者になる 読者になる

雑記 日記帳 Kona3.0のconkyをKona4.0と同じにする為の資料集め

Kona3.0のconkyをKona4.0と同じにする為の資料集め  

ホームの .conkyrcファイルの内容を下記にする

-------------------------------------------------------------------------

# 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_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
#use_spacer yes
use_xft yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 180 5
maximum_width 180
# Draw shades?
draw_shades yes

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width.
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color black

own_window_colour brown
own_window_transparent yes
own_window_type normal

# Text alignment, other possible values are commented
#alignment top_left
#alignment bottom_right
#alignment bottom_left
#alignment bottom_right
alignment top_right

# Gap between borders of screen and text
gap_x 15
gap_y 10

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale yes
xftfont Sans:size=8
xftalpha 0.8
if_up_strictness address

TEXT
#${texeci 600 feh --bg-scale '/root/desktop.jpg'}
${color grey}Kona Linux $nodename on $machine
${voffset 9}${color grey}${time %a, } ${color }${time %B %e日 } ${color }${execi 10 date +%Y}
${color grey}${time %Z, }${color }${time %H:%M:%S}
${color grey}UpTime: ${color }$uptime_short
${color grey}Kern: ${color }$kernel
${color grey}Load: ${color }$loadavg
${color grey}Processes: ${color }$processes
${color grey}Running: ${color }$running_processes

# CPU Usage:${color } $cpu%
CPU Usage:${color } $cpu% $alignr${execi 10 sensors | grep ^temp1 | tail -n 1 |awk '{print $2}'}
${color #cc2222}${cpubar 5,170}
${cpugraph 16,170 000000 ddaa00}
${color grey}Highest CPU:
${color #ddaa00} ${top name 1}$alignr${top cpu 1}
${color lightgrey} ${top name 2}$alignr${top cpu 2}
${color lightgrey} ${top name 3}$alignr${top cpu 3}
${color lightgrey} ${top name 4}$alignr${top cpu 4}

${color grey}MEM:${color }$alignr$memperc% $mem/$memmax
${color cyan}${membar}
${color grey}SWAP: ${color }$alignr$swapperc% $swap/$swapmax
${color #ec008c}${swapbar}
${color grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}

${color grey}ROOT: ${color }$alignr${fs_used_perc /}% ${fs_used /}/${fs_size /}
${color #ddaa00}${fs_bar /}
#${color0}Save${color}${alignr}${execp df -h | awk '/loop1/ {print $3, "${color0}/${color}", $2}'}
#${color lightgrey}Save: ${color}Used: ${execp du -csh --apparent-size /mnt/saved/ 2> /dev/null | awk 'END {print $1}'} Free: ${fs_free /mnt/saved}
#${color orange}${fs_bar /mnt/saved/}
${color lightgrey}Home: ${color }$alignr${fs_used_perc /home}% ${fs_used /home}/${fs_size /home}
${color #007700}${fs_bar /home}

#${color grey}NET: EXT: ${alignr} ${execi 3600 wget -O - http://ip.tupeux.com | tail} ${if_up eth0}
${color grey}NET: EXT: ${alignr} ${execi 3600 wget -O - http://whatismyip.org/ |grep "span style"|cut -f2 -d'>'|cut -f1 -d'<'|sed -e '1d'} ${if_up eth0}
IP (eth0):$alignr${addr eth0}
${color} Up: ${color }${upspeed eth0} k/s
${upspeedgraph eth0 15,170 000000 00ff00}
${color} Down: ${color }${downspeed eth0}k/s${color}
${downspeedgraph eth0 15,170 000000 ff0000}
TDown:${totaldown eth0} ${alignr}TUp:${totalup eth0}${endif}${if_up eth1}
IP (eth1):$alignr${addr eth1}
${color} Up: ${color }${upspeed eth1} k/s
${upspeedgraph eth1 15,170 000000 00ff00}
${color} Down: ${color }${downspeed eth1}k/s${color}
${downspeedgraph eth1 15,170 000000 ff0000}
TDown:${totaldown eth1} ${alignr}TUp:${totalup eth1}${endif}${if_up wlan0}
IP (wlan0):$alignr${addr wlan0}
${color} Up: ${color }${upspeed wlan0} k/s
${upspeedgraph wlan0 15,170 000000 00ff00}
${color} Down: ${color }${downspeed wlan0}k/s${color}
${downspeedgraph wlan0 15,170 000000 ff0000}
TDown:${totaldown wlan0}${alignr}TUp:${totalup wlan0}${endif}${if_up eth2}
IP (eth2):$alignr${addr eth2}
${color} Up: ${color }${upspeed eth2} k/s
${upspeedgraph eth2 15,170 000000 00ff00}
${color} Down: ${color }${downspeed eth2}k/s${color}
${downspeedgraph eth2 15,170 000000 ff0000}
TDown:${totaldown eth2} ${alignr}TUp:${totalup eth2}${endif}${if_up wlan1}
IP (wlan1):$alignr${addr wlan1}
${color} Up: ${color }${upspeed wlan1} k/s
${upspeedgraph wlan1 15,170 000000 00ff00}
${color} Down: ${color }${downspeed wlan1}k/s${color}
${downspeedgraph wlan1 15,170 000000 ff0000}
TDown:${totaldown wlan1}${alignr}TUp:${totalup wlan1}${endif}${if_up ath0}
IP (ath0):$alignr${addr ath0}
${color} Up: ${color }${upspeed ath0} k/s
${upspeedgraph ath0 15,170 000000 00ff00}
${color} Down: ${color }${downspeed ath0}k/s${color}
${downspeedgraph ath0 15,170 000000 ff0000}
TDown:${totaldown ath0}${alignr}TUp:${totalup ath0}${endif}${if_up ath1}
IP (ath1):$alignr${addr ath1}
${color} Up: ${color }${upspeed ath1} k/s
${upspeedgraph ath1 15,170 000000 00ff00}
${color} Down: ${color }${downspeed ath1}k/s${color}
${downspeedgraph ath1 15,170 000000 ff0000}
TDown:${totaldown ath1}${alignr}TUp:${totalup ath1}${endif}

-------------------------------------------------------------------------

Conky システムモニタ(簡易) と

Conky システムモニタ(詳細) はデフォで有るような雰囲気

古い.isoだと無いのかは不明、どう弄ったのか忘れたので。