Conky fonts [SOLVED]

Forum rules
Before you post please read this

Conky fonts [SOLVED]

Postby dox_drum on Sun Feb 26, 2012 7:54 am

Dear community,

I've been trying conky for a few weeks, and I like it very much. However, I try to change fonts and nothing happens.

  • How do I know the fonts installed for conky?
  • How could I install more fonts?
  • Is it possible to control the size? I tried but nothing!

Thank you for helping me.

DOX
Last edited by dox_drum on Thu Mar 01, 2012 9:18 am, edited 1 time in total.
dox_drum
Level 1
Level 1
 
Posts: 19
Joined: Wed Jan 11, 2012 8:36 am

Linux Mint is funded by ads and donations.
 

Re: Conky fonts

Postby soccerz619 on Sun Feb 26, 2012 9:43 am

"How do I know the fonts installed for conky?" -They should be the same fonts you have installed on your system. Open Appearance > fonts to see installed fonts.
"How could I install more fonts?" - Look on the internet for other fonts. this site has some you can check out.
"Is it possible to control the size? I tried but nothing!" - You need to look and find your conky.rc script and look for something like this
Code: Select all
${font caviar dreams:size=8}IP: ${addr wlan0}${font}
And where it says "Size" just make the number as big as you want it. Make sure to save your changes as well. Then, in a terminal, type
Code: Select all
killall conky
and then
Code: Select all
conky
to run it again and see if it fixed your changes. If this doesn't work, please post your .conkyrc file here so we can look at it.
Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing it is stupid.
Image
User avatar
soccerz619
Level 4
Level 4
 
Posts: 232
Joined: Mon Sep 05, 2011 10:05 pm

Re: Conky fonts

Postby Oscar799 on Tue Feb 28, 2012 12:19 pm

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8841
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Conky fonts

Postby dox_drum on Thu Mar 01, 2012 9:18 am

Hi guys! I could solve my problem.

It seems that I misses a couple of lines
Code: Select all
use_xft yes
xftfont 123:size=8


I've included the .conkyrc file in case some one is curious.

Thanks

DOX

.conkyrc
Code: Select all
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes

alignment tr
maximum_width 350     

use_xft yes
xftfont 123:size=8

#Couleurs
  default_color FFFFFF                  #Couleur par défaut
  default_shade_color 333333            #Couleur des ombres
  default_outline_color black           #Couleur des contours
 #---
  color1 D6D6D6                         #Argenté
  color2 006000                         #DarkGreen
  color3 484537                         #Gris

draw_shades no

#Prise en charge du LUA(CORRECT WITH YOUR PATH!!)
  lua_load ~/.conky/lua/clock.lua
  lua_draw_hook_pre clock_rings

TEXT
#$nodename - $sysname $kernel on $machine
#$hr
${color2}${offset 56}${voffset 3}${cpugraph cpu6 17,1}${voffset -3}${hr 2}${color2}

${voffset -27}${offset 110}${font  OldeEnglish:size=28}${time %H:%M}${font}
#${font Nimbus Mono L:size=9}$uptime
${voffset -5}${offset 110}${cpubar cpu6 0, 200}${voffset 2}${color1}
${font Nimbus Mono L:size=10 style=bold}${color2}${alignc} ${exec date +%B\ %Y | sed 's/^.\| [a-z]/\U&/g'}
${offset 156}${color FFFFFF}${exec JOUR=$(date +%e) ; cal | sed '1d' | sed 's/^/ /g' | sed 's/'" $JOUR"'/${color2}'" $JOUR"'${color1}/1'}${font size=8}
#${voffset 50}
${font}${color2}Uptime:$color $uptime
${color2}Frequency (in MHz):$color $freq
${color2}Frequency (in GHz):$color $freq_g
${color2}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color2}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color2}CPU Usage:$color $cpu% ${cpubar 6}
${color2}Processes:$color $processes  ${color grey}Running:$color $running_processes${font}
$hr
${color2}File systems:${color grey}
 / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}${color grey}
 /home $color${fs_free /home}/${fs_size /home} ${fs_bar 6 /home}
${color2}Networking:${color grey}
 Up:$color ${upspeed eth0}/s${color grey} - Down:$color ${downspeed eth0}/s
$hr
###############
# - BANSHEE - #
###############
#${voffset 40}
#${font Liberation Sans:style=Bold:size=8}
${if_running banshee}${color2}Banshee #$stippled_hr${font size=12}
${color}
 ${execi 10 banshee --query-artist}
 ${execi 10 banshee --query-title}
# ${execi 10 banshee --query-track-number}
 ${execi 10 banshee --query-album}
# ${execi 10 banshee --query-position}
$hr
${endif}
#Bitrate: $mpd_bitrate\n" "Progress: $mpd_bar
#${color grey}XMMS2: $xmms2_status $xmms2_artist - $xmms2_title from $xmms2_album
#Progress: $xmms2_bar
${font Aegean:size=12 style=bold}${color2}Name      PID   CPU%   MEM% ${font}
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
#${color lightgrey}
 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
#${color lightgrey}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
#${color lightgrey}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
#${tail /var/log/Xorg.0.log 3}";
dox_drum
Level 1
Level 1
 
Posts: 19
Joined: Wed Jan 11, 2012 8:36 am

Re: Conky fonts [SOLVED]

Postby dox_drum on Thu Mar 01, 2012 9:24 am

I'm sorry, I gave you the .conkyrc file but forgot the .conky folder (attached)

Additionally attached a picture on my desktop.

DOX

Screenshot.png
Screenshot.png (435.64 KiB) Viewed 620 times
Attachments
.conky.tar.gz
(9 KiB) Downloaded 49 times
dox_drum
Level 1
Level 1
 
Posts: 19
Joined: Wed Jan 11, 2012 8:36 am


Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 2 guests