Closed visious25 closed 6 months ago
background no
font Sans:size=8
#xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 1
total_run_times 0
own_window yes
own_window_class conky-semi
own_window_class normal
own_window_type dock
own_window_transparent yes
own_window_hints below,skip_taskbar,sticky
double_buffer yes
minimum_size 1940 2055
maximum_width 180
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 999
default_shade_color black
default_outline_color green
alignment top_right
gap_x 20
gap_y 70
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
own_window_argb_value 100
own_window_argb_visual yes
own_window_colour 000000
TEXT
#${color 999}SYSTEM ${hr 1}${color}
#
#${color 999}Hostname : $alignr$nodename${color}
${color #BFFF00}Kernel : $alignr$kernel${color}
#${color 999}BITS : $alignr$machine
${color #BFFF00}Uptime : $alignr$uptime${color}
#${color #BFFF00}Temperature: ${alignr} ${color #BFFF00} ${if_match ${exec sensors | grep -m 1 temp1 | awk '{print $2}' | cut -c 2-3}>=65}${exec sensors | grep -m 1 temp1 | awk '{print $2}' cut -c 2-3}${else}${color #BFFF00}${exec sensors | grep -m 1 temp1 | awk '{print $2}' | cut -c 2-3}${endif} C°
${color #BFFF00}Temperature: ${alignr} ${color #BFFF00} ${exec sensors | grep Package | awk '{print $4}'}
#${color 999}Processore ${hr 1}${color}
#
${color #BFFF00}CPU Frequency : ${alignr}${freq} MHz
#${color 999}Processes :$processes ${alignr}${color 999}($running_processes active)
#
${color #BFFF00}CPU utilization : ${alignr}${cpu}%
${color #BFFF00}${cpubar 20,180 }
${color #BFFF00}${cpugraph 20,180 }
#
#${color 999}Memory${hr 1}${color}
#
${color #BFFF00}Ram :${alignr}$mem / $memmax ($memperc%)
${membar 20}
${color #BFFF00}swap :${alignr}$swap / $swapmax ($swapperc%)
${swapbar 20}
#
#${color 999}Processes ${hr 1}${color}
Process $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}
${top name 4}$alignr${top cpu 4}${top mem 4}
${top name 5}$alignr${top cpu 5}${top mem 5}
#${color 999}Filesystem ${hr 1}${color}
#
#Home ${fs_used /home}/${fs_size /home}
#${fs_bar 15,120 /home}
#Root ${fs_used /}/${fs_size /}
#${fs_bar 15,120 /}
#Local ${fs_used /usr/local}/${fs_size /usr/local}
#${fs_bar 15,120 /usr/local}
${color #BFFF00}WIFI${hr 1}${color}
${color #BFFF00}Down ${downspeed wlan0} /s ${alignr}Up ${upspeed wlan0} /s
${downspeedgraph wlan0 20,85} ${alignr}${upspeedgraph wlan0 20,85}
Total ${totaldown wlan0}${alignr}Total ${totalup wlan0}
${color #BFFF00}ETHERNET${hr 1}${color}
${color #BFFF00}Down ${downspeed enp37s0} /s ${alignr}Up ${upspeed enp37s0} /s
${downspeedgraph enp37s0 20,85} ${alignr}${upspeedgraph enp37s0 20,85}
Total ${totaldown enp37s0} ${alignr}Total ${totalup enp37s0}
Above was my conky script before the update broke it. After some digging I found out that setting the dimensions is actually the culprit which broke it. So removing the dimensions (changing from ${downspeedgraph wlan0 20,85}
to ${downspeedgraph wlan0}
) fixed the issue under the cost of the compact layout!
surrounding the network interface name with double quotes actually fixed the bug!!
So ${downspeedgraph wlan0 20,85}
should become ${downspeedgraph "wlan0" 20,85}
Thank for your help, I did your your changes to my conky with double quotes and now working on v1.18.1.
Here is my full conky config: https://pastebin.com/WVn3LgN2
This parsing issue may also be fixed (#1447) without needing to quote interface names in v1.18.3.
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.
Tested locally and seems resolved. Closing.
Let me know if you want this issue reopened.
No thank you, this issue solved by @SL-Pirate.
What happened?
Hi, conky failed to show up network monitor, so I've downgrade the packege to conky v1.17.0. Here is the samle: https://pastebin.com/Y6RGZG2e
Version
1.18.1
Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
Stack trace
No response
Relevant log output
No response