Show Off Your Conky!!

Associate
Joined
12 Mar 2011
Posts
1,913
Location
Alicante, Es / Wales
Show Off or Share Conky and Settings!!

screenshotfcq.png


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 sans:size=7
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 5
gap_y 40
maximum_width 180
minimum_size 850


default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no

default_color efefef
default_shade_color 1d1d1d
color0 555555
color1 FCAF3E
color2 56789B
color3 a82553

#lua_load ~/.conky/conkybg.lua
#lua_draw_hook_pre conky_draw_bg


TEXT
${color2}${goto 10}
${voffset -20}${color2}${font led:size=10}SYSTEM ${font}$hr
${color}${nodename} 
${color}${sysname} Kernel: ${alignr}$kernel
${color}Uptime: ${alignr}$uptime

${voffset -10}${color2}${font led:size=10}CPU ${font}$hr
${color}Core 1:  ${cpu cpu1}% $alignr ${freq_g (1)} GHz / ${exec sensors | grep "Core 0" | cut --bytes=14-21}
${color}Core 2:  ${cpu cpu2}% $alignr ${freq_g (2)} GHz / ${exec sensors | grep "Core 1" | cut --bytes=14-21}

${voffset -6}${color2}${font led:size=10}MEMORY / HDD ${font}$hr
${color}Ram: ${mem} / ${memmax} ${alignr} ${memperc}%
${color}Swap: ${swap} / ${swapmax} ${alignr} ${swapperc}%
${color}HDD: ${fs_used /} / ${fs_size /} ${alignr} ${fs_used_perc /}%
${color}Ext HDD: ${fs_used /media/WD-Media-Drive/} / ${fs_size /media/WD-Media-Drive/} ${alignr} ${fs_used_perc /media/WD-Media-Drive/}%

${voffset -10}${color2}${font led:size=10}WIFI ${font}$hr
${color}gateway IP: ${alignr}${gw_ip}
${color}local IP: $alignr${addr wlan0}
${voffset 5}${color2}${goto 10}${font pizzadude bullets:size=16}O${font}${color}${voffset -12}${goto 40}Down: ${downspeed wlan0} ${color}
${goto 40}Day: ${totaldown wlan0}${voffset -12}${alignr}${downspeedgraph wlan0 25,50 56789B 56789B}
${color2}${goto 10}${font pizzadude bullets:size=16}U${font}$color${voffset -12}${goto 40}Up: ${upspeed wlan0}${color}
${goto 40}Day: ${totalup wlan0}${voffset -12}${alignr}${upspeedgraph wlan0 25,50 56789B 56789B}
${voffset -10}${color}${font}${alignc}$alignr${wireless_essid wlan0}
${if_running rhythmbox} ${voffset -6}${color2}${font led:size=10}Now Playing ${font}$hr
${font}Rhythmbox:$alignr$color${exec conkyRhythmbox --datatype=ST}
${font}Artist:$alignr$color${exec conkyRhythmbox --datatype=AR}
${font}Title:$alignr$color${exec conkyRhythmbox --datatype=TI}
${font}Album:$alignr$color${exec conkyRhythmbox --datatype=AL}
${font}Position:${color}${alignr}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE} - ${exec conkyRhythmbox --datatype=PP}%$color$font
${color2}${execibar 1 conkyRhythmbox --datatype=PP}
${execi 4 cp "`conkyRhythmbox --datatype=CA | sed -e 's/\\\//g'`" ~/.album}${image ~/.album -p 150,350-s 30x30 -n}$endif
${if_existing /proc/net/route wlan0}${font led:size=10}${color2}FACEBOOK: ${font}$hr
${voffset -2}${font}${color}${execi 60 ~/scripts/facebook}${color}
${endif}

the facebbok bit is just an rss feed im setting up for something else but havnt got around to it yet
 
Last edited:
Associate
Joined
17 Oct 2002
Posts
562
Location
Cambridge
rt449e.jpg


