Anyone else's conky break with today's update?

Size is not a reliable indication of functionality.

That’s because you installed a lua53 package, probably from the AUR?

1 Like

Thank you for the link, I got the downgrade to work, but still nada as far as getting a conky to run.

Just to make sure I’m trying to use this convert.lua file correctly… I have it in /usr/local/bin and it’s set a executable. To run it I’m going to a dir with a conky file I want to convert in it, right clicking and selecting open in terminal and then typing
convert.lua Gotham
and from that I’m still getting the bad interpreter error that I posted above. I feel sure the file works (especially since it’s been working for others), so if these steps aren’t wrong then I might just be SOL, for now.

Go to the folder where the convert.lua file is. Tpye the following:

./.convert.lua /home/username/.conky/Gotham/Gotham /home/username/.conky/Gotham/Gotham2

Replace the path to your conky with the correct one. It will create a new file, so you will still have the old one in case something goes wrong.

I converted the Gotham conky myself and had no issues.
Gotham Conky

1 Like

:rofl: love it.

3 Likes

Thank you very much for spelling this out more for me. Doing this gives me the same error about bad interpreter with /usr/bin/lua as I got before. I tried grabbing the convert.lua code from github again and putting it into a new file and got the same result. I think I’ll give this one a little time (and hopefully some updates) and try it again. Thank you everybody for your assistance and patience with me.

Edit: Unblocking the lua updates and then updating allows the file to run without error now. I think there wasn’t a lua file in /usr/bin without that update, so that was the issue it was hitting. After that, upgrading to conky-manager 2.7-2 from the AUR now allows conky-manager to see these new versions of the files that convert.lua is spitting out and suddenly all is well. That was a lot of fun and learning for a Saturday night, time for a drink :beers: :stuck_out_tongue:

1 Like

Hello, this theme is maybe old, but i have a issue with conky and somebody can help me?

own_window_type = ‘desktop’,

disappears when i click on the desktop.

What can i do against this issue?

Try this:

own_window_type = ‘dock’,

I had the same issue and had to play with the options, which are:

own_window_type = ‘normal’, ‘desktop’, ‘override’, ‘panel’, ‘dock’, and ‘conky’,

Let us know if this helps, and best regards!

Barry

3 Likes

own_window_type = ‘dock’ is above my opened windows.

so i always see it :thinking:

And you have this below the own_window_type statement:

own_window_hints = ‘undecorated,below,sticky,skip_taskbar,skip_pager’,

???

1 Like

conky.config = {
background = true,
use_xft = true,
font = ‘123font:size=8’,
xftalpha = .1,
update_interval = 1.0, – seconds
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_class = ‘conky’,
own_window_type = ‘dock’,
own_window_hints = undecorated,below,sticky,skip_taskbar,skip_pager,
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_colour = ‘000000’,
double_buffer = true,
minimum_size = 300,
maximum_width = 400,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,

default_color = 'gray',        -- gray
default_shade_color = 'red',      -- red
default_outline_color = 'white',    -- white

gap_x = 7,
gap_y = 35,
alignment = 'top_right',

stippled_borders = 3,
border_inner_margin = 4,
border_width = 5,

no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 1,
override_utf8_locale = true,
use_spacer = 'right',
text_buffer_size = 256,

}

So, does this still not work? I don’t see anything wrong—maybe I’m just blind …

Edit: Actually, I just noticed my font statement is different from yours:

font = ‘Oxygen:Regular:size=8’,

Maybe, try adding the :Regular option?

Edit 2:
I remember I also changed my maximum_width statement to a minimum_width statement, which seemed to give me a better result.

1 Like

grafik
It isnt really better :anguished:

And if you click on your browser header, it doesn’t come to top?

1 Like

No

I would start with window type being ‘normal’, with the window hints as shown. The other types (like dock) are for specific problem solving - like forcing to the ‘top’ or ‘front’, or (like override) for handling ‘odd’ window managers and settings.

1 Like

