You are not logged in.

#1 2020-08-20 20:05:37

kelnoky
Member
Registered: 2007-11-20
Posts: 135

Conky not updating properly (xmonad and dzen2)

I have been using conky and dzen2 for my status bar in xmonad for ages. But recently my one bar (for date, mpd, cpu temp etc) stopped working. I found out that conky changed its config file syntax and I found a tool that migrated my config to the new syntax. After a few simple corrections, it started again. However, now it's broken in the sense that it doesn't update itself anymore (very easily visible via the seconds counter...) - but only as long as there is no windows in fullscreen/tiled or if I am on an empty workspace. As soon as I move the window of a workspace to floated the bar updates properly again. There is now also a part of my config content in white font near the bottom of my screen just sitting there, it's very confusing. I hope you guys can help me fix this mess. Here are the relevant configs:

Xmonad.hs: https://bpa.st/OZAA (the relevant part is the conky command in "myStatusBar" I guess)
conky config: https://bpa.st/2HKA
Terminal output if I launch conky manually: https://bpa.st/FPDA
Screenshot of text at bottom: https://i.imgur.com/qnVBU8C.png

Last edited by kelnoky (2020-08-24 21:39:49)

Offline

#2 2020-08-20 23:13:05

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Conky not updating properly (xmonad and dzen2)

The error you are getting says "conky: one or more $endif's are missing" -- you have this in in your conky config: "${if_existing /proc/net/route enp5s0}" and no following endif. I know very little about the conky lua syntax, so I have no idea if this is causing any of your problems, but you should probably start by fixing that.

Offline

#3 2020-08-21 06:17:59

kelnoky
Member
Registered: 2007-11-20
Posts: 135

Re: Conky not updating properly (xmonad and dzen2)

Alright, I took out that whole line containing the if_existing, restarted and that particular error has vanished. However, the other problems still persist exactly as before.

Offline

#4 2020-09-25 19:10:51

kelnoky
Member
Registered: 2007-11-20
Posts: 135

Re: Conky not updating properly (xmonad and dzen2)

Alright. I fixed it. I still had "out_to_x=no" in my config. I set it to "false" instead and that fixed everything. The script didn't take care of that one apparently.

Offline

Board footer

Powered by FluxBB