My barely started conky is going berserk. Please help. [SOLVED]

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

My barely started conky is going berserk. Please help. [SOLVED]

Post by Logansfury »

Hello,

I am trying to build a more custom graph display in my conky minimalis. From code edited from a Teejee script, I have put together this set of graphs and progress bars:

Image

I think it looks beautiful, but as soon as I try to put it in a staring minimalis .conf, it becomes this:

Image

Here is the starter conky.conf. Can anyone help me clean this up?

Code: Select all

--[[
# Minimalis Conky 1.3
# Author : archit3x
# Release date : 4 December 2020
# Tested on : Archlinux ARM - XFCE Desktop
# Email : archit3x@archlinux.us
# Feel free to modity this script ;)
]]

conky.config = {
    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'black',
    default_shade_color = 'white',
    color1 = '#ff0000',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = false,
    extra_newline = false,
    font = 'Neon 80s:size=10',
    gap_x = 30,
    gap_y = 30,
    minimum_height = 410,
    minimum_width = 340,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_type = 'desktop',
    own_window_hints ='undecorated,sticky,skip_taskbar,skip_pager,below',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

conky.text = [[
${color1}${font ConkySymbols:size=20}u${font Neon 80s:size=10} ${voffset -10}GNU/Linux» ${hr}
${color1}${goto 35}OS      : ${color}${exec echo "$(lsb_release -ds) $(lsb_release -cs | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}') | Cinnamon $(cinnamon --version | awk 'NR==1{print $2}')"}

${color1}${goto 35}Kernel : ${color}${kernel} on ${machine}

${cpugraph cpu1 50,168 ffff00 ff0000}${alignr}${cpugraph cpu2 50,168 ffff00 ff0000}${voffset -15}
${cpugraph cpu3 50,168 ffff00 ff0000}${alignr}${cpugraph cpu4 50,168 ffff00 ff0000 }
${font Neon 80s:size=12}${voffset -110}${color3}${goto 10}1 ${goto 180}2 ${goto 0} ${voffset 50} ${goto 10}3 ${goto 180}4
${font Neon 80s:size=10}${voffset -67}${color3}${goto 108}${freq_g (1)}GHz ${goto 258}${freq_g (2)}GHz ${goto 0}${voffset 50}${goto 108}${freq_g (3)}GHz ${goto 258}${freq_g (4)}GHz 

${color1}Core 1: ${color}${cpu cpu0}% ${cpubar cpu0 6,108}${alignr}${color1}Core 2: ${color}${cpu cpu1}% ${cpubar cpu1 6,110}
${color1}Core 3: ${color}${cpu cpu2}% ${cpubar cpu2 6,106}${alignr}${color1}Core 4: ${color}${cpu cpu3}% ${cpubar cpu3 6,110}

]]
Thank you for reading,

Logan
Last edited by Logansfury on Wed Jan 31, 2024 2:45 pm, edited 1 time in total.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: My barely started conky is going berserk. Please help.

Post by AndyMH »

Your problem is

Code: Select all

${voffset -15}
and all the other voffsets, suggest you set them all to zero ${voffset 0} and then start adjusting them until the vertical orientation is what you want.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help.

Post by Logansfury »

AndyMH wrote: Wed Jan 31, 2024 9:50 am Your problem is

Code: Select all

${voffset -15}
and all the other voffsets, suggest you set them all to zero ${voffset 0} and then start adjusting them until the vertical orientation is what you want.
Hello Andy :)

It's good to see you in the thread, I'm glad you're here!

Here is my alignment:

Image

I cannot get the Core 1 and Core 3 displays towards the top to line up with the rest of the text and my whole miminalis is flashing every second. I suspect because of the core texts. Here is my conky.conf:

Code: Select all

--[[
# Minimalis Conky 1.3
# Author : archit3x
# Release date : 4 December 2020
# Tested on : Archlinux ARM - XFCE Desktop
# Email : archit3x@archlinux.us
# Feel free to modity this script ;)
]]

