jxai / lean-conky-config

Lean Conky config that just works
MIT License
126 stars 31 forks source link

Icons not showing #19

Open butterdori opened 1 year ago

butterdori commented 1 year ago

image

I double checked and the fonts are properly installed. However, they do not appear.

jxai commented 1 year ago

What Linux distro do you use? Also the version of the OS and Conky?

butterdori commented 1 year ago

It's latest arch rolling with 6.5.7 kernel. Conky is 1.18.1-2.

maherma-adg commented 1 year ago

I had the same problem on Manjaro. I check font is loaded on system and can use it on other programs.

IMHO there is a problem with font checking, I can workaround to show icons disabling it.

Edit conky.conf and replace

local s = utils.sys_call('fc-list -f "%{family[0]}" "' .. font .. '"', true)

by

-- local s = utils.sys_call('fc-list -f "%{family[0]}" "' .. font .. '"', true)
local s = {"q"}

And all icons showing now.

rafiksemaan commented 11 months ago

I had the same problem on Manjaro. I check font is loaded on system and can use it on other programs.

IMHO there is a problem with font checking, I can workaround to show icons disabling it.

Edit conky.conf and replace

local s = utils.sys_call('fc-list -f "%{family[0]}" "' .. font .. '"', true)

by

-- local s = utils.sys_call('fc-list -f "%{family[0]}" "' .. font .. '"', true)
local s = {"q"}

And all icons showing now.

It shows just squares !!

maherma-adg commented 11 months ago

@rafiksemaan check the font is loaded and you can see it correctly with another application ( I test it with fontviewer )

ChaosInfinited commented 5 months ago

In my case on arch I had to remove this line: https://github.com/jxai/lean-conky-config/blob/27aeeb9c793ad3da8d1da9b777522eef9000e2df/conky.conf#L144

https://github.com/jxai/lean-conky-config/issues/14