xubntu18.10中的conky配置文件

修改路径为:
~/.conkyrc

conky.config = {
background = true,
update_interval=1,
double_buffer=true,
imlib_cache_size=10,
draw_shades=false,
draw_outline=false,
draw_borders = false,
draw_graph_borders = false,
show_graph_scale = false,
show_graph_range = false,
minimum_height = 620,
minimum_width = 268,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_transparent=true,
border_inner_margin=0,
border_outer_margin=0,
own_window_hints="undecorated,below,sticky,skip_taskbar,skip_pager",
own_window_argb_visual=true,
own_window_argb_value=0,
use_xft = true,
xftalpha=0.8,
font = 'Waree:size=11:style=bold',
text_buffer_size=256,
short_units=true,
short_units=true,
pad_percents=2,
top_name_width=10,
    alignment = 'top_right',
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    gap_x = 25,
    gap_y = 230,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',

}

conky.text = [[
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color white}Uptime:$color $uptime
${color white}Frequency (in MHz):$color $freq
${color white}Frequency (in GHz):$color $freq_g
${color white}RAM Usage:			      ${color red}$memperc%             $mem/$memmax
${color red}${membar 4}
${color red}CPU Usage:$color $cpu% ${cpubar 4}
${color white}Processes:$color $processes  ${color white}Running:$color $running_processes
$hr
${color orange}Root disk:
$color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color orange}Home disk:
$color${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}

${color orange}Networking:Up:$color ${upspeed enp2s0} ${color white} - Down:$color ${downspeed wlan0}
$hr
${color orange}Name              PID   CPU%   MEM%
${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color white} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color white} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color white} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}


]]

你可能感兴趣的:(Linux技能汇总)