And the conkyrc file:

Code:
# 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 right

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=9
xftalpha 0.8
text_buffer_size 2048
 
# Update interval in seconds
update_interval 1.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
uppercase no # set to yes if you want all text to be in uppercase
 
# Stippled borders?
stippled_borders 3
 
# 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
 
${color orange}CPU ${hr 2}$color
${cpugraph 60,320 eeeeee ffffff}
${font Mono:size=10}NAME    ${alignr}PID    CPU%    MEM%
${top name 1}	${alignr}${top pid 1}  ${top cpu 1}  ${top mem 1}
${top name 2}	${alignr}${top pid 2}  ${top cpu 2}  ${top mem 2}
${top name 3}	${alignr}${top pid 3}  ${top cpu 3}  ${top mem 3}
${top name 4}	${alignr}${top pid 4}  ${top cpu 4}  ${top mem 4}
${top name 5}   ${alignr}${top pid 5}  ${top cpu 5}  ${top mem 5}
${top name 6}   ${alignr}${top pid 6}  ${top cpu 6}  ${top mem 6}

$font${color orange}MEMORY / DISK ${hr 2}$color
RAM:   $memperc%   ${alignr}${membar 6,220}$color
Swap:  $swapperc%   ${alignr}${swapbar 6,220}$color

Root:  ${fs_free_perc /}%   ${alignr}${fs_bar 6,220 /}$color 
User:  ${fs_free_perc /usr}%   ${alignr}${fs_bar 6,220 /usr}$color
Home:  ${fs_free_perc /home}%   ${alignr}${fs_bar 6,220 /home}$color
Data:  ${fs_free_perc /data}%   ${alignr}${fs_bar 6,220 /data}$color
 
${color orange}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 ff8c00 ff0000} ${alignr}${upspeedgraph eth0 
25,140 0000CD 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}

${color orange}CLUSTER ${hr 2}$color
${font Mono:size=10}${execi 30 ssh uk-cri-lcst01 bqueues | head -n8 | cut -c 1-16,56-79}

Jobs Running:  ${execi 30 ssh uk-cri-lcst01 bjobs -r -u smith68 | grep ^[0-9] | wc -l}
Cores Used:    ${execi 30 ssh uk-cri-lcst01 bjobs -r -u smith68 | tail -n +2 | wc -l}
Jobs Pending:  ${execi 30 ssh uk-cri-lcst01 bjobs -p -u smith68 | grep ^[0-9] | wc -l}
 
Associate
Joined
8 Apr 2008
Posts
1,471
Location
Berks+Powys
I tried conky a few times, and every time remove it when I realize it actually eats a lot of CPU just being there. On the other hand gkrellm is not as good looking, but is very lightweight and almost never show in in top...
 
Soldato
Joined
6 Nov 2005
Posts
8,066
Location
MK45
Holy thread revival, batman!

Anyway, seeing as Grimbough is/was pretending to be doing some bioinformatics in the background whilst blatantly browsing OcUK, I shall do the same :p

V7pqYSO.png

Code:
Code:
 # WINDOW SETTINGS
own_window yes
own_window_type desktop
own_window_hints undecorated, skip_taskbar, skip_pager, below, sticky
own_window_argb_visual yes
own_window_transparent yes
double_buffer yes
update_interval 1.0
alignment top_right
gap_x 25
gap_y 25
maximum_width 320
no_buffers yes

# TYPEFACE SETTINGS
use_xft yes
xftfont DejaVu Sans:size=9
text_buffer_size 2048
draw_shades no
default_color white

TEXT
${font DejaVu Sans:size=12:bold}${alignc}${time %T} ${time %A} ${time %d} ${time %B}${font}
${hr 2}
  CPU (${execi 5 cat /sys/devices/pci0000:00/0000:00:1a.3/temp1_input |cut -c  1-2}|${execi 5 cat /sys/devices/pci0000:00/0000:00:1c.3/temp1_input |cut -c  1-2}|${execi 5 cat /sys/devices/pci0000:00/0000:00:1e.3/temp1_input |cut -c  1-2}|${execi 5 cat /sys/devices/pci0000:00/0000:00:18.3/temp1_input |cut -c  1-2}°C)${alignr}$cpu%  
