You are not logged in.

#1 2009-10-11 22:01:40

umpalumpa1985
Member
From: America
Registered: 2007-12-05
Posts: 134

boxes in conky

So i've got this fuzzy clock setup for conky, but at the end of each line there are boxes like when you don't have a font installed.  Any help in getting them to go away would be great.  Screenshot and .conkyrc below

http://imgur.com/A29RH.png

own_window no
use_xft yes
xftfont freemono:size=20
xftalpha .1
update_interval 15.0
uppercase yes
double_buffer yes
default_color ffffff
color1 222222
TEXT
${color}I T ${color1}L ${color}I S ${color1}A S T I M E
${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}Q U A R T E R ${color1}D C
${if_match ${exec date +"%M"} >= 20}${if_match ${exec date +"%M"} < 30}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} >= 25}${if_match ${exec date +"%M"} < 30}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 5}${if_match ${exec date +"%M"} < 10}${color}${endif}${endif}F I V E ${color1}X
${if_match ${exec date +"%M"} >= 30}${if_match ${exec date +"%M"} < 35}${color}${endif}${endif}H A L F ${color1}B ${if_match ${exec date +"%M"} >= 10}${if_match ${exec date +"%M"} < 15}${color}${endif}${endif}T E N ${color1}F T O
${else}${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}Q U A R T E R ${color1}D C
${if_match ${exec date +"%M"} >= 35}${if_match ${exec date +"%M"} < 45}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} < 40}${if_match ${exec date +"%M"} >= 35}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 55}${color}${endif}F I V E ${color1}X
H A L F B ${if_match ${exec date +"%M"} >= 50}${if_match ${exec date +"%M"} < 55}${color}${endif}${endif}T E N ${color1}F ${color}T O${color1}
${endif}${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} > 5}${color}${endif}${endif}P A S T ${color1}E R U ${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}E I G H T ${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif}E L E V E N
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}S E V E N ${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}T W E L V E
${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif}T E N ${else}${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}E I G H T${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif} E L E V E N
${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S E V E N${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif} T W E L V E
${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}T E N ${endif}${color1}S E ${if_match ${exec date +"%M"} < 5}${color}${endif}O C L O C K

Never interrupt your enemy when he's making a mistake.    ~Napoleon Bonaparte

Offline

#2 2009-10-12 06:12:39

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: boxes in conky

I think it has something to do with forcing UTF-8 in Conky, but I'm not a 100% about that. You should try setting it though and see if it goes away.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-10-12 23:12:10

umpalumpa1985
Member
From: America
Registered: 2007-12-05
Posts: 134

Re: boxes in conky

will try, thanks.


Never interrupt your enemy when he's making a mistake.    ~Napoleon Bonaparte

Offline

#4 2009-10-12 23:51:54

umpalumpa1985
Member
From: America
Registered: 2007-12-05
Posts: 134

Re: boxes in conky

I tried both override_utf8_locale no and override_utf8_locale yes with no luck.  Is this the option you were talking about?

Also locale is set in rc.conf as LOCALE="en_US.utf8" but when i echo $LOCALE i get a blank return. . .?

Last edited by umpalumpa1985 (2009-10-12 23:54:48)


Never interrupt your enemy when he's making a mistake.    ~Napoleon Bonaparte

Offline

#5 2009-10-13 00:03:51

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: boxes in conky

$ echo $LANG
nl_BE.utf8
override_utf8_locale yes

is indeed the option I'm talking about. Maybe you should check in with the conky guys on IRC, it's been ages since I had this problem, I thought this was related, but I might be wrong smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-10-13 00:14:19

umpalumpa1985
Member
From: America
Registered: 2007-12-05
Posts: 134

Re: boxes in conky

Thanks for the clear up on $LANG ha ha ha.  And seeing how the option didn't work, i will indeed ask on the irc.  Thanks for the help


Never interrupt your enemy when he's making a mistake.    ~Napoleon Bonaparte

Offline

Board footer

Powered by FluxBB