Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] conky fails to load because of missing fonts
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 176

PostPosted: Thu Oct 15, 2020 6:59 pm    Post subject: [SOLVED] conky fails to load because of missing fonts Reply with quote

Hi,

conky fails to start on my system:

Code:

conky: desktop window (79c) is root window
conky: drawing to desktop window
conky: drawing to double buffer
conky: forked to background, pid is 27996

conky: can't load font '6x10'
conky: can't load font 'fixed'


USE flag truetype is set and

query list "*" |grep "font"

shows
Code:

app-eselect/eselect-fontconfig-1.1-r1
media-fonts/corefonts-1-r7
media-fonts/dejavu-2.37
media-fonts/encodings-1.0.5-r1
media-fonts/font-adobe-100dpi-1.0.3-r2
media-fonts/font-adobe-75dpi-1.0.3-r2
media-fonts/font-alias-1.0.4
media-fonts/font-misc-misc-1.1.2-r2
media-fonts/font-util-1.3.2-r1
media-fonts/freefonts-0.10-r4
media-fonts/urw-fonts-2.4.9
media-libs/fontconfig-2.13.1-r2
virtual/ttf-fonts-1-r1
x11-apps/mkfontscale-1.2.1
x11-apps/xfontsel-1.0.6
x11-libs/libXfont2-2.0.4
x11-libs/libfontenc-1.1.4


xorg.log shows that
Code:

    27.029] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/


is set. other than that all seems fine.

Any Idea what went south? :(


Last edited by saski4711 on Sat Oct 17, 2020 10:22 am; edited 1 time in total
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 629

PostPosted: Thu Oct 15, 2020 7:53 pm    Post subject: Re: conky fails to load because of missing fonts Reply with quote

saski4711 wrote:
Any Idea what went south? :(

AFAIK, the fonts available for conky are checking so:
Code:
fc-cache -f -v
fc-list | grep -i desired_font

(The first command regenerates the font cache.)
Back to top
View user's profile Send private message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 176

PostPosted: Sat Oct 17, 2020 6:37 am    Post subject: Re: conky fails to load because of missing fonts Reply with quote

halcon wrote:
saski4711 wrote:
Any Idea what went south? :(

AFAIK, the fonts available for conky are checking so:
Code:
fc-cache -f -v
fc-list | grep -i desired_font

(The first command regenerates the font cache.)


Okay I tried fc-cache -f -v apparently it regenerated the font cache.

fc-list | grep -i "fixed" shows:
Code:

/usr/share/fonts/misc/5x7.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/6x13O-ISO8859-1.pcf.gz: Misc Fixed:style=Oblique SemiCondensed
/usr/share/fonts/misc/6x13B.pcf.gz: Misc Fixed:style=Bold SemiCondensed
/usr/share/fonts/misc/6x12-ISO8859-1.pcf.gz: Misc Fixed:style=SemiCondensed
/usr/share/fonts/misc/6x12.pcf.gz: Misc Fixed:style=SemiCondensed
/usr/share/fonts/misc/8x13O.pcf.gz: Misc Fixed:style=Oblique
/usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz: Misc Fixed:style=SemiCondensed
/usr/share/fonts/misc/10x20.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/9x15B.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/7x13.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/6x9.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/9x15B-ISO8859-1.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/18x18ko.pcf.gz: Misc Fixed Wide:style=ko
/usr/share/fonts/misc/6x13B-ISO8859-1.pcf.gz: Misc Fixed:style=Bold SemiCondensed
/usr/share/fonts/misc/7x14.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/6x13O.pcf.gz: Misc Fixed:style=Oblique SemiCondensed
/usr/share/fonts/misc/7x13O.pcf.gz: Misc Fixed:style=Oblique
/usr/share/fonts/misc/9x18B.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/12x13ja.pcf.gz: Misc Fixed Wide:style=ja
/usr/share/fonts/misc/8x13O-ISO8859-1.pcf.gz: Misc Fixed:style=Oblique
/usr/share/fonts/misc/7x13O-ISO8859-1.pcf.gz: Misc Fixed:style=Oblique
/usr/share/fonts/misc/7x14B-ISO8859-1.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/18x18ja.pcf.gz: Misc Fixed Wide:style=ja
/usr/share/fonts/misc/6x13.pcf.gz: Misc Fixed:style=SemiCondensed
/usr/share/fonts/misc/6x9-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/4x6.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/7x14B.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/8x13B.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/9x18B-ISO8859-1.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/9x18-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/9x18.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/8x13-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/8x13B-ISO8859-1.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/9x15.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/4x6-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/7x13-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/10x20-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/6x10.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/9x15-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/7x13B.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/6x10-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/7x14-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/5x7-ISO8859-1.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/7x13B-ISO8859-1.pcf.gz: Misc Fixed:style=Bold
/usr/share/fonts/misc/8x13.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/5x8.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/5x8-ISO8859-1.pcf.gz: Misc Fixed:style=Regular


and fc-list | grep -i "6x10"
Code:

/usr/share/fonts/misc/6x10.pcf.gz: Misc Fixed:style=Regular
/usr/share/fonts/misc/6x10-ISO8859-1.pcf.gz: Misc Fixed:style=Regular


so it seems that some fonts are there :(. Still conky refuses to launch.
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 629

PostPosted: Sat Oct 17, 2020 9:56 am    Post subject: Re: conky fails to load because of missing fonts Reply with quote

saski4711 wrote:
so it seems that some fonts are there :(. Still conky refuses to launch.

What if you try this?
Code:
font = 'Misc Fixed:size=10',
Back to top
View user's profile Send private message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 176

PostPosted: Sat Oct 17, 2020 10:22 am    Post subject: Re: conky fails to load because of missing fonts Reply with quote

halcon wrote:
saski4711 wrote:
so it seems that some fonts are there :(. Still conky refuses to launch.

What if you try this?
Code:
font = 'Misc Fixed:size=10',


Turned out I needed to include

Code:

    use_xft = true,


in my config. Strange I took the config file from another gentoo machine and there it works without this flag.

Anyway thanks for the help! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum