Conky Showoff thread

Forum rules
Before you post please read this

Re: Conky Showoff thread

Postby RichTUK on Mon Sep 17, 2012 6:22 am

Image
RichTUK
Level 1
Level 1
 
Posts: 5
Joined: Mon Aug 22, 2011 10:58 pm

Linux Mint is funded by ads and donations.
 

Re: Conky Showoff thread

Postby werkman2 on Wed Sep 19, 2012 9:34 pm

heres mine
Attachments
Screenshot.png
Screenshot.png (158.83 KiB) Viewed 2056 times
werkman2
Level 1
Level 1
 
Posts: 44
Joined: Sun May 01, 2011 10:57 am
Location: curacao

Re: Conky Showoff thread

Postby homerscousin on Wed Sep 19, 2012 10:49 pm

I just happened to be checking the conkies here and saw titetanium asking how to get translucency on the background instead of a solid color. I did manage that although I have not figured how to change the background color from the default black. If this is what you are trying to do here is my code and a screenshot. I'm still playing with this. I just want it fairly simple with the info I need and the colors to blend with the wallpaper. I still need to change some of the black text to a lighter color. It's a pain if I change wallpaper. I'll have to make a copy with a different color scheme to associate with each wallpaper I guess.
own_window yes
own_window_color e9967a
#own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 25
#own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
conkypic2.png
conkypic2.png (639.75 KiB) Viewed 2051 times
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.
homerscousin
Level 5
Level 5
 
Posts: 541
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

Re: Conky Showoff thread

Postby werkman2 on Sun Sep 23, 2012 7:02 pm

here a new one
Attachments
Screenshot.png
Screenshot.png (115.62 KiB) Viewed 2021 times
werkman2
Level 1
Level 1
 
Posts: 44
Joined: Sun May 01, 2011 10:57 am
Location: curacao

Re: Conky Showoff thread

Postby Sector11 on Tue Oct 09, 2012 5:14 pm

Image
Doggie:
OH! OH! Pick me! Pick me!

Shamelessly borrowed, with modifications, from Voyager Linux while found on the ARCH forums.
Imagine that no shame anywhere. ;)

The Oneliner:
Code: Select all
#=== borrowed from: === Voyager Linux === http://voyager.legtux.org/ =========
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
#own_window_colour black
own_window_class Conky
own_window_title OneLiner

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type override
own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 200

#minimum_size 500 500 ## width, height
#maximum_width 500  ## width, usually a good idea to be '=' or '>' minimum width

gap_x -40 # left-right
gap_y 5 # up-down

alignment top_middle
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont DejaVu Sans Mono:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 0
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color grey
default_outline_color black

default_color DCDCDC #220 220 220    Gainsboro
color0 8FBC8F #143 188 143    DarkSeaGreen
color1 778899 #119 136 153    LightSlateGray
color2 FF8C00 #255 140   0    DarkOrange
color3 7FFF00 #127 255   0    Chartreuse
color4 FFA07A #255 160 122    LightSalmon
color5 FFDEAD #255 222 173    NavajoWhite
color6 00BFFF #  0 191 255    DeepSkyBlue
color7 00FFFF #  0 255 255    Cyan
color8 FFFF00 #255 255   0    Yellow
color9 B22222 #178  34  34    FireBrick
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 5 0 0 0 0 0x000000 0.3
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1


TEXT
 ${color6}HHD${color8} ${execi 15 hddtemp -n /dev/sda}°${color3} / ${color}${fs_free /} | ${fs_size /} ${color3}/home ${color}${fs_free /home} | ${fs_size /home}  ${color6}RAM${color} ${color3}${if_match ${memperc} < 10}00${memperc}\
