The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Conky disappears when I click desktop

    Discussion in 'Linux Compatibility and Software' started by zephyrus17, Aug 13, 2008.

  1. zephyrus17

    zephyrus17 Notebook Deity

    Reputations:
    646
    Messages:
    1,576
    Likes Received:
    0
    Trophy Points:
    55
    Well, I'm running a Gnome/Openbox with xcompmgr configuration. In Gnome only, conky works fine.

    But now, when I set "own_window_type desktop", conky starts, but when I click the desktop, it disappears. It's still running, but I think it disappears behind the desktop.

    Google gave me a solution to setting it to "own_window_type override", but when I do that, conky doesn't start at all. Maybe it starts, but I don't see it at all.

    Now, in all these cases, I have
    Code:
    own_window yes
    own_window_transparent yes
    otherwise the whole screen will flicker so much that it could induce elipsey.

    Here's my whole configuration, just in case:
    Code:
    # maintain spacing between certain elements
    use_spacer yes
    
    # set to yes if you want conky to be forked in the background
    background yes
    
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono-7
    #xftfont Andale Mono-9
    #xftfont Clean-8
    #xftfont cubicfive10:pixelsize=8
    #xftfont squaredance10:pixelsize=14
    #xftfont swf!t_v02:pixelsize=10
    
    # Text alpha when using Xft
    xftalpha 1
    mail_spool $MAIL
    
    # Update interval in seconds
    update_interval 1
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_type override
    own_window_type desktop
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 280 5
    
    # Draw shades?
    draw_shades yes
    
    # Draw outlines?
    draw_outline no # amplifies text
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 0
    
    # border margins
    border_margin 9
    
    # border width
    border_width 1
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color white
    default_shade_color black
    default_outline_color DarkGrey
    color0 white
    color1 black
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    alignment middle_right
    
    # Gap between borders of screen and text
    gap_x 24
    gap_y 24
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    Help?
     
  2. srunni

    srunni Notebook Deity

    Reputations:
    96
    Messages:
    854
    Likes Received:
    0
    Trophy Points:
    30
    Wow, this is the same problem that I have. I'm running Kubuntu Hardy. I could never figure out why Conky would randomly disappear sometimes. Here's my .conkyrc:
    Code:
    # update interval
    update_interval 1
    
    # sets alignment
    alignment top_right
    
    # sets distance from edge of window
    gap_y 35
    gap_x 25
    
    # color
    default_color white
    #default_shade_color white
    default_outline_color white
    
    
    # reduces flicker
    # double_buffer yes
    
    # create window to draw
    own_window yes
    own_window_type desktop
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_page
    
    # creates a dashed border
    stippled_borders 3
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # force utf8
    override_utf8_locale yes
    
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    $nodename $sysname $kernel on $machine
    Uptime: ${uptime}   Load: ${loadavg}
    $stippled_hr
    CPU Usage: $cpu  %   CPU: ${freq}mhz ${alignr}Temp: ${acpitemp}
    ${cpugraph cpu0 000000 C0C8CD}
    CPU0: ${cpu cpu1}%
    ${cpubar cpu1}
    CPU1: ${cpu cpu2}%
    ${cpubar cpu2}
    $stippled_hr
    Processes: $processes   Running: $running_processes
    
    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}
    ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
    ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
    ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
    ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
    ${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
    ${top name 10} ${top pid 10} ${top cpu 10} ${top mem 10}
    
    Memory usage:
    ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
    ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
    ${top_mem name 6} ${top_mem pid 6} ${top_mem cpu 6} ${top_mem mem 6}
    ${top_mem name 7} ${top_mem pid 7} ${top_mem cpu 7} ${top_mem mem 7}
    ${top_mem name 8} ${top_mem pid 8} ${top_mem cpu 8} ${top_mem mem 8}
    ${top_mem name 9} ${top_mem pid 9} ${top_mem cpu 9} ${top_mem mem 9}
    ${top_mem name 10} ${top_mem pid 10} ${top_mem cpu 10} ${top_mem mem 10}
    $stippled_hr
    RAM:     $memperc% ${membar}
    Swap:    $swapperc% ${swapbar}
    
    Root:    ${fs_size /} - ${fs_free_perc /}% free   ${fs_bar /}
    Home:    ${fs_size /home} - ${fs_free_perc /home}% free   ${fs_bar /home}
    Windows: ${fs_size /win} - ${fs_free_perc /win}% free   ${fs_bar /win}
    $stippled_hr
    External IP: $alignr $nodename
    Internal IP: $alignr ${addr wlan0}
    Down: ${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
    ${downspeedgraph eth0 50,125 C0C8CD 0000ff} ${alignr}${upspeedgraph eth0 50,125 C0C8CD ff0000}
    And here's how I launch Conky:
    Code:
    #!/bin/bash
    sleep 5
    feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`
    conky
     
  3. zephyrus17

    zephyrus17 Notebook Deity

    Reputations:
    646
    Messages:
    1,576
    Likes Received:
    0
    Trophy Points:
    55
    I have the 10 second delay script too, but I only need that when running pure Gnome. With gnome/openbox, I can set "sessions" to run conky directly. Either way, though, when I click the desktop, right or left click, it disappears.


    EDIT: HAHA! I'm a genius! while trying to figure out a way not to show the mounted devices on the desktop, I stumbled upon the fix.

    Basically it's running
    Code:
    gconf-editor (for gnome)
    kconfeditor (for kde)
    and navigating to apps > nautilus > preferences
    under preferences, there's a "show_desktop" option. untick it, and you're done! :D \0/ (I'm not really sure if it's the same for kubuntu)

    The 'problem' is that you won't have any desktop items. I prefer not to, so it's killing 2 birds with one stone. If you want desktop items, this fix won't work.
     
  4. FFZERO

    FFZERO Notebook Evangelist

    Reputations:
    23
    Messages:
    321
    Likes Received:
    1
    Trophy Points:
    31
    Try to comment out "own_window_type desktop". If not then change desktop type to normal. You should not need the "delay" method if you are not using compiz fusion.
     
  5. srunni

    srunni Notebook Deity

    Reputations:
    96
    Messages:
    854
    Likes Received:
    0
    Trophy Points:
    30
    Thanks for the tip! Changing it to normal worked for me.
     
  6. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    window type normal.....kubuntu is funky, I use superkaramba....much better
     
  7. blackbird

    blackbird Notebook Deity

    Reputations:
    584
    Messages:
    1,546
    Likes Received:
    0
    Trophy Points:
    55
    there is one ***** *** problem with superkaramba though.

    say you install an app using the superkaramba menu. then if the app dissapears somehow, you try to install it again but cant since in the list it has a green tick next to it.

    only way is to download it manually via kde-look.org