${cpugraph 60,320 eeeeee ffffff}
  MEMORY ${alignr}$memperc% ($swapperc% swap)  
${memgraph 60,320 eeeeee ffffff}
  DISK ${alignr} $diskio_write / $diskio_read
${diskiograph_write 60,150 eeeeee ffffff} ${alignr}${diskiograph_read 60,150 eeeeee ffffff}
  NETWORK ($addr) ${alignr}${downspeed eth0} / ${upspeed eth0}
${downspeedgraph eth0 60,150 eeeeee ffffff} ${alignr}${upspeedgraph eth0 60,150 eeeeee ffffff}
${hr 2}
${top name 1}    ${alignr}${top pid 1}  ${top cpu 1}  ${top mem 1}
${top name 2}    ${alignr}${top pid 2}  ${top cpu 2}  ${top mem 2}
${top name 3}    ${alignr}${top pid 3}  ${top cpu 3}  ${top mem 3}
${top name 4}    ${alignr}${top pid 4}  ${top cpu 4}  ${top mem 4}
${top name 5}   ${alignr}${top pid 5}  ${top cpu 5}  ${top mem 5}
${top name 6}    ${alignr}${top pid 6}  ${top cpu 6}  ${top mem 6}
${top name 7}    ${alignr}${top pid 7}  ${top cpu 7}  ${top mem 7}
${top name 8}    ${alignr}${top pid 8}  ${top cpu 8}  ${top mem 8}
${top name 9}    ${alignr}${top pid 9}  ${top cpu 9}  ${top mem 9}
${top name 10}   ${alignr}${top pid 10}  ${top cpu 10}  ${top mem 10}
${hr 2}
 
Last edited:
Associate
OP
Joined
12 Mar 2011
Posts
1,913
Location
Alicante, Es / Wales
OK, noticed a few mistakes in there and had a little time today to make some changes.

1MU2yjE.jpg

Still need to sort out the CPU temps properly :p

Code:
Code:
 # WINDOW SETTINGS
#----------------------------------------------------------------------------------------------------------------------------------------
#						BATT 
#----------------------------------------------------------------------------------------------------------------------------------------

$color${font}${color 0ABFFF}${font caviar dreams:size=8}

${color}Battery

