Το τελικό αποτέλεσμα είναι η παρακάτω εικόνα
http://i.imgur.com/QpMlBuP.jpg
Συνολικά είναι 5 αρχεία conkyrc και είναι τα παρακάτω για όποιον ενδιαφέρεται
Clock:
- Κώδικας: Επιλογή όλων
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Use Xft?
use_xft yes
xftfont cure:size=6
# Update interval in seconds
update_interval 1
# 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 yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Minimum size of text area
minimum_size 500 45
maximum_width 1500
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 0
# Default colors and also border colors
default_color 303030
#default_shade_color white
#default_outline_color black
own_window_colour 262524
# 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_y 44
gap_x 190
gap_y 44
# 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 no
color0 467f77 # Light blue
TEXT
${color0}${goto 230}${voffset 6}${font D3 Euronism:size=36}${time %I}${color red}:${color grey60}${time %M}
${color0}${goto 190}${font Liberation Mono:bold:size=10}Date: ${color grey60}${time %A %d %b. %Y}
${color0}${goto 190}Uptime: ${color grey60}$uptime_short
${color0}${goto 190}Distro: ${color grey60}${pre_exec lsb_release -d -s} (${pre_exec lsb_release -c -s})
${color0}${goto 190}Kernel: ${color grey60}$kernel
${color0}${goto 190}Hostname: ${color grey60}$nodename
${color0}${goto 190}Updates: ${color grey60}You have ${color red}${execi 18000 aptitude search "~U" | wc -l}${color grey60} new updates!
${color0}${goto 190}Last update: ${color grey60}${execi 1800 ls -l /var/lib/apt/periodic/update-success-stamp | awk '{print $6" "$7" "$8}'}
System info:
- Κώδικας: Επιλογή όλων
# Use Xft?
use_xft yes
xftfont cure:size=6
# Update interval in seconds
update_interval 1
# 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 yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 800 200
maximum_width 800
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 1
# Default colors and also border colors
default_color 303030
#default_shade_color white
#default_outline_color black
own_window_colour 262524
# 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 45
gap_y 310
# 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 yes
color0 467f77 # Light blue
TEXT
#${font Liberation Mono:bold:size=10}${color0}Cpu 1:${color grey60} ${cpu cpu1}%
${font Liberation Mono:bold:size=12}${color0}${goto 90}Hardware Information
${font Liberation Mono:bold:size=10}${color0}Motherboard: ${color red}${execi 3600 dmidecode -t 2 | grep Manufacturer | cut -c 16-19} ${execi 3600 dmidecode -t 2 |grep Product | cut -c 16-24}
${color0}CPU: ${color red}${goto 108}${execi 3600 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-30 | sed 's/(tm)//'}
${color0}GPU: ${color red}${goto 108}${execi 3600 aticonfig --lsa | head -n 1 | cut -c 14-31}
${color0}RAM: ${color red}${goto 108}$memmax
#${color grey60}${cpugraph cpu1 20,350 303030 467f77}
#${color0}Cpu 2:${color grey60} ${cpu cpu2}%
#${color grey60}${cpugraph cpu2 20,350 303030 467f77}
${font Liberation Mono:bold:size=12}${color0}${goto 90}System Information
${font Liberation Mono:bold:size=10}${color0}Ram used:${color grey60}${goto 100} $mem ${goto 171}/ $memmax ($memeasyfree free)
${color0}Swap used:${color grey60}${goto 100} $swap ${goto 171}/ $swapmax ($swapfree free)
${color0}CPU clock:${color grey60}${goto 100} $freq_g GHz
${color0}CPU used:${color grey60}${goto 100} $cpu%
${color0}${goto 177}PID${goto 232}CPU%${goto 285}MEM
Top Cpu${color grey60}${font Liberation Mono:bold:size=10}
${top name 1}${goto 170}${top pid 1}${goto 220}${top cpu 1}${goto 285}${top mem_res 1}
${top name 2}${goto 170}${top pid 2}${goto 220}${top cpu 2}${goto 285}${top mem_res 2}
${top name 3}${goto 170}${top pid 3}${goto 220}${top cpu 3}${goto 285}${top mem_res 3}
${top name 4}${goto 170}${top pid 4}${goto 220}${top cpu 4}${goto 285}${top mem_res 4}
${top name 5}${goto 170}${top pid 5}${goto 220}${top cpu 5}${goto 285}${top mem_res 5}
${color0}${font Liberation Mono:bold:size=10} Top Mem${color grey60}${font Liberation Mono:bold:size=9}
${top_mem name 1}${goto 170}${top_mem pid 1}${goto 220}${top_mem cpu 1}${goto 285}${top_mem mem_res 1}
${top_mem name 2}${goto 170}${top_mem pid 2}${goto 220}${top_mem cpu 2}${goto 285}${top_mem mem_res 2}
${top_mem name 3}${goto 170}${top_mem pid 3}${goto 220}${top_mem cpu 3}${goto 285}${top_mem mem_res 3}
${top_mem name 4}${goto 170}${top_mem pid 4}${goto 220}${top_mem cpu 4}${goto 285}${top_mem mem_res 4}
${top_mem name 5}${goto 170}${top_mem pid 5}${goto 220}${top_mem cpu 5}${goto 285}${top_mem mem_res 5}
${color red}${voffset 48}${font Liberation Mono:bold:size=12}${goto 90}System Temperatures
${color0}${voffset 5}${font Liberation Mono:bold:size=10}CPU Temp: ${color grey60}${goto 90}${execi 5 sensors | grep 'CPU Temp' | awk '{print $3}' | cut -c 2-}${color0}${goto 200}GPU Temp: ${color grey60}${execi 5 aticonfig --odgt | grep Sensor | awk '{print $5}' | cut -c 1-4}°C
${color0}MB ${goto 38}Temp: ${color grey60}${goto 90}${execi 5 sensors | grep MB | awk '{print $3}' | cut -c 2-}${color0}${goto 200}sda Temp: ${color grey60}${hddtemp /dev/sda}.0°C
HDD info:
- Κώδικας: Επιλογή όλων
# Use Xft?
use_xft yes
xftfont Liberation Mono:bold:size=10
# Update interval in seconds
update_interval 1
# 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 yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 600 5
maximum_width 400
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 1
# Default colors and also border colors
default_color 303030
#default_shade_color white
#default_outline_color black
own_window_colour 262524
# 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 35
gap_y 880
# 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 yes
color0 467f77 # Light blue
TEXT
#${color0}${execp conkyRhythmbox --template=~/.conky/.conkyRhythmbox.template}
${goto 75}${color0}Root:${color grey60}${goto 175}${fs_free /}${goto 250}free of ${goto 320}${fs_size /}
${goto 75}${color0}${fs_bar 5,310 /}
${goto 75}${color0}Home:${color grey60}${goto 175}${fs_free /home}${goto 250}free of ${goto 320}${fs_size /home}
${goto 75}${color0}${fs_bar 5,310 /home}
${goto 75}${color0}backup 1TB:${color grey60}${goto 175}${fs_free /media/backup1tb}${goto 250}free of ${goto 320}${fs_size //media/backup1tb}
${goto 75}${color0}${fs_bar 5,310 /media/backup1tb}
${goto 75}${color0}1TB:${color grey60}${goto 175}${fs_free /media/1TB}${goto 250}free of ${goto 320}${fs_size /media/1TB}
${goto 75}${color0}${fs_bar 5,310 /media/1TB}
Network:
- Κώδικας: Επιλογή όλων
# Use Xft?
use_xft yes
xftfont Liberation Mono:bold:size=10
# Update interval in seconds
update_interval 1
# 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 yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 600 5
maximum_width 800
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 1
# Default colors and also border colors
default_color 303030
#default_shade_color white
#default_outline_color black
own_window_colour 262524
# 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 50
gap_y 70
# 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 yes
color0 467f77 # Light blue
TEXT
${color0}Internal IP: ${color grey60}${execi 1800 ifconfig | perl -nle'/dr:(\S+)/ && print $1' | head -n1} ${color0}External IP: ${color grey60}${execi 1800 wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'} ${color0}MAC: ${color grey60}${execi 1800 ifconfig | grep HWaddr | awk '{print $5}'
Weather:
- Κώδικας: Επιλογή όλων
# Use Xft?
use_xft yes
xftfont cure:size=6
# Update interval in seconds
update_interval 1
# 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 yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 310 0
maximum_width 600
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 1
# Default colors and also border colors
default_color 303030
#default_shade_color white
#default_outline_color black
own_window_colour 262524
# 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 normal
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 75
gap_y 43
# 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
color0 467f77 # Light blue
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
${image /home/kostas/.conky/foreca_logo.png -p 65,10 -s 120x21}
${execpi 3600 ~/weather}
${color0}${font caviar dreams:bold:size=30}Λάρισα ${color grey60}${execi 3630 awk 'NR==405' ~/.conky/weather_today | grep -oP '.\d+'}°C
${color0}${font caviar dreams:bold:size=10}Ο καιρός είναι ${execi 3630 awk 'NR==420' ~/.conky/weather_today | sed -e 's/^[ \t]*//;s/<br \/>//;s/.$//;s/./\L&/'}
${color0}${goto 200}Υγρασία ${color grey60}${goto 315}${execi 3630 awk 'NR==426' ~/.conky/weather_today |grep -oP '\d+\.\d.'}
${color0}${goto 200}Ορατότητα ${color grey60}${goto 315}${execi 3630 awk 'NR==427' ~/.conky/weather_today |grep -oP '\d+...'}
${color0}${goto 200}Ανατολή ${color grey60}${goto 315}${execi 3630 awk 'NR==429' ~/.conky/weather_today |grep -oP '\d+...' | awk 'NR==1'}
${color0}${goto 200}Δύση ${color grey60}${goto 315}${execi 3630 awk 'NR==429' ~/.conky/weather_today |grep -oP '\d+...' | awk 'NR==2'}
Για τον καιρό τρέχει ένα script που κατεβάζει με το εργαλείο wget την σελίδα αν το θέλει κάποιος το ποστάρω.
Για το τερματικό στην επιφάνεια εργασίας το έκανα με το devilspie