rufwoof wrote:Conky is nice (I like the format of conky in DebianDog), but does steal CPU.
WHAT?
i don't know what debian dog's conky looks like, but conky is DEFINITELY MUCH LIGHTER than the yad script you quoted there.
granted, it runs non-stop, yad is only called when the app actually starts, but...
conky is
very lightweight.
if it uses too much cpu, that's the fault of the debian'dog person that wrote the conkyrc.
try sth like this and see if it uses too much cpu:
Code: Select all
#<conkyrc>
own_window yes
own_window_transparent yes
own_window_type normal
own_window_title Conky
background yes
update_interval 3
cpu_avg_samples 2
diskio_avg_samples 5
pad_percents 0
override_utf8_locale yes
short_units yes
double_buffer yes
no_buffers yes
border_width 0
border_inner_margin 0
border_outer_margin 0
minimum_size 180 950
maximum_width 180
alignment tr
gap_x 10
gap_y 20
# # Graphics settings # #
draw_outline no
draw_shades no
draw_borders no
draw_graph_borders no
default_color cccccc
color1 ffffff
color2 aaaaaa
# colors for fs_bars
color3 4A4D30
color4 4A4D30
color5 4A4D30
color6 4A4D30
use_xft yes
xftfont DejaVu Sans Mono:size=8
format_human_readable yes
use_spacer none
top_name_width 15
TEXT
${voffset 20}${offset 9}${cpugraph cpu1 40,80 323221 7C8050 -l -t}$alignr${cpugraph cpu2 40,80 323221 7C8050 -l -t}
${voffset -68}${font dejavu sans:style=extralight:size=20}$color2$alignr C P U${voffset 42}$font
${offset 10}$color1${voffset -23}${freq_g 1}GHz ${cpu cpu1}%$alignr${freq_g 2}GHz ${cpu cpu2}%
${offset 9}${voffset -7}${cpugraph cpu3 40,80 323221 7C8050 -l -t}$alignr${cpugraph cpu4 40,80 323221 7C8050 -l -t}
${offset 10}$color1${voffset -23}${freq_g 3}GHz ${cpu cpu3}%$alignr${freq_g 4}GHz ${cpu cpu4}%
${offset 10}${voffset 4}${top name 1}${alignr}${top cpu 1}%
${offset 10}${voffset -1}${top name 2}${alignr}${top cpu 2}%
${offset 10}${voffset -1}${top name 3}${alignr}${top cpu 3}%
${offset 10}${voffset -1}${top name 4}${alignr}${top cpu 4}%
${voffset 16}${font dejavu sans:style=extralight:size=20}$color2$alignr M E M$font$color
${offset 10}${voffset 8}$alignr${mem}/${memmax} - ${memperc}%
${offset 10}${voffset -1}${alignr}SWAP: $swap/$swapmax - ${swapperc}%
${offset 10}${voffset 2}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 10}${voffset -1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 10}${voffset -1}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 10}${voffset -1}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 10}${offset -1}${voffset 35}$color2${diskiograph_read /dev/sda 40,80 7C8050 323221 -t -l}$alignr${diskiograph_write /dev/sda 40,80 7C8050 323221 -t -l}
${voffset -63}${font dejavu sans:style=extralight:size=20}$color2$alignr I / O${voffset 37}$font
${offset 10}$color1${voffset -23}Read: ${diskio_read /dev/sda}${alignr}Write: ${diskio_write /dev/sda}$color
${offset 10}${voffset 6}${top_io name 1}$alignr${top_io io_perc 1}%
${offset 10}${voffset -1}${top_io name 2}$alignr${top_io io_perc 2}%
${offset 10}${voffset -1}${top_io name 3}$alignr${top_io io_perc 3}%
${offset 10}${voffset -1}${top_io name 4}$alignr${top_io io_perc 4}%
${offset 10}${voffset 15}${font dejavu sans:style=extralight:size=20}$color2$alignr F S$font
${offset 10}${voffset 4}$color3${fs_bar 15 /}$color1
${offset 10}${voffset -22}root: $fs_used/$fs_size
${offset 10}${voffset 2}$color4${fs_bar 15 /home/data}$color1
${offset 10}${voffset -22}data: ${fs_used /home/data}/${fs_size /home/data}