Results 1 to 10 of 10

Thread: Conky on top of windows at boot

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Beans
    18

    Conky on top of windows at boot

    Every time I boot, conky (the system manager tool) is on top of all other windows. Every time I restart conky (save the .conkyrc file) it ends up under all the windows.
    Here is my conkyrc up to the TEXT part:
    Code:
    ######################
    # - Conky settings - #
    ######################
    update_interval 1
    total_run_times 0
    net_avg_samples 1
    cpu_avg_samples 1
    
    imlib_cache_size 0
    double_buffer yes
    no_buffers yes
    
    #####################
    # - Text settings - #
    #####################
    use_xft yes
    xftfont Liberation Sans:size=8
    override_utf8_locale yes
    text_buffer_size 2048
    
    #############################
    # - Window specifications - #
    #############################
    own_window_class Conky
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    alignment top_right
    gap_x 25
    gap_y 40
    # minimum_size 182 0
    maximum_width 300
    
    default_bar_size 60 8
    
    #########################
    # - Graphics settings - #
    #########################
    draw_shades no
    
    default_color cccccc
    
    color0 white
    color1 fuchisa
    color2 white
    If nothing else, is there some command I that restarts conky other than saving the conkyrc file?

  2. #2
    Join Date
    Apr 2008
    Beans
    968

    Re: Conky on top of windows at boot

    You need to start Conky with a delay. If you make an empty text file and paste
    Code:
    #!/bin/bash
    sleep 30 && conky ;
    into it, then save it as a name with .sh on the end. Then you can set that script to run on startup instead of just "conky".

    It might work to just put
    Code:
    sleep 30 && conky
    into the code box for the startup preferences as well, but I haven't actually tried it that way.

  3. #3
    Join Date
    Aug 2009
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Talking Re: Conky on top of windows at boot

    BUMP! still it works ok.
    Seems issue related with Compiz: must be initiated after it.
    http://ubuntuforums.org/showpost.php...77&postcount=4

    Thanks

  4. #4
    Join Date
    Jul 2009
    Beans
    3
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Talking Re: Conky on top of windows at boot

    I've been banging my head against this for the last few hours. Thank you, this shell script solution with sleep works well!

  5. #5
    Join Date
    Jul 2006
    Beans
    44

    Re: Conky on top of windows at boot

    Hi,
    I am having the same problem but the solutions mentioned are having no effect. own_window_type is on override, I have tried changing my launcher sleep time 35 seconds, even though I have a usable desktop at 10 ish, I have even tried applying window rules in CCSM to class=Conky for below.

    The only resolve is to restart conky also it seems that seemingly randomly it will pop above the other windows again... here are my conky settings.
    Code:
    ####
    ## Use XFT? Required to Force UTF8 (see below).
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    text_buffer_size 2048
    
    ####
    ## Force UTF8? Requires XFT (see above).
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 1.5
    
    ####
    ## 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_type override
    own_window_transparent yes
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 0
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades no
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of text area.
    #
    minimum_size 238 0
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 8
    gap_y 33
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    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
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself).
    #
    color0 White
    color1 Ivory
    color2 Ivory2
    color3 Ivory3
    color4 Tan1
    color5 Tan2
    color6 Gray
    color7 AntiqueWhite4
    color8 DarkSlateGray
    color9 Black
    
    ####
    ## Load Lua for bargraphs (required).
    ## Set the path to your script here.
    #
    lua_load ~/.conky/scripts/bargraph.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Installed fonts (required).
    #
    # ConkyWeather (Stanko Metodiev)
    # ConkyWindNESW (Stanko Metodiev)
    # Cut Outs for 3D FX (Fonts & Things)
    # Droid Font Family (Google Android SDK)
    # Liberation Mono (Ascender Corp)
    # Liberation Sans (Ascender Corp)
    # Moon Phases (Curtis Clark)
    # OpenLogos (Icoma)
    # PizzaDude Bullets (Jakob Fischer)
    # Radio Space (Iconian Fonts)
    # StyleBats (Vinterstille)
    # Ubuntu (Canonical Ltd)
    # Ubuntu Title Bold (Paulo Silva)
    # Weather (Jonathan Macagba)
    
    TEXT
    ##################
    ##    SYSTEM    ##
    ##################
    ${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.65}${color3}${offset 5}${sysname}${offset 5}${kernel}${alignr}${font DroidSans:size=8.75}${machine}${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}P8700${alignr}${font DroidSans:size=8.4}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.4}${uptime_short}${font}
    ##################
    ##  PROCESSORS  ##
    ##################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 4}${font StyleBats:size=10}${color2}k${voffset -2}${font DroidSans:size=8.4}${color3}${offset 2}CPU1${offset 5}${font DroidSans:size=8.55}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font DroidSans:size=8.4}${color3}${offset 2}CPU2${offset 5}${font DroidSans:size=8.55}${cpu cpu2}%${font}
    ${voffset 2}${font StyleBats:size=10}${color2}j${voffset -2}${font DroidSans:size=8.4}${color3}${offset 2}TEMP${offset 5}${font DroidSans:size=8.55}${execi 4 i8kctl | cut --delimiter=" " -f 4}°C${font}
    ${voffset 2}${font StyleBats:size=10}${color2}o${voffset -2}${font DroidSans:size=8.4}${color3}${offset 2}RPM${offset 5}${font DroidSans:size=8.55}${execi 4 i8kctl | cut --delimiter=" " -f 8}${font}
    ##################
    ##    MEMORY    ##
    ##################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 4}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSans:size=8.4}${color3}${offset 3}RAM${goto 97}${font DroidSans:size=8.55}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
    ##################
    # TOP PROCESSES ##
    ##################
    ${voffset 16}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 4}${font StyleBats:size=10}${color1}h${voffset -3}${font DroidSans:size=8.75}${color3}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.55}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font DroidSans:size=8.75}${color3}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.55}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font DroidSans:size=8.75}${color3}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.55}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    ${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font DroidSans:size=8.75}${color3}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.55}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    ${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font DroidSans:size=8.75}${color3}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.55}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    ${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font DroidSans:size=8.75}${color3}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.55}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    ##################
    ##     HDD      ##
    ##################
    ${voffset 16}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 5}${font StyleBats:size=10}${color2}x${voffset -2}${font DroidSans:size=8.4}${color3}${offset 4}DRIVE${goto 95}${font DroidSans:size=8.55}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
    ${voffset 15}${font StyleBats:size=10}${color2}4${voffset -2}${font DroidSans:size=8.4}${color3}${offset 4}SWAP${goto 95}${font DroidSans:size=8.55}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
    Last edited by Wipster; February 7th, 2011 at 04:16 PM.
    Got something that needs fixing? Dont ask me.

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

    Re: Conky on top of windows at boot

    Try changing...
    Code:
    own_window_type override
    to
    Code:
    own_window_type normal

    and add
    Code:
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

  7. #7
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 16.10 Yakkety Yak

    Re: Conky on top of windows at boot

    Old thread closed.

Tags for this 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
  •