WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Conky Font (not plus)  (Read 2078 times)

Offline KHarvey

  • Full Member
  • ***
  • Posts: 102
Conky Font (not plus)
« on: October 13, 2011, 03:32:30 PM »
I am fairly new to TC, and currently I am trying to build up a workable system.  So far I think I am doing pretty good, except I ran into a very slight problem with Conky.
I pretty much have my config file the way that I want it, except I want to increase the font size, and bolden a couple of words.  Now I have not installed Conky_Plus as I don't want to add another 180K of Conky.

So what I am trying to do is ${font Vera:size=17} but every time I do that I receive a "Conky: can't load font 'Vera:size=17'".  It doesn't matter to me whether I use Vera or not, I just don't know what the default font Conky is using, especially since XFT is disabled. 

Does anyone know what the default font is, or how I can change the size of the font without installing Conky_Plus?  Or rather if it is even possible?

If anyone is interested here is my conkyrc that I am using.  Nothing real special.
Quote
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <>.
#
#External IP: $alignr ${execi 3600 wget -O -  | tail}

alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
#double_buffer yes
#use_xft yes
#xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 60
maximum_width 300
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no


TEXT
$alignc ${font Vera:size=17}${color green}$nodename${color}${font}
${voffset -7}
#$alignc ${exec cal}
${time %a %d %b} $alignr ${time %H:%M:%S %Z %z}
Uptime: $alignr $uptime
$alignc ${color green}Performance
$hr ${color}
${voffset -7}
${if_existing /proc/acpi/battery/BAT0/state}${if_match ${battery_percent BAT0} > 50}${color yellow}Battery: ${battery_percent BAT0}%  ${battery_time BAT0} ${battery_bar 7 BAT0}${color}$else${color red}Battery: ${battery_percent BAT0}%  ${battery_time BAT0} ${battery_bar 7 BAT0}${color}${endif}${endif}

${if_match $cpu > 50}${color red}CPU: $cpu% ${cpubar 7}${color}$else${color cyan}CPU: $cpu% ${cpubar 7}${color}${endif}

${if_match $memperc > 50}${color red}Mem: $memperc% ${membar 7}
$alignc $mem / $memmax${color}$else${color orange}Mem: $memperc% ${membar 7}
$alignc $mem / $memmax${color}${endif}
${color cyan}CPU${color} $alignr ${color orange}Memory${color}
${cpugraph cpu0 25,100 ffcc00 ff0000} $alignr ${memgraph mem 25,100 ffcc00 ff0000}
${color 0000ff}Read I/O $diskio_read ${color} $alignr ${color red}Write I/O $diskio_write ${color}
${diskiograph_read 25,100 33ffcc 000099} $alignr ${diskiograph_write 25,100 ffcc00 ff0000}
$alignc ${color green}File System
$hr ${color}
${voffset -7}
${if_match $fs_used_perc > 80}${color red}FS:  $fs_used_perc% ${fs_bar 7}
$alignc ${fs_used} / ${fs_size}${color}${else}FS:  $fs_used_perc% ${fs_bar 7}
$alignc ${fs_used} / ${fs_size}${endif}
${voffset -7}
${if_match $swapperc > 80}${color red}Swap: $swapperc% ${swapbar 7}
$alignc $swap / $swapmax${color}${else}Swap: $swapperc% ${swapbar 7}
$alignc $swap / $swapmax${endif}
${voffset -7}
$alignc ${color green}Network
$hr ${color}
${voffset -7}
${if_up eth0}eth0: IP ${addr eth0} $alignr GW ${gw_ip eth0}
${voffset -7}
${color 0000ff}${downspeed eth0}  ${totaldown eth0}${color} $alignr ${color red}${upspeed eth0}  ${totalup eth0}${color}
${downspeedgraph eth0 25, 100 33ffcc 000099}  $alignr ${upspeedgraph eth0 25, 100 ffcc00 ff0000} ${endif}
${if_up wlan0}}$alignc wlan0: IP ${addr wlan0} $alignr GW ${gw_ip wlan0}
ESSID: ${wireless_essid wlan0} $alignc Signal: ${wireless_link_qual_perc wlan0}% $alignr Speed: ${wireless_bitrate wlan0}
${color 0000ff}${downspeed wlan0}  ${totaldown wlan0}${color} $alignr ${color red}${upspeed wlan0}  ${totalup wlan0}${color}
${downspeedgraph wlan0 25, 100 33ffcc 000099}  $alignr ${upspeedgraph wlan0 25, 100 ffcc00 ff0000} n${endif}
${voffset -7}
DNS: ${nameserver 0} $alignr ${nameserver 1}
Connected IP $alignr Connected Port
${tcp_portmon 1 65535 rip 0} $alignr ${tcp_portmon 1 65535 rport 0}
${tcp_portmon 1 65535 rip 1} $alignr ${tcp_portmon 1 65535 rport 1}
${tcp_portmon 1 65535 rip 2} $alignr ${tcp_portmon 1 65535 rport 2}
${tcp_portmon 1 65535 rip 3} $alignr ${tcp_portmon 1 65535 rport 3}
${tcp_portmon 1 65535 rip 4} $alignr ${tcp_portmon 1 65535 rport 4}
$alignc ${color green}Processes
$hr ${color}
${color blue}$processes${color} started and ${color blue}$running_processes${color} active with ${color blue}$freq MHz${color}
${exec cat /proc/cpuinfo | grep 'model name' | cut -d ":" -f2}
${voffset -7}
${color grey}Process Name $alignc       PID $alignr CPU %${color}
${top name 1} $alignc ${top pid 1} $alignr ${top cpu 1}
${top name 2} $alignc ${top pid 2} $alignr ${top cpu 2}
${top name 3} $alignc ${top pid 3} $alignr ${top cpu 3}
${voffset -7}
${color grey}Process Name $alignr Mem %${color}
${top_mem name 1} $alignr ${top_mem mem 1}
${top_mem name 2} $alignr ${top_mem mem 2}
${top_mem name 3} $alignr ${top_mem mem 3}

Sorry I didn't use code tags, but every time I did it told me I can't post external links