我最近安装了 Ubuntu 20.10,但无法让 Conky Manager 运行。它在 20.04LTS 上运行良好。我只是使用标准的“Gotham”模板。
如果我尝试通过终端运行它,则会发生这种情况:
mike@mike-hpprobook450g1:~$ conky -c ~/.conky/Gotham/Gotham
conky: Syntax error (/home/mike/.conky/Gotham/Gotham:1: syntax error near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')
我已经摆弄了一下......例如将“是”更改为“真”但是,这并没有帮助。有什么改变?有没有人试过这个?我已经在 Ubuntu Studio (KDE) 和 Ubuntu (Gnome) 上进行了尝试,但它无法在 20.10 上运行。
Conky Manager 2.4 和 conky 1.11.6 为 Linux x86_64 编译 2020-08-17(编辑 - 这是代码)
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
own_window_argb_visual no
own_window_argb_value 0
double_buffer yes
#minimum_size 250 5
#maximum_width 500
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment top_middle
gap_x 0
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
minimum_size 0 0
TEXT
${voffset 10}${color EAEAEA}${font GE Inspira:pixelsize=120}${time %I:%M}${font}${voffset -84}${offset 10}${color FFA300}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font GE Inspira:pixelsize=22}${time %B} ${time %Y}${font}${voffset 24}${font GE Inspira:pixelsize=58}${offset -148}${time %A}${font}
${voffset 1}${offset 12}${font Ubuntu:pixelsize=12}${color FFA300}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color FFA300}RAM ${offset 9}$color$mem / $memmax${offset 30}${color FFA300}CPU ${offset 9}$color${cpu cpu0}%