conky.config = {
    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'black',
    default_shade_color = 'white',
    color1 = '#ff0000',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = false,
    extra_newline = false,
    font = 'Neon 80s:size=10',
    gap_x = 30,
    gap_y = 30,
    minimum_height = 410,
    minimum_width = 340,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_type = 'desktop',
    own_window_hints ='undecorated,sticky,skip_taskbar,skip_pager,below',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

conky.text = [[
${color1}${font ConkySymbols:size=20}u${font Neon 80s:size=10} ${voffset -10}GNU/Linux» ${hr}
${color1}${goto 35}OS      : ${color}${exec echo "$(lsb_release -ds) $(lsb_release -cs | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}') | Cinnamon $(cinnamon --version | awk 'NR==1{print $2}')"}

${color1}${goto 35}Kernel : ${color}${kernel} on ${machine}

${alignr}${cpugraph cpu1 50,170 ffff00 ff0000} ${alignr}${cpugraph cpu2 50,170 ffff00 ff0000}${voffset -12}
${alignr}${cpugraph cpu3 50,170 ffff00 ff0000} ${alignr}${cpugraph cpu4 50,170 ffff00 ff0000 }
${font Neon 80s:size=10}${voffset -110}${color3}${goto 54}1 ${goto 228}2 ${goto 0} ${voffset 50} ${goto 54}3 ${goto 228}4
${font Neon 80s:size=10}${voffset -67}${color3}${goto 154}${freq_g (1)}GHz ${goto 318}${freq_g (2)}GHz ${goto 0}${voffset 50}${goto 154}${freq_g (3)}GHz ${goto 318}${freq_g (4)}GHz 
${voffset 28}
${color1}Core 1: ${color}${cpu cpu0}% ${cpubar cpu0 6,80}${color1}${alignr}Core 2: ${color}${cpu cpu1}% ${cpubar cpu1 6,80}
${color1}Core 3: ${color}${cpu cpu2}% ${cpubar cpu2 6,80}${color1}${alignr}Core 4: ${color}${cpu cpu3}% ${cpubar cpu3 6,80}

${color1}${goto 35}Uptime : ${color}${uptime_short} ${alignr}${color1}Load  : ${color}${loadavg}

${color1}${font ConkySymbols:size=16}h${font}${voffset -10}Temperatures» ${hr}${color}
${color1}${goto 35}CPU : ${color}${execp sensors coretemp-isa-0000 -u | grep 'temp[1-4]_input' | awk '{printf "\${goto 68}Core %d: %+0.1fF/%+0.1fC \${alignr}(High: +84.0C/Crit: +100.0C)\n                   ", NR, $2 * 9/5 + 32, $2}'}
${color1}${goto 35}GPU : ${color}${execp sensors | grep -A2 'radeon-pci-0100' | grep 'temp1' | awk '{printf "\${goto 69}+%.1fF/+%.1fC \${alignr}(High: +90.0C/Crit: +120.0C)\n", $2 * 9/5 + 32, $2}'}

${color1}${font ConkySymbols:size=16}L${font} ${voffset -10}Fan Speeds» ${hr}${color}
${color1}${goto 35}Processor Fan : ${color}${exec sensors | awk '/Processor Fan:/ {print $3 " RPM"}'}
${color1}${goto 35}Motherboard Fan : ${color}${exec sensors | awk '/Motherboard Fan:/ {print $3 " RPM"}'}

${color1}${font ConkySymbols:size=16}J${font} ${voffset -10}Memory» ${hr}${color}
${color1}${goto 35}RAM : ${color}${mem}/${memmax} ${alignr}${memperc}% ${membar 6,100}
${color1}${goto 35}SWAP: ${color}${swap}/${swapmax} ${alignr}${swapperc}% ${swapbar 6,100}

${color1}${font ConkySymbols:size=16}n${font} ${voffset -10} Processes» ${hr}${color}
${color1}${goto 35}CPU usage ${goto 230}Memory Usage${color}
${goto 35}${top name 1} ${color}${goto 145}${top cpu 1}% ${goto 230}${top_mem name 1}${alignr}${top_mem mem_res 1}
${goto 35}${top name 2} ${color}${goto 145}${top cpu 2}% ${goto 230}${top_mem name 2}${alignr}${top_mem mem_res 2}
${goto 35}${top name 3} ${color}${goto 145}${top cpu 3}% ${goto 230}${top_mem name 3}${alignr}${top_mem mem_res 3}
${goto 35}${top name 4} ${color}${goto 145}${top cpu 4}% ${goto 230}${top_mem name 4}${alignr}${top_mem mem_res 4}

${color1}${goto 35}Processes: ${color}${processes}${color1}${goto 150}Running: ${color}${running_processes}
${alignr}${cpugraph cpu1 50,340 ffff00 ff0000}

${color1}${font ConkySymbols:size=16}k${font} ${voffset -10} Storage» ${hr}${color}
${color1}${goto 35}ROOT : ${color}${fs_used /}/${fs_size /} ${alignr}${fs_used_perc /}% ${fs_bar 6,100 /}
${alignr}${diskiograph_read 50,170 ffff00 ff0000} ${alignr}${diskiograph_write 50,170 ffff00 ff0000}
${goto 35}
${color1}${font ConkySymbols:size=16}b${font} ${voffset -10} Wireless» ${hr}${color}
${color1}${goto 35}SSID        : ${color}${wireless_essid wlx7cb232bdeee1} ${color1}${alignr}Signal: ${color}${wireless_link_qual_perc wlx7cb232bdeee1}% ${wireless_link_bar 6,100 wlx7cb232bdeee1}
${color1}${goto 35}Bitrate     : ${color}${wireless_bitrate wlx7cb232bdeee1}
${color1}${goto 35}Total Down/Up : ${color}${totaldown wlx7cb232bdeee1}/${totalup wlx7cb232bdeee1}.
${color1}${goto 35}Speed Down/Up : ${color}${downspeed wlx7cb232bdeee1}/${upspeed wlx7cb232bdeee1}
${color1}${goto 35}Local IP : ${color}${exec ip route | grep -oP '(?<=src )(\S+)' | head -n 1}
${alignr}${upspeedgraph wlx7cb232bdeee1 50,170 ffff00 ff0000} ${alignr}${downspeedgraph wlx7cb232bdeee1 50,170 ffff00 ff0000}
${color1}${goto 35}.
]]
Can you see how to stop it from blinking and/or line up the Core 1 & 3 Texts?
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: My barely started conky is going berserk. Please help.

Post by zcot »

if you ${alignr} the graphs, then you should do it to the bars too.

You say "and my whole miminalis is flashing every second.", but we don't know what that means. There are 100 elements in that miminalis. :wink:

Also, because you're not going to use the Neon Monospace option, you will find these texts are going to jump around all the time left/right with the changing data. That's just gonna be part of the feature. 8)
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help.

