Conky não inicia

Eu instalei um tema para o conky, criei a pasta conky na .config e coloquei o arquivo de configuração do tema lá, até ai tudo bem, eu inicio o conky e ele começa a abrir o tema e o mesmo some no mesmo instante em que aparece a mensagem: “conky: obj->data.i 3 info.cpu_count 2
conky: attempting to use more CPUs than you have!”
O arquivo vinha com 4 cores para serem exibidos, eu exclui as linhas que continhas esses cores mas o erro persiste, aqui está o conky.conf:

conky.config = {
– – Conky settings – #
background = false,
update_interval = 1,

    cpu_avg_samples = 1,
    net_avg_samples = 2,

    override_utf8_locale = true,

    double_buffer = true,
    no_buffers = true,

  text_buffer_size = 32768,
  imlib_cache_size = 0,

– – Window specifications – #
own_window = true,
own_window_type = ‘dock’,
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_hints = ‘undecorated,below,sticky,skip_taskbar,skip_pager’,
own_window_title = ‘clicky’,

    border_inner_margin = 50,
    border_outer_margin = 0,

-- Conky on second monitor
    xinerama_head = 2,

–minimum_size 1100 700
maximum_width = 700,

    alignment = 'top_right',
    gap_x = 0,
    gap_y = 90,

– – Graphics settings – #
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,

– – Text settings – #
use_xft = true,
font = ‘Ubuntu Mono:size=10’,
xftalpha = 0.8,
–Ícones: ${font Conky Icons by Carelli:size=14}

    uppercase = false,

    default_color = '#FFFFFF',

  --own_window_transparent yes
    own_window_colour = '#000000',
    minimum_width = 400, minimum_height = 700,

  --CORRECT THIS PATH
  lua_load = '~/.conky/minimalism/clocks.lua',
  lua_draw_hook_pre = 'clock_rings',
  --lua_load = '~/.conky/minimalism/clicky.lua',
  --lua_draw_hook_pre = 'main',

};

conky.text = [[

${voffset -25}${offset 180}${font neuropol:size=20}${time %H:%M}${font} ${font Nimbus Mono L:size=9}$uptime
${voffset 14}${offset 178}${color #ad1a26}${font Roboto-Italic:size=12}${exec date +%B\ %Y | sed ‘s/^.| [a-z]/\U&/g’}
##Replace ‘enp3s0’ with name of your network interface
${offset 122}${voffset 75}${color #FFFFFF}${font Roboto-Medium:size=17}Dw ${color #ad1a26}${downspeed enp3s0}
##Replace ‘enp3s0’ with name of your network interface
${offset 118}${voffset 10}${color #FFFFFF}Up ${offset 10}${color #ad1a26}${upspeed enp3s0}
##Replace ‘enp3s0’ with name of your network interface
${offset 120}${voffset 5}${font Roboto-Regularsize=12}${color #FFFFFF}TDown ${color #00695c}${totaldown enp3s0}
#${offset 90}${voffset 30}${font Roboto-Regularsize=12}${color #FFFFFF}Song:${offset 21}${color #af1616}${scroll 17 ${execi 2 ~/.conky/minimalism/cmus-conky}}
${offset 68}${voffset 120}${font Roboto-Regular:size=15}${color #FFFFFF}CPU
${offset 188}${voffset 35}${font Roboto-Regular:size=8}Core 0
${offset 234}${voffset -15}Core 1

${offset 100}${voffset 3}${font Roboto-Regular:size=11}${fs_used /} / ${fs_size /}
${offset 90} $mem / $memmax
${offset 175}${color #ad1a26}[$memperc%]
${offset 205}${voffset 2}${color #ffffff}${font Roboto-Bold:size=14}MEM
##CORRECT THIS PATH
${image ~/.conky/minimalism/Archlinux-icon.png -p 280,130 -s 110x110}

]];

OBS: O meu processador/APU é o AMD C-70 With Radeon HD Graphics.

Muito difícil debugar esse script do conky da forma como postou pq não consigo copiar, colar e rodar aqui…

Quais linhas exatamente tu mudou? Poderia mandar o link do script original…

De qualquer forma, em conky.text , não achei nenhum comando para puxar os valores de cpu…
Será que vc está usando cpus a mais ou a menos?..

Em um conky meu:

${offset 8}${voffset -12}CPU Core 1: ${alignr}${offset -10}${cpu cpu1}%${alignr}${cpubar cpu1* }
${offset 30}CPU Core 2: ${alignr}${offset -10}${cpu cpu2}%${alignr}${cpubar cpu2}
${offset 30}CPU Core 3: ${alignr}${offset -10}${cpu cpu3}%${alignr}${cpubar cpu3}
${offset 30}CPU Core 4: ${alignr}${offset -10}${cpu cpu4}%${alignr}${cpubar cpu4}

Então você pode tentar usar ${cpu cpu1} e ${cpu cpu2}:

${offset 188}${voffset 35}${font Roboto-Regular:size=8}Core 0 ${cpu cpu1}
${offset 234}${voffset -15}Core 1 ${cpu cpu2}

MAS sinceramente, não sei e não dá nem para começar a testar aqui… Boa sorte

2 curtidas