Tuning My Desktop ( part 1 )
Hi there … this tool is called “conky” and a guy show it to me last week end, so here it is:
|
This is the code of the file at ~/.conkyrc
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console yes
use_xft yesf
xftfont Tahoma Mono:size=8
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal
xftalpha 0.8
update_interval 1.0
double_buffer yes
minimum_size 10 10
maximum_width 320
draw_shades no
draw_outline yes
draw_borders no
stippled_borders 2
border_width 0
alignment top_left
use_spacer yes
no_buffers yes
uppercase no
TEXT
${color orange} Janux Z0n3: $kernel
${color yellow}--> $battery $battery_time < ---
${color red}CPU $color ${cpu cpu1}% ${color yellow}Uptime:$color $uptime ${color red} Temp: $color ${acpitemp}cÂș
${color green}${cpugraph cpu1 78af78 a3a3a3}
${color green}Procs:$color $processes ${color green}Running:$color $running_processes
${color green}Ram:
$color $mem/$memmax - ${color white}$memperc% $membar
${color #00ff00}Swap:
$color $swap/$swapmax - ${color red}$swapperc% ${swapbar}
${color red}Free Space:
${color}/home ${color}${fs_used /home}/${fs_size /home}${alignr}${color green}${fs_bar 5,120 /home}
${color}/ ${color}${fs_used /}/${fs_size /}${alignr}${color green}${fs_bar 5,120 /}
${color}/usr/local/src ${color}${fs_used /usr/local/src}/${fs_size /usr/local/src}${alignr}${color green}${fs_bar 5,120 /usr/local/src}
${color yellow}CPUs:
${color green}Name PID CPU% MEM%
$color ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
$color ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
$color ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
$color ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$color ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #00ff00}RAM:
$color ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
$color ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
$color ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
$color ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$color ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${color green}eth0 - ${addr eth0}
${color red}Net Down: ${downspeed eth0} k/s${color green} ${offset 62}Net Up:$color ${upspeed eth0} k/s
${color purplen}${downspeedgraph eth0 32,150 104E8B 0077ff} $alignr${color #0077ff}${upspeedgraph eth0 32,150 104E8B 0077ff}
${color green}wlan0 - ${addr wlan0}
${color yellow}Net Down:$color ${downspeed wlan0} k/s${color red} ${offset 62}Net Up:$color ${upspeed wlan0} k/s
${color brown}${downspeedgraph wlan0 32,150 104E8B 0077ff} $alignr${color green}${upspeedgraph wlan0 32,150 104E8B 0077ff}
${color green}Port(s)${alignr}#Connections
$color ALL: ${alignr}$color ${tcp_portmon 1 65535 count}
${color orange}Port(s)${alignr}#INPUT
${color purple}Remote Address ${alignr} Local Service/Port$color
${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 lservice 5}
${tcp_portmon 1 65535 rhost 6} ${alignr} ${tcp_portmon 1 65535 lservice 6}
${tcp_portmon 1 65535 rhost 7} ${alignr} ${tcp_portmon 1 65535 lservice 7}
${tcp_portmon 1 65535 rhost 8} ${alignr} ${tcp_portmon 1 65535 lservice 8}
${color green}Port(s)${alignr}#OUTPUT
${color green}Remote Address ${alignr} Local Service/Port$color
${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 rservice 0}
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 rservice 1}
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 rservice 2}
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 rservice 3}
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 rservice 4}
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 rservice 5}
${tcp_portmon 1 65535 rhost 6} ${alignr} ${tcp_portmon 1 65535 rservice 6}
${tcp_portmon 1 65535 rhost 7} ${alignr} ${tcp_portmon 1 65535 rservice 7}
${tcp_portmon 1 65535 rhost 8} ${alignr} ${tcp_portmon 1 65535 rservice 8}