${else}${if_match ${memperc} < 100}0${memperc}\
${else}${memperc}\
${endif}${endif} %${color} ${mem} | ${memmax}  ${color6}CPU ${color8}${platform f71882fg.2560 temp 1}°${color} ${color3}1|${color}${if_match ${cpu cpu1} < 10}00${cpu cpu1}\
${else}${if_match ${cpu cpu1} < 100}0${cpu cpu1}\
${else}${cpu cpu1}\
${endif}${endif}·${color3}2|${color}${if_match ${cpu cpu2} < 10}00${cpu cpu2}\
${else}${if_match ${cpu cpu2} < 100}0${cpu cpu2}\
${else}${cpu cpu2}\
${endif}${endif}·${color3}3|${color}${if_match ${cpu cpu3} < 10}00${cpu cpu3}\
${else}${if_match ${cpu cpu3} < 100}0${cpu cpu3}\
${else}${cpu cpu3}\
${endif}${endif}·${color3}A|${color}${color3}${if_match ${cpu cpu0} < 10}00${cpu cpu0}\
${else}${if_match ${cpu cpu0} < 100}0${cpu cpu0}\
${else}${cpu cpu0}\
${endif}${endif} % ${color6}GPU ${color8}${nvidia temp}° ${color3}Vid ${color}${nvidia gpufreq} Mhz${color3} MEM ${color}${nvidia memfreq} Mhz ${color6}MOBO${color8} ${platform f71882fg.2560 temp 2}°${color}


The Clock:
Code: Select all
#=== borrowed from: === Voyager Linux === http://voyager.legtux.org/ =========
#                               conkyrc_orange
#
#  author  : SLK
#  version : v2011011601
#  license : Distributed under the terms of GNU GPL version 2 or later
#
#=== Modified by: Sector11 09 Oct 12 =========================================
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
#own_window_colour black
own_window_class Conky
own_window_title Clock

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type override
own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 200

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

minimum_size 156 0 ## width, height
maximum_width 156  ## width

gap_x 5 # left-right
gap_y 5 # up-down

alignment top_left
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont WenQuanYi Micro Hei Mono:size=8

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 0
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color grey
default_outline_color black

default_color DCDCDC #220 220 220    Gainsboro
color0 8FBC8F #143 188 143    DarkSeaGreen
color1 778899 #119 136 153    LightSlateGray
color2 FF8C00 #255 140   0    DarkOrange
color3 7FFF00 #127 255   0    Chartreuse
color4 FFA07A #255 160 122    LightSalmon
color5 FFDEAD #255 222 173    NavajoWhite
color6 00BFFF #  0 191 255    DeepSkyBlue
color7 00FFFF #  0 255 255    Cyan
color8 FFFF00 #255 255   0    Yellow
color9 B22222 #178  34  34    FireBrick
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load ~/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.3
#
lua_load ~/.conky/conky5/clock_conky.lua
lua_draw_hook_post main
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1


TEXT
${voffset 55}${goto 55}${color7}${font White Rabbit:size=22}${time %e}${color1}${goto 45}${font WenQuanYi Micro Hei Mono:size=10}${time %a}
${goto 55}${color2}${font WenQuanYi Micro Hei Mono:size=9}${time %b}${color3} ${font WenQuanYi Micro Hei Mono:size=12}${time %y}${font}







NOTE: 6 blank lines at the end.

clock_conky.lua
Code: Select all
--==============================================================================
--  Modifired from: conky_orange.lua
--  author  : SLK
--  version : v2011011601
--  license : Distributed under the terms of GNU GPL version 2 or later
--
--  Sector11: 09 Oct 12 - clock_conky.lua
--==============================================================================

require 'cairo'

