You are not logged in.

#1 2008-07-18 13:01:39

Izobalax
Member
From: UK
Registered: 2008-06-27
Posts: 51
Website

[SOLVED]Emerald/compiz draws window decoration around conky...

Hi! I've recently installed conky for the first time ever and wish to use it as a simple clock. I have edited the .conkyrc to achieve this, however when I start conky, compiz draws the emerald theme around my conky clock.

Having looked around the web, a common suggestion seems to be to add:

!(name=conky)

To my Window Decoration Window Matching config (it's usually set to "Any") in order to exclude conky from having window decorations drawn. Unfortuntely, this doesn't work.

Another suggestion was to add "-conky" to "Any", giving me:

any -conky

However, this removes window decorations from ALL windows.

Here is my conky config:

# set to yes if you want tormo to be forked in the background
background no

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

own_window_type normal

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font *mintsmild.se*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont AvantGarde LT Medium:size=16

# Text alpha when using Xft
xftalpha 0.8

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes

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

# MPD host/port
mpd_host heaton
mpd_port 6600

# Minimum size of text area
minimum_size 230 5
maximum_width 230

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders no

# border margins
border_margin no

# border width
border_width no

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color 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
gap_x 13
gap_y 7

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

#-----------------------------
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #ffffff}${time %H}${color #ffffff}${time %M}

Any help would be appreciated thank you.

/izo\

Last edited by Izobalax (2008-07-18 15:11:33)


"Eliciting positive quotes about Apple products is a bit like asking children for their view on Christmas; whatever you hear is going to be predictable and pretty much devoid of insight." -- Bill Ray

Offline

#2 2008-07-18 13:04:14

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED]Emerald/compiz draws window decoration around conky...

Put this: "own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky" in your .conkyrc.

Last edited by Ashren (2008-07-18 16:06:10)

Offline

#3 2008-07-18 13:34:36

Izobalax
Member
From: UK
Registered: 2008-06-27
Posts: 51
Website

Re: [SOLVED]Emerald/compiz draws window decoration around conky...

Ashren wrote:

Put this is: "own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky" in your .conkyrc.

You sir/madam, are an absolute star. May kisses rain on you from Heaven always.

I only have one problem left.

My clock text is surrounded in a block of black background. How do I remove this so that the text stands purely on it's own, with a transparent background?

/izo\


"Eliciting positive quotes about Apple products is a bit like asking children for their view on Christmas; whatever you hear is going to be predictable and pretty much devoid of insight." -- Bill Ray

Offline

#4 2008-07-18 13:55:38

Izobalax
Member
From: UK
Registered: 2008-06-27
Posts: 51
Website

Re: [SOLVED]Emerald/compiz draws window decoration around conky...

Solved! Disregard, I suck cocks.

The solution was:

background yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky

Thanks all!

/izo\


"Eliciting positive quotes about Apple products is a bit like asking children for their view on Christmas; whatever you hear is going to be predictable and pretty much devoid of insight." -- Bill Ray

Offline

#5 2008-07-18 16:11:52

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED]Emerald/compiz draws window decoration around conky...

You're welcome.

PS: I hate it when my typos get immortalized in quotes. wink

Offline

#6 2008-07-24 03:56:56

SimonPhotography
Member
From: Arkansas, US
Registered: 2008-04-03
Posts: 24
Website

Re: [SOLVED]Emerald/compiz draws window decoration around conky...

Just some positive reinforcement for ya Ashren, you solved the issue i was having with Conky as well!

Offline

Board footer

Powered by FluxBB