Post by Logansfury »

zcot wrote: Wed Jan 31, 2024 10:41 am if you ${alignr} the graphs, then you should do it to the bars too.

You say "and my whole miminalis is flashing every second.", but we don't know what that means. There are 100 elements in that miminalis. :wink:

Also, because you're not going to use the Neon Monospace option, you will find these texts are going to jump around all the time left/right with the changing data. That's just gonna be part of the feature. 8)
I just realized I was getting help from the author of the program! I got the core texts lined up with use of ${goto 35} that was in many places in the minimalis and seems to be the starting spot for all the info texts.

I have seen some of the left-right formatting shifting a bit as data changes, that's great, makes minimalis look alive, but my entire minimalis panel every single graphic and letter of text is blinking on and off every second. The last minimalis I had didn't do this. Is it possible you can fix it? Here is the conky.conf that blinks constantly:

Code: Select all

--[[
# Minimalis Conky 1.3
# Author : archit3x
# Release date : 4 December 2020
# Tested on : Archlinux ARM - XFCE Desktop
# Email : archit3x@archlinux.us
# Feel free to modity this script ;)
]]

conky.config = {
    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'black',
    default_shade_color = 'white',
    color1 = '#ff0000',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = false,
    extra_newline = false,
    font = 'Neon 80s:size=10',
    gap_x = 30,
    gap_y = 30,
    minimum_height = 410,
    minimum_width = 340,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_type = 'desktop',
    own_window_hints ='undecorated,sticky,skip_taskbar,skip_pager,below',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

conky.text = [[
${color1}${font ConkySymbols:size=20}u${font Neon 80s:size=10} ${voffset -10}GNU/Linux» ${hr}
${color1}${goto 35}OS      : ${color}${exec echo "$(lsb_release -ds) $(lsb_release -cs | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}') | Cinnamon $(cinnamon --version | awk 'NR==1{print $2}')"}

${color1}${goto 35}Kernel : ${color}${kernel} on ${machine}

${alignr}${cpugraph cpu1 50,170 ffff00 ff0000} ${alignr}${cpugraph cpu2 50,170 ffff00 ff0000}${voffset -12}
${alignr}${cpugraph cpu3 50,170 ffff00 ff0000} ${alignr}${cpugraph cpu4 50,170 ffff00 ff0000 }
${font Neon 80s:size=10}${voffset -110}${color3}${goto 54}1 ${goto 228}2 ${goto 0} ${voffset 50} ${goto 54}3 ${goto 228}4
${font Neon 80s:size=10}${voffset -67}${color3}${goto 154}${freq_g (1)}GHz ${goto 330}${freq_g (2)}GHz ${goto 0}${voffset 50}${goto 154}${freq_g (3)}GHz ${goto 330}${freq_g (4)}GHz 
${voffset 28}
${color1}${goto 35}Core 1: ${color}${cpu cpu0}% ${cpubar cpu0 6,80}${color1}${alignr}Core 2: ${color}${cpu cpu1}% ${cpubar cpu1 6,80}
${color1}${goto 35}Core 3: ${color}${cpu cpu2}% ${cpubar cpu2 6,80}${color1}${alignr}Core 4: ${color}${cpu cpu3}% ${cpubar cpu3 6,80}

${color1}${goto 35}Uptime : ${color}${uptime_short} ${alignr}${color1}Load  : ${color}${loadavg}

${color1}${font ConkySymbols:size=16}h${font}${voffset -10}Temperatures» ${hr}${color}
${color1}${goto 35}CPU : ${color}${execp sensors coretemp-isa-0000 -u | grep 'temp[1-4]_input' | awk '{printf "\${goto 68}Core %d: %+0.1fF/%+0.1fC \${alignr}(High: +84.0C/Crit: +100.0C)\n                   ", NR, $2 * 9/5 + 32, $2}'}
${color1}${goto 35}GPU : ${color}${execp sensors | grep -A2 'radeon-pci-0100' | grep 'temp1' | awk '{printf "\${goto 69}+%.1fF/+%.1fC \${alignr}(High: +90.0C/Crit: +120.0C)\n", $2 * 9/5 + 32, $2}'}

${color1}${font ConkySymbols:size=16}L${font} ${voffset -10}Fan Speeds» ${hr}${color}
${color1}${goto 35}Processor Fan : ${color}${exec sensors | awk '/Processor Fan:/ {print $3 " RPM"}'}
${color1}${goto 35}Motherboard Fan : ${color}${exec sensors | awk '/Motherboard Fan:/ {print $3 " RPM"}'}

${color1}${font ConkySymbols:size=16}J${font} ${voffset -10}Memory» ${hr}${color}
${color1}${goto 35}RAM : ${color}${mem}/${memmax} ${alignr}${memperc}% ${membar 6,100}
${color1}${goto 35}SWAP: ${color}${swap}/${swapmax} ${alignr}${swapperc}% ${swapbar 6,100}

${color1}${font ConkySymbols:size=16}n${font} ${voffset -10} Processes» ${hr}${color}
${color1}${goto 35}CPU usage ${goto 230}Memory Usage${color}
${goto 35}${top name 1} ${color}${goto 145}${top cpu 1}% ${goto 230}${top_mem name 1}${alignr}${top_mem mem_res 1}
${goto 35}${top name 2} ${color}${goto 145}${top cpu 2}% ${goto 230}${top_mem name 2}${alignr}${top_mem mem_res 2}
${goto 35}${top name 3} ${color}${goto 145}${top cpu 3}% ${goto 230}${top_mem name 3}${alignr}${top_mem mem_res 3}
${goto 35}${top name 4} ${color}${goto 145}${top cpu 4}% ${goto 230}${top_mem name 4}${alignr}${top_mem mem_res 4}

${color1}${goto 35}Processes: ${color}${processes}${color1}${goto 150}Running: ${color}${running_processes}
${alignr}${cpugraph cpu1 50,340 ffff00 ff0000}

${color1}${font ConkySymbols:size=16}k${font} ${voffset -10} Storage» ${hr}${color}
${color1}${goto 35}ROOT : ${color}${fs_used /}/${fs_size /} ${alignr}${fs_used_perc /}% ${fs_bar 6,100 /}
${alignr}${diskiograph_read 50,170 ffff00 ff0000} ${alignr}${diskiograph_write 50,170 ffff00 ff0000}
${goto 35}
${color1}${font ConkySymbols:size=16}b${font} ${voffset -10} Wireless» ${hr}${color}
${color1}${goto 35}SSID        : ${color}${wireless_essid wlx7cb232bdeee1} ${color1}${alignr}Signal: ${color}${wireless_link_qual_perc wlx7cb232bdeee1}% ${wireless_link_bar 6,100 wlx7cb232bdeee1}
${color1}${goto 35}Bitrate     : ${color}${wireless_bitrate wlx7cb232bdeee1}
${color1}${goto 35}Total Down/Up : ${color}${totaldown wlx7cb232bdeee1}/${totalup wlx7cb232bdeee1}.
${color1}${goto 35}Speed Down/Up : ${color}${downspeed wlx7cb232bdeee1}/${upspeed wlx7cb232bdeee1}
${color1}${goto 35}Local IP : ${color}${exec ip route | grep -oP '(?<=src )(\S+)' | head -n 1}
${alignr}${upspeedgraph wlx7cb232bdeee1 50,170 ffff00 ff0000} ${alignr}${downspeedgraph wlx7cb232bdeee1 50,170 ffff00 ff0000}
${color1}${goto 35}.
]]
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help.

Post by Logansfury »

zcot wrote: Wed Jan 31, 2024 10:41 am if you ${alignr} the graphs, then you should do it to the bars too.

You say "and my whole miminalis is flashing every second.", but we don't know what that means. There are 100 elements in that miminalis. :wink:

Also, because you're not going to use the Neon Monospace option, you will find these texts are going to jump around all the time left/right with the changing data. That's just gonna be part of the feature. 8)
Here is a 10 second video or less of what I mean. Have you the time to surf to imgur real quick?

