Conky on top of apps when switching workspaces

So about why i use conky-manager is because i’m new to all this so this is (for me) the best place to start

As far as i know the command used by conky-manager is conky -c .config/conky/Mirach/Mirach.conf &> /dev/null (where Mirach is the name of my theme) (so it may be the reason why my config is incomplete for you) and as far as i know the Mirach.conf is the only thing that approach a .conkyrc file

I’ve tested this command with own_window_type = 'desktop' and on change of workspaces there is nothing outputted by conky, so it work but same problem when switching workspaces

When i test the command with own_window_type = 'override' (suggested by ivanhoe) there is this error [1] 9771 IOT instruction (core dumped) conky -c .config/conky/Mirach/Mirach.conf &> /dev/null and cashes immediately

I don’t use Xwayland i use X11 (this is different right ?) so i’ve not tested what you says after this

Again thanks for the help and tell me if you need anything more that might help

I’ve read it but for gnome shell they advised to use own_window_type = 'desktop' and thats it. I guess it’s good then.

& > /dev/null is used by the software (Conkymanager) to escape with an error code = 0. No errors are displayed because they all disappear in nirvana. The error does not lie with the software but with you. :wink:
Therefore I had written that you start the Config itself in a terminal (without > /dev/null).

With it Conky becomes more talkative.

There must be other Luaskripts in your Conky package. Are these paths correct? You say something has been renamed!

I am now unsure if Conky works basically or not or only on a desktop. The thread is a bit mixed up. :roll_eyes:

If you want to use only one config is an edited version of the original under
/$HOME/.config/conky/
is correct.

INFO:
But you can also run many conkys e.g.

/$HOME/x1.conkyrc
/$HOME/y2.conkyrc
/$HOME/z3.conkyrc

ok to clarify if i run without &> /dev/null it doesn’t even start it just throws a bunch of errors (do you want them ?)
and for conky i’ve tested all window types they all work except override where it just craches
and to clarify again the problem is that conky is a top of everything when changing workspaces (see video conky bug showcase - YouTube)

i’m really new to conky (like 2 weeks old for me) so i don’t know how to launch it (with my config) wihout &> /dev/null because, as i said in first it just throws errors

if you want anymore info i’ve downloaded my theme here (https://www.gnome-look.org/p/1851356) and this (https://github.com/closebox73/applying-theme) to help me apply it

Not me, WE.
Just show.
Paste, highlight and then Ctrl+e here in the forum.

The errors it throws are the information that might let us figure out what is going on. Also - the additional file that is placed on your system containing the lua script would also be needed for trying it out. Perhaps an example conky or 2 from those of us running them might help clarify too. As I mentioned earlier, I run with 19 or 20 different conkys all the time - and none of them do this! They indlude weather from multiple locations, scrolling lists of games to watch and updates to come, music player interaction, astrological info, and temp and size info on drives and chips along with core workloads on the CPU.

I am running on XFCE, though - dropped Gnome years ago - so they may have a Gnome difficulty I don’t know of…

Post those errors as text between triple backticks (`), maybe we can speculate with more info!

Good luck…

1 Like

Sorry i don’t have access to my pc then and right now i will give them to you later
Again sorry

sorry didn’t have my laptop but here there are

conky: window type - desktop
conky: drawing to created window (0x2200002)
conky: drawing to double buffer
conky: llua_load: /home/nissya/.config/conky/Mirach/scripts/rings-v1.2.1.lua:66: module 'cairo' not found:
	no field package.preload['cairo']
	no file '/usr/share/lua/5.4/cairo.lua'
	no file '/usr/share/lua/5.4/cairo/init.lua'
	no file '/usr/lib/lua/5.4/cairo.lua'
	no file '/usr/lib/lua/5.4/cairo/init.lua'
	no file './cairo.lua'
	no file './cairo/init.lua'
	no file '/usr/lib/conky/libcairo.so'
	no file '/usr/lib/lua/5.4/cairo.so'
	no file '/usr/lib/lua/5.4/loadall.so'
	no file './cairo.so'
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value

The last line just spams every second


killall conky
sleep 2s
		
conky -c $HOME/.config/conky/Mirach/Mirach.conf &> /dev/null &

exit

And this is the start.sh where i found the command

You need cairo, as it is a needed dependency as it seems.

Yeah so i’ve installed cairo and now the conky show himself BUT the console still shows

conky: window type - desktop
conky: drawing to created window (0xa00002)
conky: drawing to double buffer
conky: llua_load: /home/nissya/.config/conky/Mirach/scripts/rings-v1.2.1.lua:66: module 'cairo' not found:
	no field package.preload['cairo']
	no file '/usr/share/lua/5.4/cairo.lua'
	no file '/usr/share/lua/5.4/cairo/init.lua'
	no file '/usr/lib/lua/5.4/cairo.lua'
	no file '/usr/lib/lua/5.4/cairo/init.lua'
	no file './cairo.lua'
	no file './cairo/init.lua'
	no file '/usr/lib/conky/libcairo.so'
	no file '/usr/lib/lua/5.4/cairo.so'
	no file '/usr/lib/lua/5.4/loadall.so'
	no file './cairo.so'
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value

But i’m sure that cairo is installed (using sudo pacman -Sy cairo)
Sorry but i don’t know where the problem is

1 Like

The error-messages you posted above are showing the problem exactly.

Most likely, lua is also not installed yet.

sudo pacman -Syu lua …and reboot.

Then see if the missing files are there, or not.

:v:

ok so lua is installed and i have reboot my pc

conky: window type - desktop
conky: drawing to created window (0x1e00002)
conky: drawing to double buffer
conky: llua_load: /home/nissya/.config/conky/Mirach/scripts/rings-v1.2.1.lua:66: module 'cairo' not found:
	no field package.preload['cairo']
	no file '/usr/share/lua/5.4/cairo.lua'
	no file '/usr/share/lua/5.4/cairo/init.lua'
	no file '/usr/lib/lua/5.4/cairo.lua'
	no file '/usr/lib/lua/5.4/cairo/init.lua'
	no file './cairo.lua'
	no file './cairo/init.lua'
	no file '/usr/lib/conky/libcairo.so'
	no file '/usr/lib/lua/5.4/cairo.so'
	no file '/usr/lib/lua/5.4/loadall.so'
	no file './cairo.so'
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value

And now the error that was solved by installing cairo is back

sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found
sh: line 1: jq: command not found

(the error in question)

To investigate any further, you’re on your own. I can’t look into your computer from here. Try to re-install cairo and look for the files physically, if they are somewhere else you can adjust the paths in the script.

If you have a look in the back posts here, I uploaded/posted a weather conky setup that you might find simpler to get going properly. BTW - the jq mentioned is a way of extracting data from json data - so if it isn’t installed that could be a problem…