Ahoj, mám problém s conky - asi bug. Když je následující řádek (a podobné) na černém (obecně tmavém) pozadí, tak se "cpugraph" vykresluje dle očekávání červeně. Když je na světlém pozadí, vykresluje se velmi světlou barvou (na bílé není vidět vůbec). Co s tím?
${font StyleBats:size=16}A${font} CPU 01: ${color red}${cpu cpu2}% ${alignr}${cpugraph cpu2 8,50 000000 000000 -t}
Dělá to conky 1.8.0 i 1.8.1.
Celý .conkyrc:
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 0
#own_window_type panel
#own_window_type desktop
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 0
maximum_width 200
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color black
default_shade_color black
default_outline_color black
own_window_colour black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10 #Souradnice zobrazeni okna na monitoru
gap_y 30
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
background yes
TEXT
#${font Zekton:size=8}Systém ${hr 2}
#${voffset 2}${font OpenLogos:size=15}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU 00: ${color red}${cpu cpu1}% ${alignr}${cpugraph cpu1 8,50 000000 000000 -t}${color black}
${font StyleBats:size=16}A${font} CPU 01: ${color red}${cpu cpu2}% ${alignr}${cpugraph cpu2 8,50 000000 000000 -t}${color black}
${font StyleBats:size=16}A${font} CPU 10: ${color red}${cpu cpu3}% ${alignr}${cpugraph cpu3 8,50 000000 000000 -t}${color black}
${font StyleBats:size=16}A${font} CPU 11: ${color red}${cpu cpu4}% ${alignr}${cpugraph cpu4 8,50 000000 000000 -t}${color black}
${font StyleBats:size=16}g${font} RAM: ${color red}$memperc% - $mem ${color black}${alignr}${memgraph 8,50 3465A4 729FCF}
${font StyleBats:size=16}g${font} Cached: ${color red}${cached} + ${buffers}${color black}
#${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}($swap/$swapmax)
${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
#${font Zekton:size=8}Procesy a zatížení ${hr 2}
${color black}${font PizzaDudeBullets:size=11}v${font} CPU% ${goto 108}${font PizzaDudeBullets:size=11}w${font} ${color black} RAM%
${color red}${top name 1}${goto 68}${top cpu 1} ${color red}${goto 108}${top_mem name 1}${goto 176}${top_mem mem 1}
${color black}${top name 2}${goto 68}${top cpu 2} ${goto 108}${top_mem name 2}${goto 176}${top_mem mem 2}
${top name 3}${goto 68}${top cpu 3} ${goto 108}${top_mem name 3}${goto 176}${top_mem mem 3}
${top name 4}${goto 68}${top cpu 4} ${goto 108}${top_mem name 4}${goto 176}${top_mem mem 4}
${top name 5}${goto 68}${top cpu 5} ${goto 108}${top_mem name 5}${goto 176}${top_mem mem 5}
#PING 8.8.8.8: ${color red}${tcp_ping 8.8.8.8 80}${color black}ms
PING 8.8.8.8: ${color red}${texeci 1 ping -q -c 1 8.8.8.8 |grep avg |cut -d "/" -f 5} ${color black}ms
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip wifi: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip eth0: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Public Ip: ${alignr}${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}