Originally Posted by
Bruce M.
Why not show us your startup.sh and two conky files. It will be easier that way for us to find the problem.
Yes you can define colors above the TEXT line, with these commands:
Code:
default_color white
color0 cyan
color1 lightblue
color2 orange
color3 yellow
color4 wheat
color5 salmon
color6 red
color7 DarkCyan
color8 Brown
color9 grey
Now your default colour is
white, or anything you choose.
To change a specific line or command:
Code:
${color2}command$color
${color2} will change the color to
orange until it sees
$color which will turn orange off and go back to your default color.
Have a nice day.
Bruce
Thx,
Here is the main conky ( stolen from bilgolberg, superb layout, i hope you don't mind, i changed some things )
Code:
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
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 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
text_buffer_size 256
TEXT
${font openlogos:size=20}${font Arial:size=20}${color Tan1}UBUNTU${color Ivory}HARDY${font openlogos:size=20}
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray}
$font${color DimGray}$sysname $kernel $alignr $machine
AMD $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
File System $alignr${fs_type}
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
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 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
text_buffer_size 256
TEXT
${font openlogos:size=20}${font Arial:size=20}${color Tan1}UBUNTU${color Ivory}HARDY${font openlogos:size=20}
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray}
$font${color DimGray}$sysname $kernel $alignr $machine
AMD $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
File System $alignr${fs_type}
second
Code:
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
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 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
text_buffer_size 256
TEXT
${font Arial:bold:size=10}${color Tan2}TIME ${color DarkSlateGray}
${color Tan1} ${font :size=30}$alignc${time %H:%Mh}
${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=8}$alignc${time %A}
$endif
This one i want to place in the middle of my screen , on top
And my startup.sh
Code:
#!/bin/bash
sleep 20 &&
conky -d -c /home/patrick/Conky/conkysystem &
sleep 20 &&
conky -e -c /home/patrick/Conky/conkytime
exit
Bookmarks