Hi,
there is my first conky.
My_first_conky.jpg
HTML Code:
# conky configuration
# edited by mmmy
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=9
xftfont Bitstream sans-serif:size=8
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 2.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 0
maximum_width 300
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# 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
# same thing as passing -x at command line
gap_x 10
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
# light blue
color2 6892C6
# orange
#E77320
color3 FC8820
# green
color4 78BF39
# red
color5 CC0000
text_buffer_size 2048
# 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
# stuff after 'TEXT' will be formatted on screen
TEXT
# SYSTEM
SYSTEM ${hr 2}
${font sans-serif:bold:size=8}${color orange}@${color #B8FF00}$nodename:
${color }${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
${font sans-serif:size=8}$Kernel$color $kernel ${alignr}Ubuntu 9.10$color $machine
${color white}Nvidia GeForce 8500
# CPU AND OTHER
${color #B8FF00}CPU, MEMORY, TEMPERATURE AND FAN ${hr 2}
${color white}Core1:$alignr ${cpu cpu1}%@${freq_g cpu1}GHz ${cpubar cpu1 7,76} Temp: ${color red}${hwmon 0 temp 1}${color white} C
Core2:$alignr ${cpu cpu2}%@${freq_g cpu2}GHz ${cpubar cpu2 7,76} Temp: ${color red}${hwmon 1 temp 1}${color white} C
Overall Usage:$alignr $cpu% $alignr${cpubar 8,182}
${color #ffccaa}${font sans-serif:size=8}RAM : $mem / $memmax ($memperc%) ${alignr}${membar 5,120 000000 ff6600 }
${color #ffccaa}SWAP : $swap / $swapmax ($swapperc%) ${alignr}${swapbar 5,120 000000 cc0033}
${color white}Fan coolers: ${alignr}Fan1: ${hwmon 1 fan 1} RPM ${color white}Fan2: ${hwmon 1 fan 2} RPM
${color white}Motherboard Temp: ${color red}${hwmon 1 temp 3}${color white} C ${alignr}${color white}Graph.card Temp: ${execi 10 nvidia-settings -q gpucoretemp |grep ')'|cut -c45-46}${color red}${color white} C
${color1}Hard disc Temp: ${color red} ${hddtemp /dev/sda}${color white} C
# LAN
${color #B8FF00}ETHERNET (${addr eth0}) ${hr 2}$color
${font sans-serif:size=8}Down: ${downspeed eth0} kb/s${alignr}Up: ${upspeed eth0} kb/s
${downspeedgraph eth0 7,98}${alignr}${upspeedgraph eth0 7,98}
${totaldown eth0}${alignr}${totalup eth0}
# HDD
${color #B8FF00}DISK USAGE:${hr 2}
${color #ffccaa}${if_existing /root}Ubnuntu 9.10_ext4:$alignr${fs_used /root} / ${fs_size /root}$endif
${color white}${if_existing /media/sda2}Podaci_ntfs:$alignr${fs_used /media/sda2} / ${fs_size /media/sda2}$endif
${if_existing /media/sda4}Backup_ntfs:$alignr${fs_used /media/sda4} / ${fs_size /media/sda4}$endif
${if_existing /media/sda7}Backup_razno_ntfs:$alignr${fs_used /media/sda7} / ${fs_size /media/sda7}$endif
# TOP 5 PROCESSES
${color #B8FF00}TOP 5 PROCESSES ${hr 2}$color
${color #ffccaa}NAME ${alignr} PID CPU MEM
${color white}1. ${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1}$color
2. ${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
3. ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
4. ${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
5. ${top name 5}${alignr}${top pid 5} ${top cpu 5} ${top mem 5}
# CALENDAR
${color #B8FF00}DATE ${hr 2}
${alignc 45}${font Trebuchet MS:size=16}${time %a %d %b %Y} - ${time %H:%M}${font}
${color white}${font DejaVu Sans Mono:size=12}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color f6ff07}'"$DJS"'${color white}'" "/}${color white}${font}
# WEATHER
${color #B8FF00}WEATHER ${hr 2}${color white}$
${execpi 1800 conkyForecast --location=HRXX0006 --template=/usr/share/conkyforecast/example/conkyForecast.template}
Bookmarks