https://imgur.com/a/ZTthbl4
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help.

Post by Logansfury »

I have poked around the net and found a 2020 dated solution of enabling double buffer, but my blinking script already has

Code: Select all

double_buffer = true,
I'm going to try a reboot someone posted that helped them.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help.

Post by Logansfury »

I have found a brute-force solution to the issue and the blinking on and off has stopped :D

I am now using 2 conky widgets to make 1 display. I made my header, a space large enough for my graphs, then the rest of my scripts in an enlarged font size much easier to read. Then I used the widget from Teejee that I had customized and I positioned that in the empty space the first widget left.

When all else fails, use a bigger hammer! :P
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
AndyMH
Level 21
Level 21
Posts: 13759
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by AndyMH »

I would have increased the conky update interval.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Logansfury »

AndyMH wrote: Wed Jan 31, 2024 2:47 pm I would have increased the conky update interval.
I don't know how to do that without falling over. Nothing changed in the overall schema of the .conf file, I merely turned 4 rows of long graphs into 2 rows of half length graphs. All the coding was left the same, only ${alighr} and ${goto X} commands were edited to compensate for the extra real-estate it created. There is no logical reason whatsoever for the chronic-blink to occur.

It's been over an hour since I frankenstien'ed the two conkys into one minimalis display. Not one instance of it flickering off and on again.

