WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Change font in conky  (Read 5946 times)

Offline SixT7

  • Newbie
  • *
  • Posts: 35
Change font in conky
« on: June 06, 2010, 12:59:30 PM »
Hi,
I tried to use the font "Radio Space Italic" In my conky to display the time but when I try to use that font, conky just gives me the error:

Conky: can't load font 'Radio Space Italic'

The font is installed in ~/.fonts and I can even use it with opera. I already tried
fc-cache -f -v ~/.fonts
and it said it updated something but I still get the same error.

Here's my conky config file:

Code: [Select]
background no
use_xft no
xftfont Bitstream Vera Sans Mono:size=10
xftalpha 0.8
update_interval 3.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour hotpink
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
#double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_graph_borders yes
stippled_borders 8
#border_margin 4
border_width 1
maximum_width 155
default_color darkgrey
default_shade_color black
default_outline_color black
#alignment top_right
#alignment bottom_right
#alignment bottom_left
alignment top_left
gap_x 4
gap_y 4
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer none

TEXT
${font Radio Space Italic:size=30}${time %A %d %Y}
${font Radio Space}${time %H:%M}

Battery: $battery
#${nodename}: ${uptime_short}

${color #5b6dad}CPU: ${color grey}$cpu%
${color #5b6dad} ${cpugraph 16,140 000000 7f8ed3}
${color #5b6dad}RAM: $color$mem/$memmax
${color #5b6dad} ${membar 6,140}
${color #5b6dad}Swap:$color$swap/$swapmax
${color #5b6dad} ${swapbar 6,140}

${color #5b6dad}WLan0 Down: $color${downspeed wlan0}${alignr} k/s
${color #5b6dad} ${downspeedgraph wlan0 16,140 000000 7f8ed3 150}
${color #5b6dad}WLan0 Up:   $color${upspeed wlan0}${alignr} k/s
${color #5b6dad} ${upspeedgraph wlan0 16,140 000000 7f8ed3 18}

#${color #5b6dad}File systems:
#${color #5b6dad}/       $color${fs_free /}
#${color #5b6dad} ${fs_bar 6,140 /}
#${color #5b6dad}storage $color${fs_free /mnt/storage}
#${color #5b6dad} ${fs_bar 6,140 /mnt/storage}
#
${color #5b6dad}Processes:$color $processes | $running_processes
${color} Cpu usage          CPU
${color #ddaa00} ${top name 1}${offset -1} ${top cpu 1}
${color #5b6dad} ${top name 2}${offset -1} ${top cpu 2}
${color #5b6dad} ${top name 3}${offset -1} ${top cpu 3}
${color #5b6dad} ${top name 4}${offset -1} ${top cpu 4}

${color} Mem usage          MEM
${color #ddaa00} ${top_mem name 1}${offset -1} ${top_mem mem 1}
${color #5b6dad} ${top_mem name 2}${offset -1} ${top_mem mem 2}
${color #5b6dad} ${top_mem name 3}${offset -1} ${top_mem mem 3}
${color #5b6dad} ${top_mem name 4}${offset -1} ${top_mem mem 4}

#${color #5b6dad} Connections  
#${color #5b6dad} In: ${tcp_portmon 1 32767 count}  Out: ${tcp_portmon 32768 61000 count}${alignr}
#

Any ideas?

Thanks, SixT7

EDIT:

Code: [Select]
tc@box:~$ conky -v
Conky 1.8.0 compiled Sat Apr  3 12:42:24 UTC 2010 for Linux 2.6.29.1-tinycore (i686)
[...]
tc@box:~$ version
tinycore_2.11
« Last Edit: June 07, 2010, 06:50:37 PM by SixT7 »