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 Help

    Discussion in 'Linux Compatibility and Software' started by Carlosinfl, May 30, 2008.

  1. Carlosinfl

    Carlosinfl Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    Based on all the great screen shots on the "Post Your Screen shots" thread, I see everyone has really cool Conky setups. I am running Ubuntu 8.04 on my Dell Latitude & installed "conky" and my system however I wanted to know how to get a nice flashy looking conky that comes up at startup like everyone has. Is there a setup guide anyone can point me to?
     
  2. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
  3. Gintoki

    Gintoki Notebook Prophet

    Reputations:
    2,886
    Messages:
    6,566
    Likes Received:
    0
    Trophy Points:
    205
    You know what? Why don't the both of you just come down here to Miami, it's nice and toastier down here.
     
  4. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Calvin...it's wayyy too toasty here right now.....'cane season this weekend....oh boy!! :D
     
  5. Gintoki

    Gintoki Notebook Prophet

    Reputations:
    2,886
    Messages:
    6,566
    Likes Received:
    0
    Trophy Points:
    205
    I like hurricanes, the only downside is that it cuts your electricity and water and internet for a while. D:
     
  6. FFZERO

    FFZERO Notebook Evangelist

    Reputations:
    23
    Messages:
    321
    Likes Received:
    1
    Trophy Points:
    31
    If you are going to use compiz-fusion than you will need to create a bash file.

    Open the terminal and do the following:
    The will allow compiz fusion to load it setting first and for conky to be transparent and stay below any other window.
     
  7. Carlosinfl

    Carlosinfl Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    I am just using Compiz - I don't think that is the same as Comiz-Fusion, right? I am checking out the suggested links above now and see what I can manage.
    Thanks all.

    I am from Miami Beach (North Cuba) and never want to go back... ;)
     
  8. FFZERO

    FFZERO Notebook Evangelist

    Reputations:
    23
    Messages:
    321
    Likes Received:
    1
    Trophy Points:
    31
    If you are using Ubuntu 8.04, chances are that you are using compiz-fusion. Unless you removed compiz-fusion and install regular compiz (compiz-fusion are install by default ever since 7.10).

    The step above are highly recommended to have conky to startup automatically if you are using gnome and compiz-fusion. If you go to System>Preference>Sessions>Add tab and only put "conky" in the command field. Conky may be loaded as a separate window that stay above any other window unless its restarted. This is cause by compiz-fusion setting that happen to load after conky have been initiated.

    If the command line scare you, you can still do the same steps by opening your usual text-editor and save the file in you home directory.
     
  9. Carlosinfl

    Carlosinfl Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    Thanks. I had no idea Compiz Fusion was not a replacement for Compiz. I created the bash script above using VI since I don't have or like "Gedit" installed. I then saved the script and then added it to start up so the delay should work. Now I just need to find a conkyrc file that I like.

    Do you know where I can find some nice application bar launchers for Gnome?
     
  10. FFZERO

    FFZERO Notebook Evangelist

    Reputations:
    23
    Messages:
    321
    Likes Received:
    1
    Trophy Points:
    31
    You mean the dock as shown in mac osx? Avant Window Navigator is the one I use and is officially in the repository. To autostart this program, you only need avant-window-navigator in the command field ;) .

    Here the default conky's script found using this command to extract:

    zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc

    or copy and paste the one below (the same file as above).

    PHP:
    # UBUNTU-CONKY
    # A comprehensive conky script, configured for use on
    # Ubuntu / Debian Gnome, without the need for any external scripts.
    #
    # Based on conky-jc and the default .conkyrc.
    # INCLUDES:
    # - tail of /var/log/messages
    # - netstat connections to your computer
    #
    # -- Pengo ([email protected])
    #

    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type override
    own_window_transparent 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 yes
    use_xft no

    # 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
    font arial
    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 brown
    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 orange}SYSTEM ${hr 2}$color
    $nodename $sysname $kernel on $machine

    ${color orange}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 orange}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/hda1}%   ${fs_bar 6 /media/hda1}$color
    hdb3
    :  ${fs_free_perc /media/hdb3}%   ${fs_bar 6 /media/hdb3}

    ${
    color orange}NETWORK (${addr eth0}) ${hr 2}$color
    Down
    $color${downspeed eth0k/${alignr}Up: ${upspeed eth0k/s
    ${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
    25
    ,140 000000 00ff00}$color
    Total
    : ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 countOutbound: ${tcp_portmon 32768
    61000 count
    }${alignr}Total: ${tcp_portmon 1 65535 count}

    ${
    color orange}LOGGING ${hr 2}$color
    ${execi 30 tail -n3 /var/log/messages fold -w50}

    ${
    color orange}FORTUNE ${hr 2}$color
    ${execi 120 fortune -fold -w50}
     
  11. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Yes, if you're using gnome, AWN is in the repo's for a dock.
     
  12. Carlosinfl

    Carlosinfl Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    Thanks. I was looking for something like AWN and it works fine. I installed it using terminal / apt-get.

    I am a little confused however since I have it up & running, it appears to only show active windows I have open. Like a window list bar. How do I use it as a launcher for applications I commonly use rather than apps I already have running?
     
  13. FFZERO

    FFZERO Notebook Evangelist

    Reputations:
    23
    Messages:
    321
    Likes Received:
    1
    Trophy Points:
    31
    Simply, click and drag every program you want from Application to the dock. Another way to do this is to add them manually through awn-manager in the launcher tab.