${color #0ABFFF}${battery BAT0} $color ${battery_time BAT0} ${battery_bar BAT0}

#----------------------------------------------------------------------------------------------------------------------------------------
#					           CPU usage 
#----------------------------------------------------------------------------------------------------------------------------------------

${color}CPU:
	
${color #0ABFFF}Core 1 $color ${cpu cpu0}% $alignr ${exec awk '/cpu MHz/{i++}i==1{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr ${cpubar cpu0 8,60} ${platform coretemp.0 temp 1}°C
${color #0ABFFF}Core 2 $color ${cpu cpu1}% $alignr ${exec awk '/cpu MHz/{i++}i==2{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr ${cpubar cpu1 8,60} ${platform coretemp.0 temp 2}°C
${color #0ABFFF}Core 3 $color ${cpu cpu2}% $alignr ${exec awk '/cpu MHz/{i++}i==3{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr ${cpubar cpu2 8,60} ${platform coretemp.0 temp 3}°C
${color #0ABFFF}Core 4 $color ${cpu cpu3}% $alignr ${exec awk '/cpu MHz/{i++}i==4{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr ${cpubar cpu3 8,60} ${platform coretemp.0 temp 1}°C

#----------------------------------------------------------------------------------------------------------------------------------------
#					DISK/RAM/SWAP usage
#----------------------------------------------------------------------------------------------------------------------------------------

${color}Memory / HDD:


${color #0ABFFF}RAM: ${alignr}$color ${mem} / ${memperc /}%
${color #0ABFFF}RAM Total: ${alignr}$color ${memmax}

${color #0ABFFF}HDD Space Used: ${alignr}$color ${fs_used /} / ${fs_used_perc /}%
${color #0ABFFF}HDD Total Drive Size: ${alignr}$color ${fs_size /}
${color #0ABFFF}HDD Read Speed: ${alignr}$color ${diskio_read sda}
${color #0ABFFF}HDD Write Speed: ${alignr}$color ${diskio_write sda}

#----------------------------------------------------------------------------------------------------------------------------------------
#						Network
#----------------------------------------------------------------------------------------------------------------------------------------

${color}Internet


${color 0ABFFF}Current Connection Speed $color${alignr}${execi 10 /sbin/iwconfig wlan0|grep Rate|cut -d"M" -f1|cut -b20-24} Mbits/sec
${color 0ABFFF}Connection quality: ${alignr}$color ${wireless_link_qual_perc wlan0}%

${color 0ABFFF}Wifi Source: ${alignr}$color ${wireless_essid wlan0}
${color 0ABFFF}Gateway IP: ${alignr}$color ${gw_ip}
${color 0ABFFF}Local IP: $alignr$color ${addr wlan0}

${color #0ABFFF}Down: ${alignr}$color${downspeed wlan0} 
${color #0ABFFF}Total Down:${alignr}$color ${totaldown wlan0}

${color #0ABFFF}Up:${alignr}$color ${upspeed wlan0}
${color #0ABFFF}Total Up:${alignr}$color ${totalup wlan0}
 
Last edited:
Soldato
Joined
17 Oct 2002
Posts
3,103
My conky is very minimal since moving to i3wm as I hardly ever see the desktop. (conky is running on the i3bar at top of screen)

conky_04112014.png


conky config:
Code:
out_to_x no
out_to_console yes
short_units yes
update_interval 1

TEXT

[\
# CPU USAGE
{"full_text":"CPU","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${cpu cpu0}","color":"\#FFFFFF","separator":false,"separator_block_width":0},\
{"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
{"full_text":"${cpu cpu1}","color":"\#FFFFFF","separator":false,"separator_block_width":0},\
{"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
{"full_text":"${cpu cpu2}","color":"\#FFFFFF","separator":false,"separator_block_width":0},\
{"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
{"full_text":"${cpu cpu3}","color":"\#FFFFFF","separator":false,"separator_block_width":0},\
{"full_text":"%","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# Kernel:
{"full_text":"KERNEL","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${kernel}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# CPU TEMP
{"full_text":"TEMP","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${hwmon 0 temp 2}","color":"\#FFFFFF","separator":false,"separator_block_width":0},\
{"full_text":"°C","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# GPU TEMP
{"full_text":"GPU","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${execi 5 nvidia-settings -q gpucoretemp -t}","color":"\#FFFFFF","separator":false,"separator_block_width":0},\
{"full_text":"°C","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# MEM USED / TOTAL
{"full_text":"MEM","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${mem} / ${memmax}","color":"\#FFFFFF","separator":false,"separator_block_width":6},\
# DATE (DD-MM-YY)
{"full_text":"DATE","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${time %d/%m/%y}","color":"\#EEEEEE","separator":false,"separator_block_width":6},\
# TIME (HH-MM)
{"full_text":"TIME","color":"\#d70a53","separator":false,"separator_block_width":6},\
{"full_text":"${time %R}","color":"\#EEEEEE","separator":false}\
],

json wrapper:
Code:
#!/bin/sh
 
# Send JSON Header
echo '{"version":1}'
 
# Begin array
echo '['
 
# Send an empty first array
echo '[],'
 
# Send conky
exec conky -c /home/$USER/.i3/conkybar
Most of my configs are on my github
 
Back
Top Bottom