› Foros › PC › Software libre
coyote escribió:Debería ser algo como esto:${exec nvidia-settings -q GPUCoreTemp | grep 0.0 | cut -d ' ' -f 6 | cut -c 1-2}
Cambiando nvidia-settings 'blablabla' por lm_sensors. Ve jugando con los valores cut hasta que veas la tempertura.
conky.config = {
use_xft = yes,
own_window = true,
own_window_transparent = false,
own_window_type = 'normal',
own_window_class = 'conky-semi',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
background = true,
text_buffer_size = 2048,
minimum_width = 1920 ,
use_xft = true,
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
border_width = 0,
default_color = 'white',
default_shade_color = 'grey',
default_outline_color ='grey',
own_window_colour = '252525',
font = 'Droid Sans Bold:size=9',
gap_x = 1063,
gap_y = 0,
uppercase = false,
no_buffers = true,
net_avg_samples = 2,
cpu_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'none',
}
conky.text = [[
${alignc}${voffset 0}${offset 20}\
${font Droid Sans:Bold:size=9}\
${offset 2}${color}Linux: ${color grey}${kernel} ${machine}${color}${offset -2}\
${offset 2}${color}Core 1: ${color grey}${cpu cpu1} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 2: ${color grey}${cpu cpu2} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 3: ${color grey}${cpu cpu3} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 4: ${color grey}${cpu cpu4} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 5: ${color grey}${cpu cpu5} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 6: ${color grey}${cpu cpu6} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 7: ${color grey}${cpu cpu7} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 8: ${color grey}${cpu cpu8} %${offset 2}${color}${offset -2}\
${offset 2}${color}RAM Usada: ${color grey}$mem ($memperc%)${color}${offset -2}\
${offset 2}${color}RAM Libre: ${color grey}${memeasyfree}${color}${offset -2}\
${offset 2}${color}Root: ${color grey}${fs_used /}/${fs_size /}${color}${offset -2}\
${offset 2}${color}Home: ${color grey}${fs_used /home}/${fs_size /home}${color}${offset -2}\
${offset 2}${color}Subida ${color grey}${upspeed enp3s0}${color}${offset -2}\
${offset 2}${color}T. Subida: ${color grey}${totalup enp3s0}${color}${offset -2}\
${offset 2}${color}Descarga: ${color grey}${downspeed enp3s0}${color}${offset -2}\
${offset 2}${color}T. Descarga: ${color grey}${totaldown enp3s0}${color}${offset -2}
]]
Brutico escribió:Gracias!
Hoy me he puesto manos a la obra y he hecho unos retoques a mi conky ya que han hecho muchos cambios en las ultimas versiones del conky y ya no lanza ningún error.
conky.config = {
use_xft = yes,
own_window = true,
own_window_transparent = false,
own_window_type = 'normal',
own_window_class = 'conky-semi',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
background = true,
text_buffer_size = 2048,
minimum_width = 1920 ,
use_xft = true,
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
border_width = 0,
default_color = 'white',
default_shade_color = 'grey',
default_outline_color ='grey',
own_window_colour = '252525',
font = 'Droid Sans Bold:size=9',
gap_x = 1063,
gap_y = 0,
uppercase = false,
no_buffers = true,
net_avg_samples = 2,
cpu_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'none',
}
conky.text = [[
${alignc}${voffset 0}${offset 20}\
${font Droid Sans:Bold:size=9}\
${offset 2}${color}Linux: ${color grey}${kernel} ${machine}${color}${offset -2}\
${offset 2}${color}Core 1: ${color grey}${cpu cpu1} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 2: ${color grey}${cpu cpu2} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 3: ${color grey}${cpu cpu3} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 4: ${color grey}${cpu cpu4} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 5: ${color grey}${cpu cpu5} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 6: ${color grey}${cpu cpu6} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 7: ${color grey}${cpu cpu7} %${offset 2}${color}${offset -2}\
${offset 2}${color}Core 8: ${color grey}${cpu cpu8} %${offset 2}${color}${offset -2}\
${offset 2}${color}RAM Usada: ${color grey}$mem ($memperc%)${color}${offset -2}\
${offset 2}${color}RAM Libre: ${color grey}${memeasyfree}${color}${offset -2}\
${offset 2}${color}Root: ${color grey}${fs_used /}/${fs_size /}${color}${offset -2}\
${offset 2}${color}Home: ${color grey}${fs_used /home}/${fs_size /home}${color}${offset -2}\
${offset 2}${color}Subida ${color grey}${upspeed enp3s0}${color}${offset -2}\
${offset 2}${color}T. Subida: ${color grey}${totalup enp3s0}${color}${offset -2}\
${offset 2}${color}Descarga: ${color grey}${downspeed enp3s0}${color}${offset -2}\
${offset 2}${color}T. Descarga: ${color grey}${totaldown enp3s0}${color}${offset -2}
]]
dejo una imagen para ver que ya no da errores