Results 1 to 10 of 10

Thread: Conky Border Problem

  1. #1
    Join Date
    Mar 2009
    Location
    Behind You
    Beans
    160
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Conky Border Problem

    How can I keep my Desktop Icons while making my conky border invisible? Here is a picture of my current Desktop.

    http://i97.photobucket.com/albums/l2...reenshot-1.png

    And here is my code for conky:

    Code:
    alignment top_right
    maximum_width 300
    total_run_times 0
    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 no
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    gap_x 15
    gap_y 35
    minimum_size 200 5
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    own_window yes
    own_window_class Conky
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer yes
    alignment top_right
    double_buffer yes
    
    TEXT
    ${font Zekton:size=20}${alignc}${color Gray}${time %B %d}
    ${font Zekton:size=30}${alignc}${color Gray}${time %H:%M:%S}${alignr}${font Zekton:size=8}
    ${color grey}$hr
    ${color grey}$hr
    $alignc ${color grey}OS:${color green}Ubuntu 8.10 Intrepid Ibex
    $alignc ${color grey}Kernel:${color 2499ff}$sysname $kernel 
    $alignc ${color grey}Architecture:${color 2499ff}$machine
    $alignc ${color grey}User@Hostname:${color 2499ff}lester${color 2499ff}@${color 2499ff}$nodename
    ${color grey}$hr
    ${alignc}${color green}CPU Info:
    ${color grey}CPU:$alignr ${color white}${exec cat /proc/cpuinfo | grep 'model name' | sort -u | cut -c 18-59}
    ${color grey}Frequency (in MHz):$alignr ${color white}$freq
    ${color grey}Frequency (in GHz):$alignr ${color white}$freq_g
    ${color grey}CPU Usage:${alignr}${color white}${cpu cpu0}% ${cpubar cpu0 4,145}
    ${color grey}Core1 Usage:${alignr}${color white}${cpu cpu1}% ${cpubar cpu1 4,145}
    ${color grey}Core2 Usage:${alignr}${color white}${cpu cpu2}% ${cpubar cpu2 4,145}
    ${color grey}$hr
    ${alignc}${color green}Memory Info:
    ${color grey}RAM Usage:${alignr}${color white}$mem/$memmax ${membar 4,75}
    ${color grey}Swap Usage:${alignr}${color white}$swap/$swapmax ${swapbar 4,75}
    ${color grey}$hr
    ${alignc}${color green}Video Card Info:
    ${color grey}GPU Temp:$alignr${color white}+${exec nvidia-settings -q GPUCoreTemp | grep Attribute | cut -d ' ' -f 6 | cut -c 1-2}  °C
    ${color grey}M/B Temperature: $alignr${color white}$acpitemp°C
    ${color grey}$hr
    ${alignc}${color green}File systems:
    ${color grey}${color white}${fs_free /}/${fs_size /} $alignr${fs_bar 4,145 /} 
    ${color grey}$hr
    ${alignc}${color green}Networking:${color grey}
    ${alignc}IP:${color white}${addr ath0}
    ${color grey}Up:  ${color white}${upspeed ath0}Kb/s${color grey}${alignr}Down:  ${color white}${downspeed ath0}Kb/s${color grey}
    ${color grey}$hr
    ${color grey}Uptime:$alignr ${color white} $uptime
    ${color grey}Processes running/total:$alignr ${color white}$running_processes/$processes
    ${color white}Name                ${alignr 30} PID ${alignr 10} CPU% $alignr MEM%
    ${color grey} ${top name 1} ${alignr 30} ${top pid 1} ${alignr 10} ${top cpu 1}   $alignr ${top mem 1} 
    ${color grey} ${top name 2} ${alignr 30} ${top pid 2} ${alignr 10} ${top cpu 2}   $alignr ${top mem 2} 
    ${color grey} ${top name 3} ${alignr 30} ${top pid 3} ${alignr 10} ${top cpu 3}   $alignr ${top mem 3} 
    ${color grey} ${top name 4} ${alignr 30} ${top pid 4} ${alignr 10} ${top cpu 4}   $alignr ${top mem 4} 
    ${color grey} ${top name 5} ${alignr 30} ${top pid 5} ${alignr 10} ${top cpu 5}   $alignr ${top mem 5}
    Problem:
    When I change the own_window to no, I lose my Desktop Icons but conky also loses its border.

    I want conky to "blend in" to my Desktop...

    I've seen it in someone else's Desktop. Here's an example.

    http://img379.imageshack.us/img379/2282/ubu5ys0.jpg

    it's a really crappy desktop but notice the difference in the conky border?


    Please advise. Thank you!
    Slow Ubuntu compared to Windows or Mac OSX, despite all the tweaking? You might have an NVidia graphics card. Read this post.
    Tweak your Ubuntu!

  2. #2
    Join Date
    Jun 2007
    Location
    Perth, Oz
    Beans
    290
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Border Problem

    I think you might find it is not a conky border so much as a window shadow that you are seeing, you should try changing your display manager settings to not show a shadow on your windows.

    I have a similar effect on my conky windows (in my case I want it) which is generated by the Window Decorations and/or Reflection plug-ins in compiz.
    Last edited by mtbsoft; April 15th, 2009 at 07:39 AM.

  3. #3
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Conky Border Problem

    I'm sorry for digging up this thread, but I have the exact same problem.

    Does anyone know how to solve this?

  4. #4
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Conky Border Problem

    If using compiz use
    Code:
    (any) & !(class=Conky)

    CCSM > effects > window decoration > shadow windows



    If your using metacity with Compositing Manager enabled try
    Code:
    own_window_type desktop
    in your conky config
    Last edited by stinkeye; April 4th, 2010 at 06:20 PM.

  5. #5
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Conky Border Problem

    Thanks for the reply stinkeye.

    Quote Originally Posted by stinkeye View Post
    If your using metacity with Compositing Manager enabled try
    Code:
    own_window_type desktop
    in your conky config
    I tried this and didn't work. The border didn't disappear and when I clicked my desktop the conky closed.

    Here's the conky I'm using now (sorry if something is misplaced, I'm posting this on Windows 7):

    Code:
    background yes
    
    use_xft yes
    
    xftfont Trebuchet MS:size=10
    
    xftalpha 0.9
    
    update_interval 1.0
    
    total_run_times 0
    
    own_window yes
    
    own_window_type normal
    
    own_window_transparent yes
    
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    double_buffer yes
    
    minimum_size 180 5
    
    maximum_width 180
    
    draw_shades no
    
    draw_outline no
    
    draw_borders no
    
    draw_graph_borders no
    
    
    # Stippled borders?
    
    # stippled_borders 8
    
    # border margins
    
    # border_margin 2
    
    # border width
    
    # border_width 1
    
    
    default_color white
    
    default_shade_color red
    
    default_outline_color green
    
    
    # alignment top_left
    
    alignment top_right
    
    # alignment bottom_left
    
    # alignment bottom_right
    
    # alignment none
    
    
    gap_x 5
    
    gap_y 30
    
    no_buffers yes
    
    uppercase no
    
    cpu_avg_samples 2
    
    override_utf8_locale no
    
    
    TEXT
    System $hr
    
    Name:$alignr$nodename
    
    Arch:$alignr$machine
    
    OS:$alignr$sysname
    
    Kernel:$alignr$kernel
    
    Uptime:$alignr$uptime
    
    
    Processor $hr
    
    CPU1: ${cpu cpu1}% ${color lightgray}${cpubar cpu1}$color
    
    CPU2: ${cpu cpu2}% ${color lightgray}${cpubar cpu2}$color
    
    Temperature:${color } ${acpitemp} C${alignr}Fan: $alignr${acpifan}
    
    
    Memory $hr
    
    RAM: $memperc% ${color lightgray}$membar$color
    Usage:$alignr$mem/$memmax
    
    
    Disk Space $hr
    
    Root: ${fs_used_perc /}% ${color lightgray}${fs_bar /}$color
    
    Usage:$alignr$fs_used/$fs_size
    
    Home: ${fs_used_perc /home}% ${color lightgray}${fs_bar /home/}$color
    
    Usage:$alignr${fs_used /home}/${fs_size /home}
    Any ideas what it might be?

    Thanks for the help.


  6. #6
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Conky Border Problem

    Open gconf-editor and turn off metacity's compositing feature.

    gconf-editor > /apps/metacity/general/compositing_manager

    or



    If you need metacity's compositing feature for docky etc
    own_window_type override
    with compositing ticked in gconf-editor
    Last edited by stinkeye; April 5th, 2010 at 02:30 AM.

  7. #7
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Conky Border Problem

    Quote Originally Posted by stinkeye View Post
    Open gconf-editor and turn off metacity's compositing feature.
    If you need metacity's compositing feature for docky etc
    own_window_type override
    with compositing ticked in gconf-editor
    This one worked!
    I had some problems with the start-up but I got those covered too. Finally, I managed to have this thing working.

    Thanks stinkeye.

    Cheers.


  8. #8
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Conky Border Problem

    No problem.
    I have 7 conkys running on my desktop, so I've done a lot of messing with the configs and reading conky man pages.
    Please hit the solved button in Thread Tools.

  9. #9
    Join Date
    Mar 2010
    Beans
    122
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Conky Border Problem

    It wasn't me who opened the thread, in that case shouldn't it be LesterPalooza to do it?

  10. #10
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Conky Border Problem

    Oh sorry, didn't realize it was an old thread.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •