Ubuntu

conky takes up half screen and dosent load new theme

Asked by mrcomputer on 2008-11-08

Ubuntu hardy 8.04 fully updated to date with conky also fuly updated gives a problem when i start conky, it takes up half the screen and never loads the setups i make.

here is what happens:

Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: can't load font 'arial'
Conky: unknown variable mail
Conky: unknown variable variable
Conky: unknown variable variable
Conky: unknown variable mail
Conky: unknown variable variable
Conky: unknown variable variable
Conky: desktop window (12000b5) is subwindow of root window (87)
Conky: window type - override
Conky: drawing to created window (3c00003)
Conky: drawing to double buffer

here is my setup:

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
$sysname $kernel on $machine
${font StyleBats:size=18}P${font} Uptime $alignr $uptime
${font StyleBats:size=18}X${font} Load $alignr $loadavg
${font StyleBats:size=18}V${font} Public IP $alignr ${color}${execi 14400 wget -O - http://whatismyip.org/ | tail}${color}
${font StyleBats:size=18}T${font} $processes processes ($running_processes running)

${font PizzaDude Bullets:size=16}N${font} ${color white}Highest CPU:
${color de0b0b}${top name 1}${top_mem cpu 1}
${color white}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}
${font PizzaDude Bullets:size=16}O${font} ${color white}Highest MEM:
${color de0b0b}${top_mem name 1}${top_mem mem 1}
${color white}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}

${font StyleBats:size=18}A${font} CPU $alignr ${cpu cpu0}%
${cpubar cpu0}

${font PizzaDude Bullets:size=16}J${font} MEM $alignc $mem / $memmax $alignr $memperc%
$membar

${font StyleBats:size=18}F${font} /root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

${font StyleBats:size=18}G${font} /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

${font StyleBats:size=18}B${font} swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
${font weather:size=28}z${font} M/B CPU $alignr ${hwmon temp 1}C ${hwmon temp 2}C
${font weather:size=28}y${font} hdd LINUX $alignr /dev/hdb ${execi 300 nc localhost 7634 | cut -c53-54 ;}C
${font weather:size=28}x${font} hdd XP $alignr /dev/hda ${execi 300 nc localhost 7634 | cut -c27-28 ;}C

${color}Networking:
${font PizzaDude Bullets:size=16}r${font} Down:${color} $alignr ${downspeed eth0} k/s${color} ${offset 80}
${font PizzaDude Bullets:size=16}v${font} Up:${color} $alignr ${upspeed eth0} k/s ${offset 80}

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu conky Edit question
Assignee:
No assignee Edit question
Solved by:
AFarris01
Solved:
2008-11-08
Last query:
2008-11-08
Last reply:
2008-11-08
Best AFarris01 (afarris01) said : #1

what command are you using t launch the conky? if you're just using 'conky' from the terminal, then that is probably the issue. For my conky, i created a folder called .conky in my home folder, which contains a few different custom configs, some custom scripts i made for the conky, and a startup script. so to launch my conky, i'd do the following:

conky -c ~/.conky/conkymain &

where in you're case, you would want something like:

conky -c /path/to/your/conky/config-file &

don't forget the ampersand "&" at the end, as this tells the system to run conky in the background, and it won't work otherwise.

just in case you want a startup script to start you're conky automatically with the system, then heres the one i use:

#!/bin/bash
sleep 20 &&
conky -c ~/.conky/conkymain &

If you want some more explanation, or need to know how to turn that into a usable script, and autostart it with your computer, then let me know :)

mrcomputer (c00lest-dan) said : #2

hey i got my conky working, finaly, but i didnt use your method, i think it was because i copied my conky setup to teh wrong place.

thanks tho if i ahve any problems ill give your method a shot
:)

AFarris01 (afarris01) said : #3

no problem! glad i you got it working, even without my help :)

Happy ubuntu-ing

Andrew