While the reason for this original configuration not working has not been discovered, I'm going to mark the thread solved as I found a work-around :)
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help.

Post by Logansfury »

zcot wrote: Wed Jan 31, 2024 10:41 am Also, because you're not going to use the Neon Monospace option, you will find these texts are going to jump around all the time left/right with the changing data. That's just gonna be part of the feature. 8)
I saw the Neon 80s font and loved it before I found out it was not monospace, and the importance of such fonts for formatting.

What's this about a Monospace option? Is there another version of this font out there? Or is this a scripted thing?

(I still can't believe I'm being helped by the program author)
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by zcot »

I get these errors. The first one is because I'm using xfce.

Code: Select all

sh: 1: cinnamon: not found
awk: cmd. line:1: warning: escape sequence `\$' treated as plain `$'
awk: cmd. line:1: warning: escape sequence `\$' treated as plain `$'
The other 2 are caused by lines 68 and 69, the CPU and GPU lines.

Code: Select all

${color1}${goto 35}CPU : ${color}${execp sensors coretemp-isa-0000 -u | grep 'temp[1-4]_input' | awk '{printf "\${goto 68}Core %d: %+0.1fF/%+0.1fC \${alignr}(High: +84.0C/Crit: +100.0C)\n                   ", NR, $2 * 9/5 + 32, $2}'}
${color1}${goto 35}GPU : ${color}${execp sensors | grep -A2 'radeon-pci-0100' | grep 'temp1' | awk '{printf "\${goto 69}+%.1fF/+%.1fC \${alignr}(High: +90.0C/Crit: +120.0C)\n", $2 * 9/5 + 32, $2}'}
take the first one and correct both of the \$ and we still get this problem:

