Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Conky Transparency issues

  1. #11
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: Conky Transparency issues

    here's one of my configs that works on 12.10
    Code:
    background yes
    
    use_xft yes # Use Xft?
    #xftfont Bitstream Vera Sans Mono:size=8
    xftfont Ubuntu:size=9
    xftalpha 1 # Text alpha when using Xft
    
    update_interval 2 # Update interval in seconds
    
    total_run_times 0
    
    own_window yes
    own_window_argb_visual no
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
    
    minimum_size  160
    maximum_width 160
    
    draw_shades yes
    draw_outline no
    draw_borders no
    stippled_borders 8
    
    border_width 1
    
    default_color white
    default_shade_color black
    default_outline_color white
    
    no_buffers yes
    uppercase no
    
    cpu_avg_samples 4
    
    override_utf8_locale no
    
    use_spacer right # Add spaces to keep things from moving about?  This only affects certain objects.
    
    #color1 lightgrey
    color1 green
    color2 blue
    color3 orange
    color4 midnightblue
    
    TEXT
    ${color2}Distro: ${alignr}${color3}${pre_exec lsb_release -d -s}
    ${color2}Codename: ${alignr}${color3}${pre_exec lsb_release -c -s}
    ${color2}Kern: ${alignr}${color3}$kernel
    ${color2}UpTime: ${alignr}${color3}$uptime
    ${color2}Session: ${alignr}${color3}${pre_exec echo $USER} @ ${nodename}\
    ${pre_exec echo $DISPLAY}
    ${color1}${top name 10}${alignr}${color1}${top pid 10}${color1}${top cpu 10}
    ${color1}${top name 9}${alignr}${color1}${top pid 9}${color1}${top cpu 9}
    ${color1}${top name 8}${alignr}${color1}${top pid 8}${color1}${top cpu 8}
    ${color1}${top name 7}${alignr}${color1}${top pid 7}${color1}${top cpu 7}
    ${color1}${top name 6}${alignr}${color1}${top pid 6}${color1}${top cpu 6}
    ${color1}${top name 5}${alignr}${color1}${top pid 5}${color1}${top cpu 5}
    ${color1}${top name 4}${alignr}${color1}${top pid 4}${color1}${top cpu 4}
    ${color1}${top name 3}${alignr}${color1}${top pid 3}${color1}${top cpu 3}
    ${color1}${top name 2}${alignr}${color1}${top pid 2}${color1}${top cpu 2}
    ${color3}${top name 1}${alignr}${color1}${top pid 1}${color1}${top cpu 1}
    ${color2}Name${alignr}PID  CPU
    ${color2}GPU: ${alignr}${color3}${nvidia temp}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
    ${color2}Load: ${alignr}${color3}${loadavg 1}${color2}|${color3}${loadavg 2}${color2}|${color3}${loadavg 3}
    ${color2}Freq: ${alignr}${color3}${freq 1} MHz${color2}|${color3}${freq 2} MHz
    ${color2}CPU: ${alignr}${color3}${cpu}% ${color2}(${color3}${cpu cpu1}%${color2}|${color3}${cpu cpu2}%${color2})
    ${color4}${cpugraph 12,160 0000ff ff00ff -t}
    ${cpugraph cpu2 12,160 0000ff ff00ff -t}
    ${cpugraph cpu1 12,160 0000ff ff00ff -t}

  2. #12
    Join Date
    Mar 2010
    Location
    Netherlands
    Beans
    42
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Transparency issues

    Quote Originally Posted by VinDSL View Post
    Cannot reproduce it here. Sorry!

    Tried this yet?

    If yes, and it didn't work, have you tried switching your weather icon set?

    Some icon sets are more transparent than others -- some not transparent at all...
    That's because you have a dark background/wallpaper. You'll only notice the glitch with lighter backgrounds (this is also mentioned in the bug report). Try setting a lighter background, and you'll probably see the same problem.

    About the possible solution you have (the code colored in blue): I have the same values in my Conky configuration, so that won't help. Also, I've tried many different configurations, but none fix this issue. This has also noting to do with the images or icons themselves; I've tried many many different images/icons, so it seems to happen with any image.

    I've chatted with one of the Conky developers on IRC yesterday to ask about this issue. He said that this problem cannot be fixed, because according to him, it's because of the way compositors (Compiz, Clutter, etc.) work. Apparently, Conky uses the compositor to create true transparency. He said: "It's not a problem with the compositor, it's just the way things work". But I find it hard to believe that this cannot be fixed in Conky, because there are other applications out there that manage to combine transparency with opaque graphics.

  3. #13
    Join Date
    Mar 2010
    Location
    Netherlands
    Beans
    42
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Transparency issues

    Quote Originally Posted by HiImTye View Post
    here's one of my configs that works on 12.10

    ...
    Your configuration won't have that problem because you have true transparency disabled:
    Code:
    own_window_argb_visual no
    This problem only occurs with true transparency enabled:
    Code:
    own_window_transparent yes
    own_window_argb_visual yes
    So it's not really a solution, but at least we have a workaround.

  4. #14
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,991
    Distro
    Ubuntu Development Release

    Re: Conky Transparency issues

    ~cool

    Works, for me!

    Code:
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for TRUE transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    own_window_argb_visual yes
    own_window_argb_value 255
    ####
    ## Don't want TRUE transparency? (icons look janky on certain walls)
    ## Comment both of the lines above and Uncomment the line below.
    #
    # own_window_argb_visual no
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

Page 2 of 2 FirstFirst 12

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
  •