Announcement

Collapse
No announcement yet.

a "convoluted" problem: conky/compiz/pseudotransparency together

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    a "convoluted" problem: conky/compiz/pseudotransparency together

    Hi
    Here is a "convoluted" problem for people who are intrigued by "multivariate" situations!

    I've been fiddling with my Kubuntu desktop install on Oneric and things seem to work fine, got compiz going, got conky going, ... the conky thing being a REAL test of whether the whole plasma desktop will crash etc. even got rid of the "flicker" with the old double buffer thing.

    I won't post links to various sites because this will, probably, only be solvable by an experienced hand in Kubuntu/compiz/plasma/conky, you name it.

    There is a solution to the "transparency" thing in Kubuntu, and I won't belabour linking for it.

    There is also a solution for running compiz and conky.

    However, and it may just not be solvable, running conky and compiz there just does not seem to be a way to get conky to have "pseudotransparency" and compiz running together.

    For the uninitiated what the pseudotransparency does is not produce "transparency" it "kind of double paints" the background within conky, if the background is not "exactly" right one can see what is being done.

    So....the question is, does anyone know of a way to get the whole magilla going at once: Kubuntu plasma/compiz/conky AND pseudotransparency for conky?

    Here is the only link that I have found that tries to address all of the issues at once and I have tried various iterations to no avail.

    I quite realize that it is for "older Ubuntus" but it has scripts which address use in Kubuntu, Compiz etc.

    http://ubuntuforums.org/showthread.php?t=205865

    Here is my basic conky script:

    ***********************

    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type override
    own_window_hints undecorated,below,skip_taskbar
    background yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

    # fiddle with window
    use_spacer right

    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=8
    xftalpha 0.8
    text_buffer_size 2048

    # Update interval in seconds
    update_interval 3.0

    # Minimum size of text area
    # minimum_size 250 5

    # Draw shades?
    draw_shades no

    # Text stuff
    draw_outline no # amplifies text if yes
    draw_borders no
    uppercase no # set to yes if you want all text to be in uppercase

    # Stippled borders?
    stippled_borders 3

    # border margins
    border_margin 9

    # border width
    border_width 10

    # Default colors and also border colors, grey90 == #e5e5e5
    default_color grey

    own_window_colour white
    own_window_transparent yes

    # 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 10
    gap_y 10

    # stuff after 'TEXT' will be formatted on screen

    TEXT
    $color
    ${color white}SYSTEM ${hr 2}$color
    $nodename $sysname $kernel on $machine

    ${color white}CPU ${hr 2}$color
    ${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
    $cpubar
    ${cpugraph 000000 ffffff}
    NAME PID CPU% MEM%
    ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

    ${color white}MEMORY / DISK ${hr 2}$color
    RAM: $memperc% ${membar 6}$color
    Swap: $swapperc% ${swapbar 6}$color

    Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
    hda1: ${fs_free_perc /media/sda1}% ${fs_bar 6 /media/sda1}$color

    *****************************

    any suggestions would be helpful, I think that if this could be accomplished, it might be an attraction for new migrants from Unity.

    And....hint hint....I can think of ONE person who just "might" already have it all done and just didn't think it important enough to post.

    woodsmoke

    #2
    Re: a "convoluted" problem: conky/compiz/pseudotransparency together

    The solution I use to achieve 'transparency' is to install feh from the repos and set a line after Text in conkyrc;

    ${texeci 600 feh --bg-scale '/path/to/your/wallpaper'}

    This method works for me as I don't rotate backgrounds and is less resource hungry than

    own_window_argb_visual yes

    This method allows for an another ${image } to be used as a conky background also.
    I have no experience with compiz on Kubuntu however so I guess just try it out.
    Kubuntu 12.04 - Acer Aspire 5750G

    "I don't make a great deal of money, but I'm ok with that 'cause I don't hurt a lot of people in the process either"

    Comment


      #3
      Re: a "convoluted" problem: conky/compiz/pseudotransparency together

      will do!!!




      woodsmoke

      Comment

      Working...
      X