You are not logged in.

#1 2009-06-30 14:53:28

JJwalker
Member
Registered: 2008-07-05
Posts: 17

can't change font in conky

I'm using conky with fluxbox. The system is not yet fully operational, i'm trying to get it to look the way i want, so i want to change conky font. I can see my font in fc-list, but i'm unable to see it in conky. conky.conf looks like this:

use_xft yes
# xft font when Xft is enabled
xftfont Courier caps:size=7
override_utf8_locale yes

But the font conky displays is not Courier. If i change the size, though, it works - the fonts stays default but the size changes.
I'm beginning to think that Xft is not enabled, but i don't know how to enable it in Fluxbox. Any suggestions?

Offline

#2 2009-06-30 14:57:52

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: can't change font in conky

Have you tried setting up other fonts? DejaVu Sans for example.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-06-30 15:03:41

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: can't change font in conky

Hmm I use it like this in conky for each separate fields:~

${alignc 10}${font OpenLogos:size=50}B${font}

Last edited by sHyLoCk (2009-06-30 15:04:44)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2009-07-01 07:58:39

JJwalker
Member
Registered: 2008-07-05
Posts: 17

Re: can't change font in conky

Seems i cant use xft fonts at all. I can only use x-fonts (like  -misc-*-*-*-*-*-*-200-*-*-*-*-*-*). So how do i enable xft fonts? Fluxbox wiki says i need libfxt, but i have libxft installed. m?

Offline

#5 2009-07-01 08:24:54

JJwalker
Member
Registered: 2008-07-05
Posts: 17

Re: can't change font in conky

Ah....seems i got it all wrong. Sorry guys, you were right. looks like i  used  xftfont names uncorrectly. my conf should look like

use_xft yes
# xft font when Xft is enabled
xftfont Courier:7
override_utf8_locale yes

but i didnt get how ot make them capped. but i'll manage

Offline

#6 2009-07-01 09:07:32

lunch_box
Member
Registered: 2008-10-21
Posts: 16

Re: can't change font in conky

If you want the conky text to display in all caps just add the following above the "TEXT" line in your config:

uppercase yes

Offline

Board footer

Powered by FluxBB