You are not logged in.

#1 2008-01-17 17:48:48

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Conky isn't able to use my fonts

Hi. smile  I installed conky and setup ~/.conkyrc in which I set use_xft to yes and specified an XFT font to use — however, conky doesn't seem to use that font — no matter what font I specify there I get some default, proportional font.  If I ask for DejaVu Sans Mono font, I get some kind of monospaced font, which is still not the DejaVu one.

Contents of my ~/.conkyrc:

alignment top_right
gap_y 0
update_interval 1
draw_shades no
draw_outline no
draw_borders no
stippled_borders 2
cpu_avg_samples 2
default_color 222222
default_shade_color 202020
default_outline_color 000000
no_buffers yes
uppercase no
double_buffer yes
own_window yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_transparent yes
own_window_colour 000000
override_utf8_locale yes
use_xft yes
xftfont Dejavu Sans Mono:size=8
pad_percents 3

TEXT
Load: ${loadavg}  Up: ${uptime}
CPU: ${cpu}% ${cpubar 6 200}
MEM: ${memperc}% ${membar 6 200}
Swp: ${swapperc}% ${swapbar 6 200}
Down: ${downspeedf eth0} kB/s${alignr}Up: ${upspeedf eth0} kB/s

Offline

#2 2008-01-17 21:21:06

nDray
Member
From: Portugal
Registered: 2007-01-21
Posts: 143
Website

Re: Conky isn't able to use my fonts

check your xorg font path, if it includes TTF,
Run mkfontdir afterwards, just in case...

Offline

#3 2008-01-18 20:33:36

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Conky isn't able to use my fonts

My xorg.conf contains this:

Section "Files"
    RgbPath  "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/local"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/artwiz-fonts"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/encodings"
    FontPath "/usr/share/fonts/misc"
EndSection

I went to /usr/share/fonts/TTF and ran mkfontdir while there and rebooted, but nothing's changed...

Offline

#4 2008-01-18 21:00:40

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Conky isn't able to use my fonts

I doubt it's to blame, but technically the 'v' in DejaVu is supposed to be capitalized.  It's the only thing that looks unusual in your config.  Otherwise, I'd just make sure you have the ttf-dejavu package installed.


thayer williams ~ cinderwick.ca

Offline

#5 2008-01-19 10:46:24

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Conky isn't able to use my fonts

I changed it to DejaVu in .conkyrc and double-checked that I've got ttf-dejavu installed, even re-installed the package, but still to no avail. sad

Offline

Board footer

Powered by FluxBB