Conky do you use it ?

Discussion in 'macOS' started by DLM955, Jun 24, 2011.

Tags:
  1. DLM955

    DLM955 MDL Novice

    Oct 9, 2010
    10
    0
    0
    #1 DLM955, Jun 24, 2011
    Last edited: Jun 24, 2011
    I have been working with conky for 2 months and was wondering if there were others on mdl that use it.Thought we could get a thread going about configs we use and share info on it..

    For those that don't know what Conky is its a small program that can display system infomation on your screen such as temps of harddrive,cpu,gpu,harddrive space used,or even 1 folders space available, available memory. you have to write the configuration file for this program so you can customize it to have a little or a lot on your screen.

    what's your thoughts on this snapshot2.jpg
     
  2. DLM955

    DLM955 MDL Novice

    Oct 9, 2010
    10
    0
    0
    Ok lets get this started here is a simple config that I use on my laptop it has harddrive,cpu temps and how long laptop has been on..
    It doesn't dissappear when the desktop is clicked like a lot of people complain about,it is set for a 1280x800 resolution so if you use that size you shouldn't have to format it to fit your screen...

    # 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-2010 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.
    #

    alignment top_right
    background no
    border_width 1
    cpu_avg_samples 2
    default_color white
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont DejaVu Sans Mono:size=12
    gap_x 5
    gap_y 20
    minimum_size 1280 5
    maximum_width 1280
    net_avg_samples 2
    no_buffers yes
    double_buffer yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_class Conky
    own_window_type override
    own_window_transparent yes
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    total_run_times 0
    temperature_unit fahrenheit
    hddtemp_host 127.0.0.1
    hddtemp_port 7634

    TEXT

    ${offset 90}$uptime${goto 215}${image ~/icons/Thermometer-Snowflake-icon.png -p 190,15 -s 18x18}Crit temp ${hwmon 0 temp 1}ᵒf${goto 400}HDD temp ${hddtemp /dev/sda}ᵒf${image ~/icons/HardDrive-icon.png -p 360,10 -s 32x32}${goto 575}CPU0 ${hwmon 1 temp 1}ᵒf${image ~/icons/Devices-cpu-icon.png -p 535,10 -s 32x32}${goto 680}CPU1 ${hwmon 1 temp 3}ᵒf${image ~/icons/Portable-Computer-icon.png -p 780,5 -s 38x38}${image ~/icons/ubuntu-logo.png -p 1020,10 -s 32x32}${goto 1060}${time %A %B %d %Y}
     

    Attached Files:

  3. PharmaPhunk

    PharmaPhunk MDL Novice

    Jul 4, 2011
    5
    0
    0
    #3 PharmaPhunk, Jul 4, 2011
    Last edited by a moderator: Apr 20, 2017
    If you want conky to run a script and get the output you can use the execi command. Here's how you use it:

    Code:
    {execi interval_in_seconds /path/to/your/script}
    Pretty cool. If you know python/perl/php (or any other scripting language) you can write little scripts to fetch stock quotes, get random quotes, trending news, etc.
     
  4. TruPirate

    TruPirate MDL Novice

    Jul 4, 2011
    4
    0
    0
    #4 TruPirate, Jul 5, 2011
    Last edited by a moderator: Apr 20, 2017
    As for what i think about the image in your first post the 3D Desktop.. i personally don't like it doesnt make your system more practical just extra eye candy.

    conky.gif

    Its located at the top right of my screen... didn't want to change my wallpaper just to post here.
    It also shows the WIFI's ESSID and IP Address; I blacked them out.
    It is transparent so you can use this with a colored wallpaper.

    Code:
    background yes
    use_xft yes
    xftfont Sans:size=8
    xftalpha 1
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 200 200
    maximum_width 200
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color white
    alignment top_right
    gap_x 12
    gap_y 12
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    TEXT
    ${font sans-serif:bold:size=8}SYSTEM ${hr 2}
    ${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
    Host:$alignr$nodename
    Uptime:$alignr$uptime
    File System: $alignr${fs_type}
    
    ${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
    ${font sans-serif:normal:size=8}${cpugraph cpu1}
    CPU1: ${cpu cpu1}% ${cpubar cpu1}
    
    ${font sans-serif:bold:size=8}MEMORY ${hr 2}
    ${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
    $membar
    
    ${font sans-serif:bold:size=8}DISKS ${hr 2}
    ${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
    ${fs_bar /}
    SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
    ${swapbar}
    
    ${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
    ${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
    ${top_mem name 2}${alignr}${top mem 2} %
    $font${top_mem name 3}${alignr}${top mem 3} %
    $font${top_mem name 4}${alignr}${top mem 4} %
    $font${top_mem name 5}${alignr}${top mem 5} %
    
    ${font sans-serif:bold:size=8}NETWORK ${hr 2}
    ${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
    ESSID: $alignr ${wireless_essid wlan0}
    Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
    ${downspeedgraph wlan0}
    DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
    ${upspeedgraph wlan0}
    ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}
     
  5. DLM955

    DLM955 MDL Novice

    Oct 9, 2010
    10
    0
    0
    Actully I should have moved the image.I was asking about getting this thread started as a way to share conky.conf files.But yea that is a bling shot of my desktop computer.