Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Conky not transparent with compiz fusion

  1. #1

    Default Conky not transparent with compiz fusion

    Hi everyone.
    I have searched for solutions and i know there are some about, but they all refer to conkyrc files which i assume is the old equivalent of the /etc/conky/conky.conf now. So basically i just want to make sure im doing it right as nothing is going well so far.

    How can i get conky to be situated on my desktop (without disappearing when i click my desktop) so that it has a transparent background? ive set own_window_transparent to 'yes' but that didnt help =\

    thanks in advance.

  2. #2

    Default Re: Conky not transparent with compiz fusion

    I am hoping I understand your question.
    If you are using kde 4.x it will not probably be transparent like the gkrellm.
    I have not use conky for a long time but I am using gkrellm. With gkrellm to have transparency with plasma I have to run xfdesktop alongside plasma to have a gkrellm transparency. The wallpaper of both plasma and xfdesktop should be the same. I don't know the answer if you are using conky in gnome.
    People who do not break things first will never learn to create anything

  3. #3

    Default Re: Conky not transparent with compiz fusion

    Thanks for the reply conram, but i im looking at conky only in KDE, and how to make it transparent. I just took a quick look at gkrellm, but its not really my thing

  4. #4

    Default Re: Conky not transparent with compiz fusion

    I'm not sure with compiz, there could be some missing tweak on your conky.
    See this thread and follow the links on my post in that thread, you might find something that you could use, though not sure if there is a related fix in those links.
    http://forums.opensuse.org/applicati...683-conky.html
    People who do not break things first will never learn to create anything

  5. #5

    Default Re: Conky not transparent with compiz fusion

    sorry conram, but none of that really applies..

    Am i missing some tweak that makes compiz and conky play nice?

  6. #6

    Default Re: Conky not transparent with compiz fusion

    Here is my conkyrc this plays nice with compiz-fusion, as for etc.. that looks like a default system one, unless needed so, just create a ~/.conkyrc

    Note this plays nice with compiz-fusion this is transparent but compiz-fusion is my DE. Therefore if this doesn't work you can rule out compiz-fusion being the problem.

    I suspect your after the bits under

    # Create own window instead of using desktop

    Code:
    # Conky, a system monitor, based on torsmo
    #
    # Any original torsmo code is licensed under the BSD license
    #
    # All code written since the fork of torsmo is licensed under the GPL
    #
    # Please see COPYING for details
    #
    # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    # Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    # All rights reserved.
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    #
    # $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $
    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=8
    xftalpha 0.8
    text_buffer_size 2048
    
    # Update interval in seconds
    update_interval 4
    
    # 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 normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 180 0
    #maximum_width 200
    
    # 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 5
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color grey
    #default_shade_color black
    #default_outline_color grey
    own_window_colour grey
    
    # 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
    # same thing as passing -x at command line
    gap_x 35
    gap_y 35
    
    # 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
    
    TEXT
    SYSTEM ${hr 1}
    ${alignc}smile, breathe and go slowly
    ${font AlienMushrooms:size=24}a${font}      Kernel:  ${alignr}${kernel}
    ${font AlienMushrooms:size=24} t${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60} 
    ${font AlienMushrooms:size=24}y${font}    RAM: $memperc% ${alignr}${membar 8,60}
    ${font AlienMushrooms:size=24}j${font}     SWAP: $swapperc% ${alignr}${swapbar 8,60}
    ${font AlienMushrooms:size=24}q${font}         Uptime: ${alignr}${uptime}
    
    DATE ${hr 2}
    ${alignc 17}${font Arial Black:size=16}${time %H:%M}${font}
    ${alignc}${time %A %d %B %Y}
    
    TEMPS ${hr 2}
    Core CPU Temp: ${alignr}${execi 8 sensors | grep -A 1 'Core0' | cut -c12-16 | sed '/^$/d'}C
    
    HD ${hr 2}
    ${voffset 4}${font AlienMushrooms:size=18}j${font}   ${voffset -5}Root:
    ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
    ${font AlienMushrooms:size=18}i${font}   ${voffset -5}Home:
    ${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
    ${font AlienMushrooms:size=18}j${font}   ${voffset -5}Share:
    ${voffset 4}${fs_used /home/mickey/Share}/${fs_size /home/mickey/Share} ${alignr}${fs_bar 8,60 /home/mickey/Share}
    
    NETWORK ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
    ${endif}
    
    PROCESSES ${hr 2}
    NAME $alignr PID    CPU
    ${top name 1} $alignr ${top pid 1} ${top cpu 1}
    ${top name 2} $alignr ${top pid 2} ${top cpu 2}
    ${top name 3} $alignr ${top pid 3} ${top cpu 3}
    ${top name 4} $alignr ${top pid 4} ${top cpu 4}
    ${top name 5} $alignr ${top pid 5} ${top cpu 5}
    ${top name 6} $alignr ${top pid 6} ${top cpu 6}
    ${top name 7} $alignr ${top pid 7} ${top cpu 7}
    ${top name 8} $alignr ${top pid 8} ${top cpu 8}
    Note you're unlikely to have the fonts I've used.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,586
    Blog Entries
    14

    Default Re: Conky not transparent with compiz fusion

    You don't do that in any conky files. Right click on the window-decoration (title bar) en pick Opacity. You can set a transparency percentage there.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8

    Default Re: Conky not transparent with compiz fusion

    That is not true..

    Q: Transparency doesn't work! Why is this and how can I fix it?

    Conky - Frequently Asked Questions

    Its transparent here, without using the opacity hack.

    Now it might not work wth xyz de/wm because it doesn't draw on the root window but I'll think you'll find compiz does. I've certainly used xwinwrap and compiz and had electricsheep drawing to the root whilst running compiz.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  9. #9

    Default Re: Conky not transparent with compiz fusion

    My Bad Sorry Knurpht though you can use transparency.

    Sorry what Knurpht said I just got confused which de/wm's write to the root and compiz seems doesn't. Why xwinwrap I guess.

    Just make a rule for conky with opacity. Just checked my own cssm.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  10. #10

    Default Re: Conky not transparent with compiz fusion

    Ok what the hell..

    The example above didnt work.. so i reinstalled conky over the top of itself to try fix anything and it didnt work again (i just cant see the conky window at all) so i then renamed my conkyrc so that it would use the default installed one (which usually works, just in a normal window and not transparent) and it still runs, but doesn't show.. wtf?

    How can i completely remove everything conky installed so i can start again? (my package managers dont see conky as an installed package)

Page 1 of 2 12 LastLast

Posting Permissions

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