Code: Select all

awk: cmd. line:1: {printf "${goto 68}Core %d: %+0.1fF/%+0.1fC ${alignr}(High: +84.0C/Crit: +100.0C)\n                   ", NR, $2 * 9/5 + 32, $2}}
awk: cmd. line:1:                                        -->                                                                                     ^ syntax error
Anyway, the flickering. I think it's because there's too much in one pass with this one, at least using an update interval of 1 second. There's 9 graphs, 7 bars, and still a ton of other stuff. Breaking it into multiple pieces you can still get the end total but it can take advantage of more process separation. I wasn't going to profile it because it will take longer and is a hassle and you found an easily solution anyway.


Also, just so you know, I didn't write conky-manager2, I only forked it from the original from tony. I had done a pull request a number of years ago to add the functionality for the changes of the post-1.10 configs and basically it just came down to him saying he's too busy or moved to other projects and that I should just pick it up as a fork and try to maintain it in a good way. So, that's that. :wink:

ps. the monospace option of that font will be when you take that font and build the monospace format added to it.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Logansfury »

I am firmly of the "if it aint broke don't fix it" mentality. My conky looks beautiful, it's functioning, no one can tell it's two conkys making one Minimalis and there is only the occasional flicker that happens with any heads up display. I'm very happy. My GUI is alive and looks nothing like windows.
zcot wrote: Wed Jan 31, 2024 11:09 pm Also, just so you know, I didn't write conky-manager2, I only forked it from the original from tony. I had done a pull request a number of years ago to add the functionality for the changes of the post-1.10 configs and basically it just came down to him saying he's too busy or moved to other projects and that I should just pick it up as a fork and try to maintain it in a good way. So, that's that. :wink:
That is so far out!! My beloved android automation program Tasker had it's author Pent decide to retire and he passed all his code and work over to a user that was a prolific addon author for the program. Thanks to Joao, Tasker continues and flourishes as he expands the code and functionality month after month.
ps. the monospace option of that font will be when you take that font and build the monospace format added to it.
This I will probably have to google. I don't understand how to build a monospace format. If I can edit my favorite font and make it monospace that would be awesome!!!
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by zcot »

