Page 1 of 1

.conkycolors transparency?

Posted: Sat Jun 16, 2012 7:12 am
by beadmaze
i installed conkycolors from http://helmuthdu.deviantart.com/art/CON ... -244793180 and everything regarding installation, starting at startup and so on went fine. i choosed the cairo variant which starts with

Code: Select all

conky-colors --cairo --cpu=2 --clock=cairo --network --theme=blue
. so far so good.
except: transparency.
it looks like that
Image
hmm...

my conkyrc reads like this:

Code: Select all

######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

format_human_readable

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=8
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 180
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

alignment top_right
gap_x 0
gap_y 40
minimum_size 182 0
maximum_width 182

default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no

default_color cccccc

color0 white
color1 1E90FF
color2 white
color3 0084C8


lua_load /usr/share/conkycolors/scripts/conkyCairo.lua
lua_draw_hook_post conky_main white 1E90FF 2 off cairo off off off 0

TEXT
${voffset 12}
##############
# - SYSTEM - #
##############
# |--CPU
${goto 100}${font Ubuntu:style=Bold:size=8}${color2}${freq_g 1}${color} GHZ${font}
${goto 100}CPU1: ${font Ubuntu:style=Bold:size=8}${color1}${cpu cpu1}%${color}${font}
${goto 100}Temp: ${font Ubuntu:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 0' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font}
${voffset 15}
${goto 100}${font Ubuntu:style=Bold:size=8}${color2}${freq_g 2}${color} GHZ${font}
${goto 100}CPU2: ${font Ubuntu:style=Bold:size=8}${color1}${cpu cpu2}%${color}${font}
${goto 100}Temp: ${font Ubuntu:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 1' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font}
# |--MEM
${voffset 15}
${goto 100}RAM: ${font Ubuntu:style=Bold:size=8}${color1}$memperc%${color}${font}
${goto 100}F: ${font Ubuntu:style=Bold:size=8}${color2}${memeasyfree}${color}${font}
${goto 100}U: ${font Ubuntu:style=Bold:size=8}${color2}${mem}${color}${font}
#############
# - CLOCK - #
#############
${voffset 15}
${alignr 78}${font Ubuntu:style=Bold:size=11}${color2}${time %H}${time :%M}${time :%S}${color}${font}
${alignr 66}${voffset -2}${font Ubuntu:style=Bold:size=8}${color2}${time %A}${color}${font}
${alignr 64}${time %d %b %Y}
##########
# - HD - #
##########
${voffset 15}
${goto 100}Root: ${font Liberation Sans:style=Bold:size=8}${color1}${fs_free_perc /}%${color}${font}
${goto 100}F: ${font Ubuntu:style=Bold:size=8}${color2}${fs_free /}${color}${font}
${goto 100}U: ${font Ubuntu:style=Bold:size=8}${color2}${fs_used /}${color}${font}
${voffset 15}
${goto 100}Home: ${font Liberation Sans:style=Bold:size=8}${color1}${fs_free_perc /home}%${color}${font}
${goto 100}F: ${font Ubuntu:style=Bold:size=8}${color2}${fs_free /home}${color}${font}
${goto 100}U: ${font Ubuntu:style=Bold:size=8}${color2}${fs_used /home}${color}${font}
###############
# - NETWORK - #
###############
${voffset 4}
# |--WLAN0
${if_up wlan0}
${goto 100}Up: ${font Ubuntu:style=Bold:size=8}${color1}${upspeed wlan0}${color}${font}
${goto 100}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totalup wlan0}${color}${font}
${goto 100}Down: ${font Ubuntu:style=Bold:size=8}${color1}${downspeed wlan0}${color}${font}
${goto 100}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totaldown wlan0}${color}${font}
${goto 100}Signal: ${font Ubuntu:style=Bold:size=8}${color1}${wireless_link_qual wlan0}%${color}${font}
# |--ETH0
${else}${if_up eth0}
${goto 100}Up: ${font Ubuntu:style=Bold:size=8}${color1}${upspeed eth0}${color}${font}
${goto 100}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totalup eth0}${color}${font}
${goto 100}Down: ${font Ubuntu:style=Bold:size=8}${color1}${downspeed eth0}${color}${font}
${goto 100}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totaldown eth0}${color}${font}
# |--PPP0
${else}${if_up ppp0}
${goto 100}Up: ${font Ubuntu:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font}
${goto 100}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totalup ppp0}${color}${font}
${goto 100}Down: ${font Ubuntu:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font}
${goto 100}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totaldown ppp0}${color}${font}
${endif}${endif}${endif}
so transparency is "set to": yes [if i interpret
own_window_transparent yes
correctly]

any hints?
suggestions?
help?

it may be interesting: i'm running LMDE with MATE, fully updated

Re: .conkycolors transparency?

Posted: Mon Jun 18, 2012 5:01 pm
by homerscousin
First, I am a 3 week old Mint user. I just started playing with conky. I'm editing my default conky.conf file and I do have transparency working. I think if you change own_window_argb_value to 0 instead of 180 you may see a difference. I'm not sure but I think the values range from 0 fully transparent to 100 fully opague. Mine is set to 0.

Re: .conkycolors transparency?

Posted: Tue Jun 19, 2012 4:42 am
by beadmaze
hey homerscousin,

thanks for this hint.
i started playing around with

Code: Select all

# - Window specifications - #
and found out that it's the

Code: Select all

own_window_argb_visual
set to

Code: Select all

no
yeah!
look what it looks like now:
Image

thanks for pointing me in the right direction!