--------------------------------------------------------------------------------
--                                                                    clock DATA
-- HOURS
clock_h = {
    {
    name='time',                   arg='%H',                    max_value=12,
    x=78,                          y=80,
    graph_radius=53,
    graph_thickness=3,
    graph_unit_angle=30,           graph_unit_thickness=30,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.0,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    txt_radius=34,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.6,
    graduation_radius=53,
    graduation_thickness=6,        graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    },
}
-- MINUTES
clock_m = {
    {
    name='time',                   arg='%M',                    max_value=60,
    x=78,                          y=80,
    graph_radius=57,
    graph_thickness=2,
    graph_unit_angle=6,            graph_unit_thickness=6,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    txt_radius=70,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.6,
    graduation_radius=57,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    },
}
-- SECONDS
clock_s = {
    {
    name='time',                   arg='%S',                    max_value=60,
    x=78,                          y=80,
    graph_radius=50,
    graph_thickness=2,
    graph_unit_angle=6,            graph_unit_thickness=2,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.0,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.2,
    txt_radius=40,
    txt_weight=0,                  txt_size=12.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.3,
    graduation_radius=0,
    graduation_thickness=0,        graduation_mark_thickness=0,
    graduation_unit_angle=0,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.0,
    },
}

--------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-------------------------------------------------------------------------------
--                                                            angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
--
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end

