Zercius
October 22nd, 2011, 11:42 PM
This is a bit of a weird issue. When starting Conky on Xubuntu 11.10, the background shows LightDM instead of the Xfce desktop. It does not matter when I start Conky; even after having logged in for several minutes conky will still display the LightDM background when started.
Here is my conkyrc file (header omitted):
alignment bottom_right
background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sawasdee:size=16
gap_x 5
gap_y 20
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
format_human_readable yes
double_buffer yes
lua_load ~/Projects/Scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
TEXT
${outlinecolor #888888}${font Sawasdee:size=50}${time %I:%M %P}$font
${font Sawasdee:size=20}${time %A, %e %B %Y}$font${if_existing /proc/acpi/battery/BAT0}
${font Sawasdee:bold:size=16}Battery:$font $battery_percent%, $battery_time${endif}${if_up wlan0}
${font Sawasdee:bold:size=16}Wireless: $font${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}%${endif}
${font Sawasdee:bold:size=16}CPU:$font $cpu%${font Sawasdee:size=12}
${top cpu 1}% ${top name 1}
${top cpu 2}% ${top name 2}
I also tried changing own_window_type between "override" and "desktop" modes; both behave the same.
Here is my conkyrc file (header omitted):
alignment bottom_right
background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sawasdee:size=16
gap_x 5
gap_y 20
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
format_human_readable yes
double_buffer yes
lua_load ~/Projects/Scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
TEXT
${outlinecolor #888888}${font Sawasdee:size=50}${time %I:%M %P}$font
${font Sawasdee:size=20}${time %A, %e %B %Y}$font${if_existing /proc/acpi/battery/BAT0}
${font Sawasdee:bold:size=16}Battery:$font $battery_percent%, $battery_time${endif}${if_up wlan0}
${font Sawasdee:bold:size=16}Wireless: $font${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}%${endif}
${font Sawasdee:bold:size=16}CPU:$font $cpu%${font Sawasdee:size=12}
${top cpu 1}% ${top name 1}
${top cpu 2}% ${top name 2}
I also tried changing own_window_type between "override" and "desktop" modes; both behave the same.