Page 1 of 1

Conky configuration help? [Solved]

Posted: Thu Sep 25, 2008 9:57 am
by Losgann
Hello, I'm trying to configure Conky (under Elyssa XFCE CE) but I'm running into a problem with colors and can't figure out what I'm doing wrong. I want Conky's text to be in black on a grey background. Here is my .conkyrc file:

Code: Select all

background yes

own_window no
own_window_type desktop
own_window_transparent no

update_interval 1.0

draw_shades no
draw_outline no 
draw_borders no
xftfont Samanata
uppercase no 

stippled_borders 3

double_buffer yes

default_color #000000
own_window_color #cccccc

alignment top_middle

gap_x 5
gap_y 38


# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color #000099}$nodename: ${color #660000}Uptime: $color${uptime} ${color #660000}RAM: $color$mem of $memmax ($memperc%) ${color #660000}Swap: $color$swap of $swapmax ($swapperc%) ${color #660000}Hard disk: $color$fs_used of $fs_size, $fs_free ($fs_free_perc%) free
But here is a screenshot of the output:
Image
...as you can see, white text even though I specified black text, and transparent background even though I turned that off and set a background color. Can anyone help me fix this?

Re: Conky configuration help?

Posted: Thu Sep 25, 2008 10:34 am
by haruspexed
check mine...

it is in mint colours

Code: Select all


background no
use_xft yes
font 6x10	
xftfont Tahoma:size=9
xftalpha 0.8
update_interval 2.5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour black
own_window_hints undecorated,below,sticky,skip_pager,skip_taskbar
double_buffer yes
minimum_size 260 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
border_margin 4
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer left
#mpd_host localhost
#mpd_portPort 6060
#mpd_password 

TEXT
${font Verdana:style=Bold:size=16}${color #8cc35b}${alignc}${time %a %d. %b %k:%M}
$font$color$nodename - $sysname $kernel on $machine
${color #8cc35b}$stippled_hr
${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes ${color lightgrey}Up:$color $uptime

${color #8cc35b}CPU: $cpu% ${cpubar}
${color}Name              PID     CPU%   MEM%
${font Monospace:size=8}${color lightgrey}${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}

$font${color #8cc35b}RAM: $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap: $swap/$swapmax - $swapperc% ${swapbar}
${color}Name              PID     CPU%   MEM%
${font Monospace:size=8}${color lightgrey}${top_mem name 1}     ${top_mem pid 1}  ${top_mem cpu 1}  ${top_mem mem 1}
${color lightgrey}${top_mem name 2}     ${top_mem pid 2}  ${top_mem cpu 2}  ${top_mem mem 2}
${color lightgrey}${top_mem name 3}     ${top_mem pid 3}  ${top_mem cpu 3}  ${top_mem mem 3}


$font${color #8cc35b}Connections${alignr}${color #8cc35b}In:$color ${tcp_portmon 1 32767 count}  ${color #8cc35b}Out:$color ${tcp_portmon 32768 61000 count}   ${color #8cc35b}ALL:$color ${tcp_portmon 1 65535 count}
${color lightgrey}$stippled_hr
${color lightgrey}Down:$color ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:$color ${upspeed eth0} k/s
${color #8cc35b}IPs:$color ${addr eth0} ${offset 20} ${execi 7200 ~/.conky/publicip.sh}
${color lightgrey}$stippled_hr
${color #8cc35b}Inbound Connection ${alignr} Local Service/Port$color
${font Monospace:size=8} ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
 ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
 ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
 ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
 ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
 ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
$font${color #8cc35b}Outbound Connection ${alignr} Remote Service/Port$color
${font Monospace:size=8} ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
 ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
 ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
 ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
 ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
 ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
$font${color #8cc35b}$stippled_hr
${color lightgrey}root:  ${fs_used /}/${fs_size /}  ${fs_bar /}
${color lightgrey}home:  ${fs_used /home}/${fs_size /home}  ${fs_bar /home}

conkymint.jpg

Re: Conky configuration help?

Posted: Thu Sep 25, 2008 1:12 pm
by Losgann
Well, I took yours as a base and took out all the bits that I didn't want, and now it works...
Image

I don't know what your file had that mine didn't, but thank you. :)