-------------------------------------------------------------------------------
--                                                              draw_clock_ring
-- displays clock
--
function draw_clock_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']

    -- background ring
    cairo_arc(display, x, y, graph_radius, 0, 2 * math.pi)
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = (value % max_value)
    local i = 1
    while i <= val do
        cairo_arc(display, x, y, graph_radius,(  ((graph_unit_angle * i) - graph_unit_thickness)*(2*math.pi/360)  )-(math.pi/2),((graph_unit_angle * i) * (2*math.pi/360))-(math.pi/2))
        cairo_set_source_rgba(display,rgb_to_r_g_b(graph_fg_colour,graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = (graph_unit_angle * i) - graph_unit_thickness

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = 360 / graduation_unit_angle
        local i = 1
        while i <= nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            cairo_arc(display, x, y, graduation_radius, (((graduation_unit_angle * i)-(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2),(((graduation_unit_angle * i)+(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * (math.cos((angle * 2 * math.pi / 360)-(math.pi/2)))
    local movey = txt_radius * (math.sin((angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight);
    cairo_set_font_size (display, txt_size);
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha));
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3);
    cairo_show_text (display, value);
    cairo_stroke (display);
end

-------------------------------------------------------------------------------
--                                                               go_clock_rings
-- loads data and displays clock
--
function go_clock_rings(display)
    local function load_clock_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_clock_ring(display, data, value)
    end

    for i in pairs(clock_h) do
        load_clock_rings(display, clock_h[i])
    end
    for i in pairs(clock_m) do
        load_clock_rings(display, clock_m[i])
    end
    for i in pairs(clock_s) do
        load_clock_rings(display, clock_s[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    if conky_window == nil then
        return
    end

    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)

--[[    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)

    if update_num > 5 then ]]
        go_clock_rings(display)
        go_gauge_rings(display)
    --end

end
#! pushed to Debian SID & OpenBox
Conky PitStop
User avatar
Sector11
Level 1
Level 1
 
Posts: 39
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Postby Sector11 on Tue Oct 09, 2012 5:24 pm

steveking wrote:I have nothing to show off conky wise as I have never used it. But I am very interested to know how you create some of these graphical marvels! I don't suppose anyone fancies or knows of a conky for complete idots tutorial? just the basics will do as I'm not a complete idot with Linux just conky!


Did you get any help? How about this (old but still good): HOW TO: A Beginners Guide to Setting up Conky
#! pushed to Debian SID & OpenBox
Conky PitStop
User avatar
Sector11
Level 1
Level 1
 
Posts: 39
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Postby xxmlud on Tue Oct 09, 2012 6:40 pm

RichTUK wrote:Image



Code?

Thx
ImageImage
¡Made for YOU!
User avatar
xxmlud
Level 3
Level 3
 
Posts: 109
Joined: Tue Apr 03, 2012 5:57 pm
Location: Made in user

Re: Conky Showoff thread

Postby Zorba on Sat Oct 20, 2012 7:43 am

This my conky! It monitors mobile broadband network traffic!!!

Code: Select all
========================================================================
# Conky-Serdar
#----------------------------------------------------------------------
# For Autostart(Openbox): conky -c ~/.conky/conkyrc
#
# For Autostart(Ubuntu/Gnome): create conky-startup.sh paste below two lines without first #
# #!/bin/bash
# conky -c ~/.conky/conkyrc ;
# alt+F2 gnome-session-properties > add .conky/conky-startup.sh
#----------------------------------------------------------------------
# Disable a section, add "#" beginning of the line
#----------------------------------------------------------------------
# For quad/dual core processors add/remove "#" beginning of the core2,3,4
#
# CPU Info: cat /proc/cpuinfo
#----------------------------------------------------------------------
# Battery Info: ls /proc/acpi/battery > cat /proc/acpi/battery/****/info
# For battery info add/remove "#" beginning of the battery line
#----------------------------------------------------------------------
# alignment b=bottom t=top l=left r=right
#----------------------------------------------------------------------
# for hddtemp: apt-get install hddtemp >"then reboot"> sudo nc localhost 7634
#----------------------------------------------------------------------
# Nvidia gpu temp: apt-get install nvidia-settings
#
========================================================================

background yes
update_interval 1
total_run_times 0

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 05
gap_y 00
minimum_size 190 350
maximum_width 320
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no

default_color DeepSkyBlue
color1 Orange
color2 Green
color3 Red
color4 Yellow
color5 DDDDDD
color6 AAAAAA
color7 888888
color8 666666

TEXT

${color1}${font :Bold:size=14} $alignc ${time %H}:${time %M}
${color}${font :Bold:size=14} $alignc ${time %h} ${time %e} - ${time %Y}${font :Bold:size=08}
$alignc(${time %A})
${color8}$alignc Uptime: $uptime
${color4}CPU & Memory:
${color5}Overall:${color}$alignr${cpubar 8,145} ${color5}$cpu%@${freq_g cpu}GHz
${color7}Core1: ${color}${cpubar cpu1 7,76} ${color7}${cpu cpu1}% $alignr${color7}${cpu cpu2}%${color}${cpubar cpu2 7,76}${color7} :Core2
${color7}Core3: ${color}${cpubar cpu3 7,76} ${color7}${cpu cpu3}% $alignr${color7}${cpu cpu4}%${color}${cpubar cpu4 7,76}${color7} :Core4
${color}${cpugraph 15,}
${color5}RAM ${alignr}${color7}$mem / $memmax ($memperc%)
${color}${membar 8}
${color5}SWAP ${alignr}${color7}$swap / $swapmax ($swapperc%)
${color}${swapbar 8}
${color5}Highest CPU & Memory $alignr CPU% MEM%
${color6}${top name 1}$alignr${top cpu 1} ${top mem 1}
${color7}${top name 2}$alignr${top cpu 2} ${top mem 2}
${color8}${top name 3}$alignr${top cpu 3} ${top mem 3}
${color8}${top name 4}$alignr${top cpu 4} ${top mem 4}

${color4}Temperature:
$alignc${color}CPU: ${color1}${hwmon 0 temp 1}°C  ${color}GPU: ${color1}${execi 60 nvidia-settings -t -q GPUCoreTemp} °C  ${color}HDD1: ${color1}${hddtemp /dev/sda} °C  ${color}HDD2: ${color1}${hddtemp /dev/sdb} °C

#${color4}Battery:${color1}${alignr}${battery_percent BAT1}
#${color}${battery_bar BAT1}

${color4}HDD:
${color6}Linux:${color1}(${fs_type})${alignr}${color5}${fs_size /}>${color6}${fs_used /}${color}${alignr}${fs_bar 8,75} ${color7}(${fs_used_perc /}%)
${color6}SDA1:${color1}(${fs_type /media/Windows})${alignr}${color5}${fs_size /media/Windows}>${color6}${fs_used /media/Windows}${color}${alignr}${fs_bar 8,75 /media/Windows} ${color7}(${fs_used_perc /media/Windows}%)
${color6}SDA2:${color1}(${fs_type /media/Backup})${alignr}${color5}${fs_size /media/Backup}>${color6}${fs_used /media/Backup}${color}${alignr}${fs_bar 8,75 /media/Backup} ${color7}(${fs_used_perc /media/Backup}%)
${color6}SDA3:${color1}(${fs_type /media/Storage})${alignr}${color5}${fs_size /media/Storage}>${color6}${fs_used /media/Storage}${color}${alignr}${fs_bar 8,75 /media/Storage} ${color7}(${fs_used_perc /media/Storage}%)
${color7}HDD Read-> ${alignc}${color2}${diskio_read}/s ${alignr}${color3}${diskio_write}/s ${color7}<-HDD Write
${color2}${diskiograph_read 10,150} ${alignr}${color3}${diskiograph_write 10,150}${color}

${color4}Lan:${color} ${alignr}${color7}IP: ${addr eth0}
${color7}Download: ${color2}${downspeed eth0} k/s ${alignr} $alignr${color7}Upload: ${color3} ${upspeed eth0} k/s
${color2}${downspeedgraph eth0 10,150} ${alignr}${color3}${upspeedgraph eth0 10,150}
${color7}Total:${color2}${totaldown eth0} ${alignr}${color7}Total:${color3}${totalup eth0}

${color4}ppp0 (${addr ppp0}) ${hr 2}$color
Down: $color${downspeed ppp0} k/s ${alignr}Up: ${upspeed ppp0} k/s
${downspeedgraph ppp0 25,140 000000 ff0000} ${alignr}${upspeedgraph ppp0
25,140 000000 00ff00}$color

${color4}Wifi:${alignr}${color7}IP: ${addr wlan0}
${color7}ESSID:${color1}${wireless_essid wlan0} ${color7}Rate:${color1}${wireless_bitrate wlan0} ${alignr}${color7}Quality:${color1}${wireless_link_qual_perc wlan0}%${color}${wireless_link_bar 8,80 wlan0}
${color7}Download: ${color2}${downspeed wlan0}KB/s ${color3} $alignr${color7}Upload: ${alignr}${color3}${upspeed wlan0}KB/s
${color2}${downspeedgraph wlan0 10,150} ${alignr}${color3}${upspeedgraph wlan0 10,150}
${color7}Total:${color2}${totaldown wlan0} ${alignr}${color7}Total:${color3}${totalup wlan0}

screenshot.jpg
screenshot.jpg (492.83 KiB) Viewed 1792 times
Last edited by Zorba on Sat Oct 20, 2012 9:34 pm, edited 1 time in total.
Image Image
User avatar
Zorba
Level 7
Level 7
 
Posts: 1985
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Conky Showoff thread

Postby Sector11 on Sat Oct 20, 2012 9:16 am

Brahim wrote:This my conky! It monitors mobile broadband network traffic!!!

screenshot.jpg


Nice looking conky, but if I may point out a few things - For alignment there is also a 'middle' option:
alignment

Aligned position on screen, may be top_left, top_right, top_middle, bottom_left, bottom_right, bottom_middle, middle_left, middle_middle, middle_right, or none (also can be abreviated as tl, tr, tm, bl, br, bm, ml, mm, mr). See also gap_x and gap_y.

Code: Select all
tl tm tr
ml mm mr
bl bm br


Also I see some "N/A" in there for your Hard drive temps. Try this to reconfigure hddtemp
Code: Select all
sudo dpkg-reconfigure hddtemp

There are three responses needed: answer: YES; Enter (0 is good); NO!
Depending on your system you may need to logout

Now: you can use hddtemp the way you have to get everything or if you just want the temperature use the 'number' option (much better than using grep | sed | awk or cut):
Code: Select all
 20 Oct 12 | 09:58:01 ~
         $ hddtemp /dev/sda
/dev/sda: WDC WD2500AAJS-00VWA0: 31°C

 20 Oct 12 | 09:58:18 ~
         $ hddtemp /dev/sda -n
31

 20 Oct 12 | 09:58:24 ~
         $ 20 Oct 12 | 10:02:29 ~
         $ hddtemp /dev/sda | cut -c 34-35
31
 


And one more, if you are using nvidia-settings as you are:
Code: Select all
${execi 60 nvidia-settings -t -q GPUCoreTemp} °C

can be changed to:
Code: Select all
${nvidia temp} °C


Now having said that would you mind if I put those changes in and put it up at Conky PitStop?
#! pushed to Debian SID & OpenBox
Conky PitStop
User avatar
Sector11
Level 1
Level 1
 
Posts: 39
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Postby Zorba on Sat Oct 20, 2012 9:39 pm

Thanks for saying that!! Feel free to edit, use and post it!!! :D
Image Image
User avatar
Zorba
Level 7
Level 7
 
Posts: 1985
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Conky Showoff thread

Postby Zorba on Sun Oct 21, 2012 2:54 pm

Where's my post !!!!Can't find it!!!
Image Image
User avatar
Zorba
Level 7
Level 7
 
Posts: 1985
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Conky Showoff thread

Postby Zorba on Sun Oct 21, 2012 4:14 pm

I KEEP POSTING BUT CAN'T FIND MY POSTS!!HELP!!
Image Image
User avatar
Zorba
Level 7
Level 7
 
Posts: 1985
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Conky Showoff thread

Postby zerozero on Sun Oct 21, 2012 4:28 pm

Brahim,
your last posts are here on this topic, 3 on a row, dated from Sun Oct 21, 10:14pm, 8:54pm and 3:39am.
if by any change you tried to post in other place are you absolutely sure that it was successfully posted?
User avatar
zerozero
Level 16
Level 16
 
Posts: 6435
Joined: Tue Jul 07, 2009 2:29 pm

Re: Conky Showoff thread

Postby Oscar799 on Sun Oct 21, 2012 5:08 pm

Brahim
If you click on your username where it appears under your avatar you will be taken to your profile page,their is an option listed on the right of that page to "View User's Posts" that will show you a listing of everything that you have posted on the forums
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8699
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Conky Showoff thread

Postby Zorba on Sun Oct 21, 2012 8:24 pm

I have made some adjustments to my script to better suit Linux Mint!! I submit this to Linux Mint team and suggest that they include it in the coming release. Conky is a headache for many linuxers and it saves them trouble to have it preinstalled and preconfigured. I have added Linux Mint logo to it as well for more originality!! feedback is warmly welcomed bros!! Asssess and rate it!! I'm a Mint fan and its future matters to me!! Following is my .conkyrc for the blue version (You can find my conky-LinuxMint.tar.gz -green version- at http://linuxmint-art.org/content/show.p ... ent=154860):

Code: Select all
========================================================================
# Conky-Linux Mint
# author: Brahim Salem-Tunisia
# telephone: 00216 97 95 72 72
========================================================================

background yes
update_interval 1
total_run_times 0

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 10
gap_y 40
minimum_size 190 350
maximum_width 320
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no

default_color Olivedrab3   
color1 Grey      
color2 Olivedrab3   
color3 Yellow   
color4 Olivedrab3   
color5 DDDDDD
color6 AAAAAA
color7 888888
color8 666666

TEXT

${color1}${font :Bold:size=14} $alignc ${time %H}:${time %M}
${color}${font :Bold:size=14} $alignc ${time %h} ${time %e} - ${time %Y}${font :Bold:size=08}
$alignc(${time %A})
${color8}$alignc Uptime: $uptime
${color1}Linux ${color}Mint ${color1}$alignc from freedom came elegance
${color3}$sysname $kernel $nodename    $machine
${color4}CPU & Memory:
${color5}Overall:${color}$alignr${cpubar 8,145} ${color5}$cpu%@${freq_g cpu}GHz
${color7}Core1: ${color}${cpubar cpu1 7,76} ${color7}${cpu cpu1}% $alignr${color7}${cpu cpu2}%${color}${cpubar cpu2 7,76}${color7} :Core2
${color7}Core3: ${color}${cpubar cpu3 7,76} ${color7}${cpu cpu3}% $alignr${color7}${cpu cpu4}%${color}${cpubar cpu4 7,76}${color7} :Core4
${color}${cpugraph 15,320 000000 ff0000}
${color5}RAM ${alignr}${color7}$mem / $memmax ($memperc%)
${color}${membar 8}
${color5}SWAP ${alignr}${color7}$swap / $swapmax ($swapperc%)
${color4}${swapbar 8}
${color5}Highest CPU & Memory $alignr CPU% MEM%
${color6}${top name 1}$alignr${top cpu 1} ${top mem 1}
${color7}${top name 2}$alignr${top cpu 2} ${top mem 2}
${color8}${top name 3}$alignr${top cpu 3} ${top mem 3}
${color8}${top name 4}$alignr${top cpu 4} ${top mem 4}
${image ~/.conky/logo.png -p 0,2 -s 75x75}
${color4}Temperature:
$alignc${color}CPU: ${color1}${hwmon 0 temp 1}°C  ${color}GPU: ${color1}${execi 60 nvidia-settings -t -q GPUCoreTemp} °C  ${color}HDD1: ${color1}${hddtemp /dev/sda} °C  ${color}HDD2: ${color1}${hddtemp /dev/sdb} °C
${color4}Battery Status $hr
${color1}${alignr} ${battery BAT0} $alignr
${color2}${battery_bar BAT0}
${color4}HDD:
${color6}Linux:${color1}(${fs_type})${alignr}${color5}${fs_size /}>${color6}${fs_used /}${color}${alignr}${fs_bar 8,75} ${color7}(${fs_used_perc /}%)
${color6}SDA1:${color1}(${fs_type /media/Windows})${alignr}${color5}${fs_size /media/Windows}>${color6}${fs_used /media/Windows}${color}${alignr}${fs_bar 8,75 /media/Windows} ${color7}(${fs_used_perc /media/Windows}%)
${color6}SDA2:${color1}(${fs_type /media/Backup})${alignr}${color5}${fs_size /media/Backup}>${color6}${fs_used /media/Backup}${color}${alignr}${fs_bar 8,75 /media/Backup} ${color7}(${fs_used_perc /media/Backup}%)
${color6}SDA3:${color1}(${fs_type /media/Storage})${alignr}${color5}${fs_size /media/Storage}>${color6}${fs_used /media/Storage}${color}${alignr}${fs_bar 8,75 /media/Storage} ${color7}(${fs_used_perc /media/Storage}%)
${color7}HDD Read-> ${alignc}${color2}${diskio_read}/s ${alignr}${color3}${diskio_write}/s ${color7}<-HDD Write
${color2}${diskiograph_read 10,150 000000 ff0000} ${alignr}${color3}${diskiograph_write 10,150 000000 ff0000}$color
${color4}Lan:${color} ${alignr}${color7}IP: ${addr eth0}
${color7}Download: ${color2}${downspeed eth0} k/s ${alignr} $alignr${color7}Upload: ${color3} ${upspeed eth0} k/s
${color2}${downspeedgraph eth0 10,150} ${alignr}${color3}${upspeedgraph eth0 10,150}
${color7}Total:${color2}${totaldown eth0} ${alignr}${color7}Total:${color3}${totalup eth0}
${color4}ppp0 (${addr ppp0}) ${hr 2}$color
Down: $color${downspeed ppp0} k/s ${alignr}Up: ${upspeed ppp0} k/s
${downspeedgraph ppp0 25,140 000000 ff0000} ${alignr}${upspeedgraph ppp0
25,140 000000 00ff00}$color
${color4}Wifi:${alignr}${color7}IP: ${addr wlan0}
${color7}ESSID:${color1}${wireless_essid wlan0} ${color7}Rate:${color1}${wireless_bitrate wlan0} ${alignr}${color7}Quality:${color1}${wireless_link_qual_perc wlan0}%${color}${wireless_link_bar 8,80 wlan0}
${color7}Download: ${color2}${downspeed wlan0}KB/s ${color3} $alignr${color7}Upload: ${alignr}${color3}${upspeed wlan0}KB/s
${color2}${downspeedgraph wlan0 10,150} ${alignr}${color3}${upspeedgraph wlan0 10,150}
${color7}Total:${color2}${totaldown wlan0} ${alignr}${color7}Total:${color3}${totalup wlan0}

Image
Last edited by McLovin on Sat Nov 03, 2012 3:19 pm, edited 1 time in total.
Reason: Moderator edit: Replaced full size image with thumbnail linking to full size
Image Image
User avatar
Zorba
Level 7
Level 7
 
Posts: 1985
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Conky Showoff thread

Postby fog on Mon Oct 29, 2012 7:14 am

Image

Simple and clean.
I’m not antisocial, I’m just not user friendly.
blog || dArt
fog
Level 1
Level 1
 
Posts: 14
Joined: Mon Apr 30, 2007 7:35 am
Location: Athens, Greece

Re: Conky Showoff thread

Postby Sector11 on Mon Oct 29, 2012 1:07 pm

fog wrote:Image

Simple and clean.


You missed one adjective: Beautiful!
#! pushed to Debian SID & OpenBox
Conky PitStop
User avatar
Sector11
Level 1
Level 1
 
Posts: 39
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Postby fog on Sat Nov 03, 2012 9:25 am

An "old fashioned" conky and openbox.

Image

@ Sector11 This means a lot to hear from a conky master. Thank you. :)
Sector11 wrote:
fog wrote:Image

Simple and clean.


You missed one adjective: Beautiful!
I’m not antisocial, I’m just not user friendly.
blog || dArt
fog
Level 1
Level 1
 
Posts: 14
Joined: Mon Apr 30, 2007 7:35 am
Location: Athens, Greece

Re: Conky Showoff thread

Postby McLovin on Sat Nov 03, 2012 3:08 pm

This is my latest conky, I used a lua script made by Sector11 from Conky Pit-Stop, and added another lua to draw a background a,d boarders to it, as well as make the hands have a thick to thin look to them.
The CPU bars come out from the center, and there are alarm colors for when things start to run really high.
The weather in the clock is conkyForecast from conky-companions, and there is a now playing feature on the bottom of the config on the right, it scrolls "Media Player Not Currently Running" if there is no medai player runng, and the noew playing info if there is, it auto detects which one is running (using Exaile. Rhythmbox, Banshee, Clementine, Guaydeque) and uses conky<Medaplayer> scripts from conky-companions as well.
There is also a transmission display on the bottom of the config on the left, using conkyTransmission, again, by conky-companions, that only shows if Transmission is running.
The calendar is shown with conkyGoogleCalendar by, you guessed it, conky-companions.

Image
click for full size preview

And you can download the full set-up, including a script that you can use a switch to turn it on and off, in an archive from here Download the full config
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

Re: Conky Showoff thread

Postby McLovin on Sat Nov 03, 2012 3:13 pm

Everyone, as a reminder, please, DO NOT post screenshots directly in the forums, use an outside image host, like OmpLoader, or ImageBox, and put the thumbnail code into the forums with a link to the fulsize image. This will help keep the forums looking cleaner, and help users with slower internet connections, as the full size images can take time to load if you have a slow connection.
User avatar
McLovin
Level 5
Level 5
 
Posts: 788
Joined: Thu Aug 23, 2007 6:53 pm

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 3 guests