I would pick the bones out of this a fully working conky,
Just remember settings can change dependent on desktop used

 Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 1,
    cpu_avg_samples = 3,
	default_color = 'yellow',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = false,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'URW Palladio L:size=9.5',
    gap_x = 10,
    gap_y = 42,
    minimum_height = 510,
    minimum_width = 270,
	maximum_width = 270,
    net_avg_samples = 2,
    no_buffers = true,
	double_buffer = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
	own_window_transparent = true,
	own_window_class = 'Conky',
    own_window_type = 'normal',
	own_window_hints = 'undecorated,below,skip_pager,skip_taskbar',
    stippled_borders = 0,
    update_interval = 2.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false,
	own_window_argb_visual = true,
	own_window_argb_value = 0
}
conky.text = [[
#${offset 12}${execp echo "obase=2;`date +%H`" | bc | sed 's/^/00000/'  | sed 's/.*\(.....\)/\1/' | sed 's/0/\${color 339900} •/g'  | sed 's/1/${color FF4900} •/g'}   ${scroll 36 ${color 00B38C}Arch  ${color 4873B3}@ ${color B30080}$nodename}
#${execp echo "obase=2;`date +%M`" | bc | sed 's/^/000000/' | sed 's/.*\(......\)/\1/' | sed 's/0/\${color 339900} •/g'  | sed 's/1/${color FF4900} •/g'}   ${color 6BA6FF}${time %A,  %d. %B }
#${execp echo "obase=2;`date +%S`" | bc | sed 's/^/000000/' | sed 's/.*\(......\)/\1/' | sed 's/0/\${color 339900} •/g'  | sed 's/1/${color FF4900} •/g'}   ${color 00FFC7}${time %I:%M:%S %p}
${color 339900}Uptime         ${color FF4900}$uptime
${color 4873B3}Kernel          ${color FF4900}$sysname$kernel
#${color 1C6605}Battery        ${color FF4900}${battery BAT0} ${battery_percent BAT0}%                              
#${color 1C6605}${battery_bar 5,267 BAT0}
${color 999000}HDD Used   ${color FF4900}$fs_used_perc %${color eeee5e} = ${color FF4900}${fs_used /}  ${color 999000}Free ${color FF4900}${fs_free /}
${color 807800}${fs_bar 5,267 /}
${color B30080}RAM Used    ${color FF4900}$mem  ${color FF4900}$memmax  
${color 80005B}${membar 5,267}
${color 00B38C}CPU 0 Used   ${color FF4900}${cpu cpu0} %        ${color 009EB3}CPU 1 Used   ${color FF4900}${cpu cpu1} %
${color 00B38C}${cpubar cpu0 5,124}     ${color 009EB3}${cpubar cpu1 5,124}
${color 00B38C}CPU 2 Used   ${color FF4900}${cpu cpu2} %        ${color 009EB3}CPU 3 Used   ${color FF4900}${cpu cpu3} %
${color 00B38C}${cpubar cpu2 5,124}     ${color 009EB3}${cpubar cpu3 5,124}
${color black}${cpugraph cpu0 10,124 000000 00B38C}     ${color black}${cpugraph cpu1 10,124 000000 009EB3}
#${color 00B38C}CPU-Temp  ${color yellow} ${hwmon temp 2}${color yellow} C° ${color 00B38C}GPU-Temp    ${color yellow}${nvidia temp}${color yellow} C°
#${color 00B38C}CPU0-Temp ${color yellow} ${hwmon temp 1}${color yellow} C°  ${color 00B38C}CPU1-Temp  ${color yellow}${hwmon temp 3}${color yellow} C°
#${color 00B38C}CPU-Fan ${color yellow}${execi 2 sensors | grep fan2 | cut -c15-22}  ${color 00B38C}Case-Fan${color yellow}${execi 2 sensors | grep fan1 | cut -c15-22}
${color 00B38C}CPU-Temp    ${color ff4900}${acpitemp}${color ff4900} C°      ${color 00B38C}GPU-Temp  ${color ff4900}${hwmon temp 1}${color ff4900} C°
#${color yellow}${hwmon2 fan 1}
#${color 00B38C}CPU-Temp ${color yellow}${execi 8 sensors | grep -A 1 'temp1' cut -c13-16 | sed '/^$/d'}${color yellow} C°
#${color 00B38C}CPU-Temp  ${color ff4900}${acpitemp}${color ff4900} C°
#${color 00B38C}CPU-Temp ${color yellow}${acpitz-virtual-0}${color yellow} C°
#${color 00B38C}CPU-Voltage ${color yellow}${execi 2 sensors | grep in5 | cut -c14-21} V
${color 00B38C}Processes       ${color FF4900}$processes         ${color 00B38C}On  ${color FF4900}$running_processes
${color 4873B3}~~~~~~~~~~~~ Top 4 Ps ~~~~~~~~~~~
${color FF4900}  MEM${color FF4900}%  ${color FF4900} CPU${color FF4900}%   ${color FF4900}PID   ${color FF4900}Name   
${color B30080}${top mem 1}       ${color 00B38C}${top cpu 1}     ${color 999000}${top pid 1}    ${color 4873B3}${top name 1}
${color B30080}${top mem 2}       ${color 00B38C}${top cpu 2}     ${color 999000}${top pid 2}    ${color 4873B3}${top name 2}
${color B30080}${top mem 3}       ${color 00B38C}${top cpu 3}     ${color 999000}${top pid 3}    ${color 4873B3}${top name 3}
${color B30080}${top mem 4}       ${color 00B38C}${top cpu 4}     ${color 999000}${top pid 4}    ${color 4873B3}${top name 4}
${color 4873B3}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

${color 6D9900}Downloads
${color FF4900}Wired ${color 6D9900}${downspeedf enp3s0}${color 6D9900} kB/s      
${color black}${downspeedgraph enp3s0 22,120 003000 6D9900}${color FF4900}|${color black}${downspeedgraph wlx001f3386b507 22,120 003000 00ff00}
${color FF4900}Total ${color 6D9900}${totaldown enp3s0}             ${color FF4900}Total ${color 6D9900}${totaldown wlx001f3386b507}

${color red}Uploads
${color FF4900}Wired ${color red}${upspeedf enp3s0}${color red} kB/s       
${color black}${upspeedgraph enp3s0 22,120 300001 ff0000}${color FF4900}|${color black}${upspeedgraph wlx001f3386b507 22,120 300001 ff0000}
${color FF4900}Total ${color red}${totalup enp3s0}            ${color FF4900}Total ${color red}${totalup wlx001f3386b507}
]]
2 Likes

own_window_type = ‘normal’ is a separate window

Pretty hard to argue with Brenden Matthews! :grin:

2 Likes

I look at this conky and i can´t find really anything, that helps me with my problem.

I use XFCE btw.

To be sure, could you give the result of this ?

conky -v && lua -v