conky-lua-nv Gnome3

Доброго времени суток пытаюсь разобраться с conky, подключил диск, процессор, интернет,
вот в терминале мне выдает
conky: Syntax error (/home/user/.conkyrc:1: '=' expected near 'top_left') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (400030) is subwindow of root window (292)
conky: window type - normal
conky: drawing to created window (0x4000002)
conky: drawing to double buffer
не знаю как совсем этим боротся
конфиг файл
alignment top_left
background no
border_width 1
cpu_avg_samples 1
diskio_avg_samples 1
net_avg_samples 1
default_color white
default_outline_color black
default_shade_color white
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 5
gap_y 5
double_buffer yes
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type normal
own_window_argb_visual true
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 0.5
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${font serif:bold:size=9}${color red}SYSTEM (${USER}@$nodename) ${color FF9900}${hr 2}
$font$color$sysname $kernel $alignr $machine
Uptime: $alignr $uptime

${font serif:bold:size=9}${color red}MEMORY ${color FF9900}${hr 2}
$color${font}RAM Usage:$alignr ${color 00b7ff}$mem$color/$memmax
${memgraph 000000 00b7ff -l}
$color$memperc% ${membar 4}

${font serif:bold:size=9}${color red}CPU ${freq_g 0} ${color FF9900}${hr 2}
${cpugraph ffff00 ff0000 -t}
$font$color${cpu}%${color pink} ${hwmon 1 temp 1}°C $color${cpubar 4}

${font serif:bold:size=9}${color red}GPU ${nvidia gpufreq}/${nvidia memfreq} ${color FF9900}${hr 2}
$font${color pink}${nvidia temp}°C $color(Max: ${nvidia threshold}°C)

${font serif:bold:size=9}${color red}DISK ${color FF9900}${hr 2}
${if_mounted /mnt/ntfs}${font serif:bold:size=8}${color EDC85A}/dev/sda ${execi 60 /usr/sbin/hddtemp -n /dev/sda}°C ${hr 1}

${font serif:bold:size=8}${color EDC85A}${alignr}${diskio_read /dev/sda} / ${diskio_write /dev/sda}${endif}
$font$color /${tab 30}${fs_used_perc /}% ${tab 20}$color${fs_used /}/${fs_size /} ${tab}${fs_bar 6 /}
 /boot${tab 30}${fs_used_perc /boot}% ${tab 20}$color${fs_used /boot}/${fs_size /boot} ${tab}${fs_bar 6 /boot}
 /home${tab 30}${fs_used_perc /home}% ${tab 20}$color${fs_used /home}/${fs_size /home} ${tab}${fs_bar 6 /home}

${font serif:bold:size=9}${color red}NETWORK (${tcp_portmon 1 65535 count}) ${color FF9900}${hr 2}
${if_up enp3s0}${font serif:bold:size=8}${color EDC85A}Down:${tab 20}${totaldown enp3s0}$alignr${downspeed enp3s0}/s
${downspeedgraph enp3s0 FF6600 00FF00 -t}
Up:${tab 20}${totalup enp4s0}$alignr${upspeed enp3s0}/s
${upspeedgraph enp3s0 0000CC FF0000 -t}${endif}

