Conky fonts [SOLVED]

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dox_drum

Conky fonts [SOLVED]

Post by dox_drum »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
soccerz619

Re: Conky fonts

Post by soccerz619 »

"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.
User avatar
Oscar799
Level 20
Level 20
Posts: 10411
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Conky fonts

Post by Oscar799 »

Moved here by moderator
Image
dox_drum

Re: Conky fonts

Post by dox_drum »

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

Re: Conky fonts [SOLVED]

Post by dox_drum »

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
Locked

Return to “Compiz, Conky, Docks & Widgets”