jxai / lean-conky-config

Lean Conky config that just works
MIT License
121 stars 30 forks source link

lean-conky closes when I click on the desktop #1

Closed mexsudo closed 3 years ago

mexsudo commented 3 years ago

lean-conky closes when I click on the desktop running Debian Bullseye Mate. installed lean-conky from the Excellent instructions in your Wiki README.md I have made no changes everything works just great but lean-conky closes when I click on any free space on the desktop it restarts with no issue what can I do on my end?

Thanks!

jxai commented 3 years ago

@mexsudo how do you start conky with LCC? Also, do you have this issue with other conky configs?

scamdotnet commented 3 years ago

I also have this same issue, on my raspberry pi 400 running raspberry pi os. I installed conky using pi-apps, which came with a default config, which didn't have this issue. For me conky is started automatically by the script provided in the pi-apps version of conky.

jxai commented 3 years ago

Start from console:

conky -c /path/to/lean-conky-config/conky.conf

When the issue occurs and Conky closes by itself, do you see any informative log?

scamdotnet commented 3 years ago
conky -c /path/to/lean-conky-config/conky.conf

it appears the proccess doesn't close, it just hides the window, and no messages appear in the log. There are some messages, but they show up before i click on the desktop. Here they are:

$ conky -c .config/conky/conky.conf
conky: warning: invalid head index, ignoring head settings
conky: warning: invalid head index, ignoring head settings
conky: desktop window (e00003) is subwindow of root window (372)
conky: window type - desktop
conky: drawing to created window (0x4000002)
conky: drawing to double buffer
jxai commented 3 years ago

@scamdotnet What is the your desktop environment and version? and conky version?

scamdotnet commented 3 years ago

@scamdotnet What is the your desktop environment and version? and conky version?

LXDE 10, and Conky 1.10.8

jxai commented 3 years ago

@scamdotnet It is a known issue of Conky on LXDE, not LCC's, please check out the discussion here.

@mexsudo Not sure if the cause of your issue is the same, I didn't test on MATE, you might try Conky's default config:

conky -c /etc/conky/conky.conf

If you have the same issue, then Conky doesn't play well with your desktop environment.

jxai commented 3 years ago

@scamdotnet What is the your desktop environment and version? and conky version?

LXDE 10, and Conky 1.10.8

Should be fixed now.

mexsudo commented 3 years ago

Pardon me for not responding earlier. I use a Mate toolbar launcher: /home/peter/.config/conky/lean-conky-config-master/start.sh I just download the ZIP again it is now working as expected. Thanks.

eddybeliveau commented 1 year ago

Hi! I am using the leatest LCC, it work well on Ubuntu 22.04.2 LTS. Thanks I copied the local.conf.example to local.conf and try to custom it.
but I cannot find the way to add the lsb_release on the kernel line

Where can I find the source of the lcc.panel 'system' component ? or can I custom the 'system' component panel directly in local.conf

I would like to obtain the equivalent of: $(kernel) $(execi 999999 lsb_release -ds) $(alignr) $(machine)

sorry for the parenthesis, I don't have the correct character on this keyboard.

Thanks and have a nice day

eddybeliveau commented 1 year ago

Solution: edit $HOME/.config/conky/lib/components/core.lua replace the kernel line within llc.tpl.system section by ${font}${sysname} ${kernel} ${execi 999999 lsb_release -ds}${alignr}${machine}

restart conky and voila!