${font serif:bold:size=9}${color red}PROCESSES ($running_processes/$processes) ${color FF9900}${hr 2}
${font serif:bold:size=8}${color EDC85A}${tab 140}PID     CPU%   MEM%
$font${color yellow} ${top name 1} ${color green}${top pid 1} ${color red}${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
 ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
Скорее всего потому, что сейчас коньки под Lua синтаксис оформлены. Вот, типа:
conky.config = {
background = false,

-- Windows
own_window = true,
own_window_class = 'Conky',
own_window_transparent = true,
--own_window_type = 'normal',
own_window_type = 'override',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
double_buffer = true,
no_buffers = true,

-- Graphics
use_spacer = 'none',
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
update_interval = 1.0,
uppercase = false,
stippled_borders = 0,
border_width = 1,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
show_graph_scale = false,
show_graph_range = false,

-- Layout
alignment = 'top_left',
gap_x = 25,
gap_y = 45,
minimum_height = 250,
minimum_width = 250,
maximum_width = 270,
net_avg_samples = 1,
cpu_avg_samples = 6,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,

-- Graphics Colors
default_color = 'FFFFFF',
default_outline_color = 'FFFFFF',
default_shade_color = 'FFFFFF',

--color0 9FB6CD # DeepSkyBlue
--color1 FF7F00 # Orange
--color2 FF00FF # Fuchsia
--color3 FF0000 # Red
--color4 39FF14 # Neon green
--color5 FFFF00 # Yellow
--color6 0038A8 # Royal azure
--color7 FF00FF # Magenta
--color8 000000 # Black

}

conky.text = [[
#-- Info System
${color 8C8299}${font Orore:size=20}H${voffset -3}${color 9FB6CD}${voffset -1}${color 9FB6CD}${font Ubuntu:style=Italic:size=15} Система: ${goto 210}${color 9FB6CD}$machine
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Ядро:${alignc}${goto 160}${color 9FB6CD}$kernel
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Время работы:${goto 195}${color 9FB6CD}$uptime
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Обновы:${goto 250}${execpi 3600 checkupdates | wc -l}
#-- Nvidia
${color 8C8299}${font Orore:size=26}N${font}${voffset -2}${color 9FB6CD}${font Ubuntu:style=Italic:size=15}NVIDIA GT 240:${goto 232}${color 9FB6CD}${execi 8 nvidia-settings -q "[gpu:0]/GPUCoreTemp" -t}°C
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Вращение кулера:${goto 232}${color 9FB6CD}${execi 5 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t} %
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Частота:${goto 205}${color 9FB6CD}${execi 60 nvidia-settings -q [gpu:0]/GPUCurrentClockFreqs | perl -ne 'print $1 if /GPUCurrentClockFreqs.*?: (\d+)./;'} MHz
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Видеопамять:${goto 161}${color 9FB6CD}${execi 5 nvidia-settings -q [gpu:0]/UsedDedicatedGPUMemory -t} / ${exec nvidia-settings -q [gpu:0]/TotalDedicatedGPUMemory -t} MiB

#-- Info Cpu Core And Info Cpu Usage
${color 8C8299}${font Orore:size=20}L${voffset -3}${font Ubuntu:style=Italic:size=15}${color 9FB6CD}Процессор: ${goto 200}${freq}Мгц
${color 9FB6CD}${voffset 0}${goto 1}${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Ядро1 ${color 9FB6CD}${goto 53}${cpu cpu0}% ${color 9FB6CD}${goto 85} ${cpubar 8,130} ${execi 1 sensors | sed -n '3p' | cut -c16-19} °C
${color 9FB6CD}${voffset 0}${goto 1}${color 9FB6CD}${font Ubuntu:style=Italic:size=12}Ядро2 ${color 9FB6CD}${goto 53}${cpu cpu1}% ${color 9FB6CD}${goto 85} ${cpubar 8,130} ${execi 1 sensors | sed -n '4p' | cut -c16-19} °C

#-- Info Memory And Info Hard Drive
${color 8C8299}${voffset -3}${font Orore:size=20}M${voffset -3}${color 9FB6CD}${font Ubuntu:style=Italic:size=15} RAM: ${goto 95}${font Ubuntu:style=Italic:size=12}$mem / $memmax = ${goto 235}${voffset -5}${font Ubuntu:style=Italic:size=15}${color 9FB6CD}$memperc%
${color 9FB6CD}${membar 8,270}
${color 8C8299}${voffset -3}${font Orore:size=20}M${voffset -3}${color 9FB6CD}${font Ubuntu:style=Italic:size=15}Swap: ${goto 105}${font Ubuntu:style=Italic:size=12}$swap/$swapmax = ${goto 235}${font Ubuntu:style=Italic:size=15}${voffset -5} $swapperc%
${color 9FB6CD}${swapbar 8,270}${font Ubuntu:style=Italic:size=15}
${color 9FB6CD}Процессы ${alignr}${font Ubuntu:style=Italic:size=12} PID CPU MEM
${color 9FB6CD} ${top name 1} ${alignr}${top pid 1}${top cpu 1}${top mem 1}
${color 9FB6CD} ${top name 2} ${alignr}${top pid 2}${top cpu 2}${top mem 2}
${color 9FB6CD} ${top name 3} ${alignr}${top pid 3}${top cpu 3}${top mem 3}

# Разделы
${color 8C8299}${voffset -3}${font Orore:size=20}Q${color 9FB6CD}${font Ubuntu:style=Italic:size=15} Винчестер:${goto 230}${execi 20 hddtemp /dev/sda | awk '{print $4}'}°C
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}/:${goto 85} ${fs_used /} / ${fs_size /} = ${goto 240}${color 9FB6CD}${fs_used_perc /}%
${color 9FB6CD}${voffset 5}${fs_bar 8,270}
${color 9FB6CD}${font Ubuntu:style=Italic:size=12}/home:${goto 85} ${fs_used /home} / ${fs_size /home} = ${goto 240}${color 9FB6CD}${fs_used_perc /home}%
${color 9FB6CD}${voffset 5}${fs_bar 8,270 /home}

# Сеть
${voffset -3}${font Orore:size=20}${color 8C8299}Y${voffset -3}${color 9FB6CD}${font Ubuntu:style=Italic:size=15} Сеть:${alignr}${font Ubuntu:style=Italic:size=12}${execi 3600 curl -s http://icanhazip.com}
${color 9FB6CD}Туда:${upspeed net1}/s ${alignr}Сюда:${downspeed net1}/s
${totalup net1}${alignr}${totaldown net1}
${upspeedgraph net1 20,120 000000 9FB6CD}${alignr}${downspeedgraph net1 20,120 000000 9FB6CD}
]]

только это просто коньки, не Lua, но синтаксис на Lua. Пашет нормально. У меня ещё в прошлом году перестал работать такой синтаксис, как у тебя. Есть такой файлик, convert.lua, его использовал для преобразования.
kirandpug
conky: Assuming it's in old syntax and attempting conversion.
Вот
~~~>ls /usr/share/doc/conky-1.10.6_pre
conky.conf conky_no_x11.conf convert.lua html
valentoss78
У меня ещё в прошлом году перестал работать такой синтаксис, как у тебя.
+1

kirandpug, доброе утро... :)
спасибо!!! буду разбираться
 
Зарегистрироваться или войдите чтобы оставить сообщение.