OH! my bad. those 2 lines are fine if you have the correct sensors info filled in. :shock:

Anyway, that's a good solution to break the whole thing into 2 pieces.

For the font, yea, you should be able to get a font editor and take the original and make edits to get a monospace option, -then you have both. With the font already created, doing the reformatting of the space is way less of a task than completely building a font from scratch.

Also, in the config font works the same as like color where you can specify the different fonts in the config: font, font1, font2, etc and just call them that way in the code.
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Logansfury »

zcot wrote: Thu Feb 01, 2024 11:35 pm OH! my bad. those 2 lines are fine if you have the correct sensors info filled in. :shock:

Anyway, that's a good solution to break the whole thing into 2 pieces.

For the font, yea, you should be able to get a font editor and take the original and make edits to get a monospace option, -then you have both. With the font already created, doing the reformatting of the space is way less of a task than completely building a font from scratch.

Also, in the config font works the same as like color where you can specify the different fonts in the config: font, font1, font2, etc and just call them that way in the code.
Hello Zcot, how are you? :)

I have seen the truth of it. I have spent the day fine-tuning my Minimalis. I put data text into the processes, drive read, drive write, IP spd up, and IP spd down graphs and they look awesome!

I have become familiar with ${font} ${color} ${colorN} ${goto X} and ${voffset N} and have my texts positioned pixel-perfect in the graphs. I removed the Wireless info from the main Minimalis .conf and created a 3rd widget for that display so now 3 widgets are building 1 seamless Minimalis display. I also added IP Netmask, Broadcast, and Gateway IPs to the Wireless section in the free space on the right. It all fits together perfectly.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Koentje »

zcot wrote: Thu Feb 01, 2024 11:35 pm Also, in the config font works the same as like color where you can specify the different fonts in the config: font, font1, font2, etc and just call them that way in the code.
Dude no way!?! :shock:
All versions of conky? (past new config versions)
Image
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by zcot »

Koentje wrote: Fri Feb 02, 2024 7:15 am
zcot wrote: Thu Feb 01, 2024 11:35 pm Also, in the config font works the same as like color where you can specify the different fonts in the config: font, font1, font2, etc and just call them that way in the code.
Dude no way!?! :shock:
All versions of conky? (past new config versions)
No. It was added for 1.11.0 release so if you use the default package version you will only get it from Mint 21.x.
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Koentje »

zcot wrote: Fri Feb 02, 2024 10:32 am
Koentje wrote: Fri Feb 02, 2024 7:15 am
zcot wrote: Thu Feb 01, 2024 11:35 pm Also, in the config font works the same as like color where you can specify the different fonts in the config: font, font1, font2, etc and just call them that way in the code.
Dude no way!?! :shock:
All versions of conky? (past new config versions)
No. It was added for 1.11.0 release so if you use the default package version you will only get it from Mint 21.x.
Sheit.. ok. I'm still on 20.3.
I tried to compile the newest conky, but i couldn't get it to work.
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Logansfury »

Koentje wrote: Fri Feb 02, 2024 12:30 pm Sheit.. ok. I'm still on 20.3.
I tried to compile the newest conky, but i couldn't get it to work.
What has kept you from upgrading to 21.x? I figured you would wan't to check out everything current?
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: My barely started conky is going berserk. Please help. [SOLVED]

Post by Koentje »

If it ain't broke, don't fix it!
I see so many problem posts of 21.x that i'll keep going on 20.3!
Image
Post Reply

Return to “Compiz, Conky, Docks & Widgets”