View previous topic :: View next topic |
Author |
Message |
Repentinus n00b
Joined: 05 May 2010 Posts: 3
|
Posted: Mon Oct 25, 2010 5:59 pm Post subject: [SOLVED]Openbox adds frames around conky windows |
|
|
I recently switched from Gnome/Metacity to Gnome/Openbox and one unpleasant change accompanied this - suddenly conky windows had borders around them.
Screenshot (Openbox): http://img177.imageshack.us/img177/7982/openboxconky.png
Screenshot (Metacity): http://img202.imageshack.us/i/screenshotsaf.png
Conky configuration for one piece of the setup:
Code: |
border_width 0
background no
update_interval 1.0
double_buffer yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9
xftalpha 0.8
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom yes
minimum_size 400 100
draw_shades no
draw_outline yes
draw_borders yes
draw_graph_borders no
stippled_borders 0
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 20
gap_y 180
no_buffers yes
TEXT
${color #0066FF}Folding@Home
${color #F09000}${hr}
${color}${tail /opt/foldingathome/FAHlog.txt 4} |
Any ideas what I could change (preferably I would like to toggle some Openbox option to avoid this rather than modify conky configuration, but whatever it takes is fine)?
Last edited by Repentinus on Mon Oct 25, 2010 7:01 pm; edited 1 time in total |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Mon Oct 25, 2010 6:36 pm Post subject: |
|
|
Drop "own_window_type override", I don't have that. Though this override should cause openbox to ignore the window, but maybe in some screwed up way it prevents openbox from honoring the own_window_hints settings. |
|
Back to top |
|
|
ndse2112 Tux's lil' helper
Joined: 21 May 2007 Posts: 100
|
Posted: Mon Oct 25, 2010 6:36 pm Post subject: |
|
|
|
|
Back to top |
|
|
Repentinus n00b
Joined: 05 May 2010 Posts: 3
|
Posted: Mon Oct 25, 2010 6:46 pm Post subject: |
|
|
Neither suggestion worked.
EDIT: The latter one did work. Stupid me added the draw_borders as the first option and it got overwritten later. Thanks. |
|
Back to top |
|
|
ndse2112 Tux's lil' helper
Joined: 21 May 2007 Posts: 100
|
Posted: Mon Oct 25, 2010 7:01 pm Post subject: |
|
|
Here is the reset of my .conkyrc. This is just a clock, but it does not draw borders around the clock.
Code: |
# Use Xft?
use_xft yes
#xftfont AvantGarde LT Medium-7
# Update interval in seconds
update_interval 60
# 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_transparent yes
own_window_type desktop
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 50 14
#maximum_width 50
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 6
# border width
border_width 1
# Default colors and also border colors
default_color 8a8a8a
own_window_colour 0a0a0a
# Text alignment, other possible values are commented
#alignment top_middle
alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 26
# 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 none
#${font Bitstream Vera Sans:size=10}$alignr cpu: ${color FCFCFC}${cpu}${color}% | ${color}mem: ${color DCD5C0}$memperc${color}% | bat: ${color FCFCFC}${battery_percent}%
TEXT
${font Bitstream Vera Sans:size=10}${color FCFCFC}${time %H:%M }${color}
|
|
|
Back to top |
|
|
|