You are not logged in.

#1 2016-09-23 03:23:11

Earth2
Member
Registered: 2016-04-06
Posts: 13

Problems making multiple instances of conky transparent

I've been busy playing around with the fun and joy of conky over an Openbox desktop I've been cobbling together.  I started modifying the CathexiS theme, as I thought it looked good, and after making some modifications to the original .conkyrc decided to try making a separate weather panel on the other side of the screen.  Work in progress:

modedit by xyne
Please read our forum etiquette about posting images.
http://i.imgur.com/Pifv0z8.png

The trouble I'm having now is that I haven't found a way to make both conkies transparent.  Here is what I have for .conkyrc (corresponding to the right panel):

background yes

# Use Xft?
use_xft yes
xftfont Coda:size=9
xftalpha 1

# Update interval in seconds
update_interval 1.0

# 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 no
own_window_transparent yes
own_window_type desktop
own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 450 200
maximum_width 450

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# border width
border_width 1

# border margins
border_margin 5

# Stippled borders?
stippled_borders 0

# Default colors and also border colors
default_color 666666
own_window_colour 262524
default_shade_color 000000
default_outline_color 828282

# 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 70
gap_y 100

# 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 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# 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 yes

default_bar_size 450 6
draw_graph_borders yes

lua_load ~/.conky/myrings.lua
lua_draw_hook_pre ring_stats

And for the weather panel on the left:

background yes

# Use Xft?
use_xft yes
xftfont Coda:size=9
xftalpha 1

# Update interval in seconds
update_interval 1.0

# 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_type desktop
own_window_argb_visual yes
own_window_argb_value 0
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 560 200
maximum_width 560

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# border width
border_width 1

# border margins
border_margin 5

# Stippled borders?
stippled_borders 0

# Default colors and also border colors
default_color 666666
own_window_colour 262524
default_shade_color 000000
default_outline_color 828282

# 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 70
gap_y 100

# 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 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# 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 yes

default_bar_size 450 6
draw_graph_borders yes

You'll note that the right panel's .conkyrc says "own_window no", while the weather panel gets "own_window yes".  If I set the weather panel to "no" as well, then it turns transparent, but both start flickering severely so it's kind of pointless anyway.  I've tried fiddling with the other own_window parameters in the weather rc but no dice on any of them.  Am I missing something obvious?

Last edited by Xyne (2016-09-23 03:35:40)

Offline

Board footer

Powered by FluxBB