Author Topic: Share Your conky configs.  (Read 385 times)

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12799
  • RLU #490933
    • Wordpress On The Wardrobe...
Share Your conky configs.
« on: April 29, 2013, 06:18:41 PM »
General rules:

- No offtopic chit chat.
- No useless posts with 'oh's and 'ah's.
- Please do not post huge images - clickable thumbnails AND OR direct image links only.
- Please use reliable external hosting if You want to share archived config folders.
- Please use BBCode marker known as "Code" if You only want to share Your ~/.conkyrc content OR if You choose to do so...
- Please use 3rd party service like (http://pastebin.com) if You only want to share Your ~/.conkyrc content just make sure that it won't be deleted after x amount of time.
- Please use common sense when posting conky configs - do not post 20 of them a day or so... One every blue moon will do just fine. This is not a competition. There are no awards.
- Standard forum rules apply as well.
- IF there is the need for it we will add more DO's and DONT's as we go I guess.

Offtopic / useless posts will be reported and removed.

And now let's cut to the chase. Share those Conky beauties of Yours.

Here is mine:

Screenshot thumbnail:



Direct screenshot link:

Click.

Config:

AndrzejL_Conky.tar.gz

Regards.

Andrzej
« Last Edit: April 29, 2013, 06:42:50 PM by AndrzejL »

Offline arkanabar

  • Full Member
  • ***
  • Posts: 193
  • Ain't I a Stinker?
    • Arkanabar's Eclectic Rants
low profile dual conky with network, CPU, & RAM graphs
« Reply #1 on: April 30, 2013, 07:29:23 AM »
How did I miss this thread??!?

I love conky.  I've loved it since back to #!8.10, arguably one of the finest releases ever to be built on Canonical Critters, when the latest development builds of Wine, easy installation of captive video drivers, easy package management, and (otherwise) low overhead were the only considerations on my mind.  There's nothing like it for keeping track of whatever you want to know about your system.

I'm of the opinion that your conkies shouldn't take up a whole lot of screen real estate.  I originally developed the core of what you see here to work with a 1280x960 WoW window (decorations removed), on a 1280x1024 display.  I had to have the RAM meter, cos WoW had memory usage creep, and at least once locked my system by using too much RAM (I disabled swap in order to maintain framerates)  And I originally had it at the top, but my kde setup on PCLOS tends to open all my windows up there, so now I keep it at the  bottom.  Here's the launch script:
Code: [Select]
#!/bin/bash
killall conky &
sleep 2 &&
conky -d -c ~/conky1rc &
sleep 2 &&
conky -d -c ~/conky2rc &
exit
Here's conky1rc, with comments purged:
Code: [Select]
use_xft yes
xftfont DroidSansMono:size=9
xftalpha 1
update_interval 2.0
total_run_times 0
double_buffer yes
own_window yes
own_window_transparent yes
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
own_window_type normal  # possible:  desktop dock normal override panel
own_window_class conky-semi
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color FFFFFF
default_shade_color FFFFFF
default_outline_color FFFFFF
alignment bottom_right
gap_x 3
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 9966ff
color2 dd1133
color3 66ff66
# compositor must be enabled
own_window_argb_visual yes
own_window_argb_value 0
# end compositor required items

TEXT
${memgraph 30,150 cccccc 999999}${cpugraph 30,150 3311dd 9966ff}${downspeedgraph eth0 30,150 dd1133 ff3355}${upspeedgraph eth0 30,150 00ff00 66ff66}
And conky2rc
Code: [Select]
# save as ~/.conkyrc to make default
use_xft yes
xftfont DroidSansMono:size=9
xftalpha 1
update_interval 2.0
total_run_times 0
double_buffer yes
own_window yes
own_window_transparent yes
own_window_hints undecorated,sticky,above,skip_taskbar,skip_pager
own_window_type normal  # possible:  desktop dock normal override panel
own_window_class conky
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color FFFFFF
default_shade_color FFFFFF
default_outline_color FFFFFF
alignment bottom_left
max_text_width 0
gap_x 0
gap_y 37
minimum_size 450
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 99ffff # 99ffff 3311dd
color2 ff3366 #dd1133 ff3366
color3  66ff66 # 66ff66 007722
# another distro-only required items: compositor must be enabled
own_window_argb_visual yes
own_window_argb_value 100
# end another distro-only required items

TEXT
$kernel | up $uptime | swap $swapperc% | ${font DroidSansMono:bold}${time %I:%M%P}${font}
$mem/$memmax $memperc% ${color1}| CPU: ${cpu cpu1}%/${cpu cpu2}%//$cpu% ${color2}| Down ${downspeed eth0} ${color3}| Up ${upspeed eth0}${color}
The alternate colors I have commented out get copied and pasted in when I switch to a light or dark background, as needed.

Come on everybody, show us what you've got!

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10644
  • MLUs Forever!
Re: Share Your conky configs.
« Reply #2 on: April 30, 2013, 08:42:30 AM »
Code: [Select]
#
background yes
font 8x13
use_xft no
xftfont Bitstream Vera Sans Mono:size=12
xftalpha 0.8
update_interval 2
total_run_times 0
own_window_title PCLinuxOS - Conky
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 360 2
draw_shades yes
draw_outline yes
draw_borders yes
draw_graph_borders yes
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 15
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 4
net_avg_samples 4
override_utf8_locale no
use_spacer none

TEXT
${font Sans Serif:bold:italic:size=12}${color goldenrod}Hostname:     $nodename
${color goldenrod}Linux Kernel: $kernel
${color goldenrod}CPU Details:  $machine, $freq MHz

${color}CPU History:  ${color lightgreen}${cpugraph 25,0 0000ff 00ff00}

${color} CPU 1: ${cpu cpu1}% ${color magenta2}   ${cpubar cpu1}

${color} CPU 2: ${cpu cpu2}% ${color magenta2}   ${cpubar cpu2}

${color} CPU 3: ${cpu cpu3}% ${color magenta2}   ${cpubar cpu3}

${color} CPU 4: ${cpu cpu4}% ${color magenta2}   ${cpubar cpu4}

${color goldenrod} Installed Memory:

${color DarkOrange1}USED:    ${color}$mem ($memperc%)${color DeepSkyBlue1}  ${membar 11,0}
${color DarkOrange1}Total:   ${color}$memmax

$color$hr

${color}   Processes:$color $processes  ${color grey}Running:$color $running_processes
${color}   (top 3 sorted by CPU usage)

${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}

${color}   (top 3 sorted by MEM usage)

${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

$color$hr
$alignc${color}System Uptime:${color DarkOrange1} $uptime

$color$hr

${GOTO 15}${color goldenrod}Network eth0${color}

${GOTO 36}${color DarkOrange1}Upspeed:${GOTO 135}${color}${upspeedgraph eth0 10,75 B7B2AD B7B2AD}
${GOTO 36}${color DarkOrange1}Downspeed:${GOTO 135}${color}${downspeedgraph eth0 10,75 B7B2AD B7B2AD}
${GOTO 36}${color DarkOrange1}Uploaded:${GOTO 135}${color}${totalup eth0}
${GOTO 36}${color DarkOrange1}Downloaded:${GOTO 135}${color}${totaldown eth0}
${GOTO 36}${color DarkOrange1}Local IP:${GOTO 135}${color}${addr eth0}
#${GOTO 36}${color DarkOrange1}Public IP:${GOTO 135}${color}${execi 10000 ~/.conky_scripts/ip.sh}


  ${color DarkOrange1}Core 0:  ${color}${exec sensors| grep "Core 0:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 0:  ${color}${freq 0} MHz     
  ${color DarkOrange1}Core 1:  ${color}${exec sensors| grep "Core 1:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 1:  ${color}${freq 1} MHz 
  ${color DarkOrange1}Core 2:  ${color}${exec sensors| grep "Core 2:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 2:  ${color}${freq 2} MHz     
  ${color DarkOrange1}Core 3:  ${color}${exec sensors| grep "Core 3:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 3:  ${color}${freq 3} MHz

   ${color DarkOrange1}Fan1:   ${color}${exec sensors|grep fan1 | tr -s ' ' |cut -d ' ' -f2} RPM       ${color DarkOrange1}Fan2:   ${color}${exec sensors|grep fan2 | tr -s ' ' |cut -d ' ' -f2} RPM
   ${color DarkOrange1}Fan3:   ${color}${exec sensors|grep fan3 | tr -s ' ' |cut -d ' ' -f2} RPM     

           ${color DarkOrange1}System Temp:   ${color}${exec sensors| grep "temp1:" | tr -s ' ' | cut -d ' ' -f2}

           ${color DarkOrange1}System Temp:   ${color}${exec sensors| grep "temp1:" | cut -d + -f2 | cut -d . -f1} C




I have to find out why the 'degree' symbol is showing a problem ......  it didn't used to .....

« Last Edit: April 30, 2013, 08:51:24 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline arkanabar

  • Full Member
  • ***
  • Posts: 193
  • Ain't I a Stinker?
    • Arkanabar's Eclectic Rants
Re: Share Your conky configs.
« Reply #3 on: April 30, 2013, 09:11:03 AM »
I may add a 3d conky with the CPU and MEM TOP code, but I'd also want it to display network usage, and put it under my analog clock plasmoid.  Not at all sure how to do the net top stuff.  Any suggestions?

edit:  Given that nethogs is the best source for the sort of info I'd want, and that it's only run by root, I sort of doubt this could be done in a safe and sane manner.
« Last Edit: April 30, 2013, 09:18:08 AM by arkanabar »

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4521
  • Philosophy= Bigger Hammer
Re: Share Your conky configs.
« Reply #4 on: April 30, 2013, 10:38:28 AM »
Code: [Select]
#
background yes
font 8x13
use_xft no
xftfont Bitstream Vera Sans Mono:size=12
xftalpha 0.8
update_interval 2
total_run_times 0
own_window_title PCLinuxOS - Conky
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 360 2
draw_shades yes
draw_outline yes
draw_borders yes
draw_graph_borders yes
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 15
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 4
net_avg_samples 4
override_utf8_locale no
use_spacer none

TEXT
${font Sans Serif:bold:italic:size=12}${color goldenrod}Hostname:     $nodename
${color goldenrod}Linux Kernel: $kernel
${color goldenrod}CPU Details:  $machine, $freq MHz

${color}CPU History:  ${color lightgreen}${cpugraph 25,0 0000ff 00ff00}

${color} CPU 1: ${cpu cpu1}% ${color magenta2}   ${cpubar cpu1}

${color} CPU 2: ${cpu cpu2}% ${color magenta2}   ${cpubar cpu2}

${color} CPU 3: ${cpu cpu3}% ${color magenta2}   ${cpubar cpu3}

${color} CPU 4: ${cpu cpu4}% ${color magenta2}   ${cpubar cpu4}

${color goldenrod} Installed Memory:

${color DarkOrange1}USED:    ${color}$mem ($memperc%)${color DeepSkyBlue1}  ${membar 11,0}
${color DarkOrange1}Total:   ${color}$memmax

$color$hr

${color}   Processes:$color $processes  ${color grey}Running:$color $running_processes
${color}   (top 3 sorted by CPU usage)

${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}

${color}   (top 3 sorted by MEM usage)

${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

$color$hr
$alignc${color}System Uptime:${color DarkOrange1} $uptime

$color$hr

${GOTO 15}${color goldenrod}Network eth0${color}

${GOTO 36}${color DarkOrange1}Upspeed:${GOTO 135}${color}${upspeedgraph eth0 10,75 B7B2AD B7B2AD}
${GOTO 36}${color DarkOrange1}Downspeed:${GOTO 135}${color}${downspeedgraph eth0 10,75 B7B2AD B7B2AD}
${GOTO 36}${color DarkOrange1}Uploaded:${GOTO 135}${color}${totalup eth0}
${GOTO 36}${color DarkOrange1}Downloaded:${GOTO 135}${color}${totaldown eth0}
${GOTO 36}${color DarkOrange1}Local IP:${GOTO 135}${color}${addr eth0}
#${GOTO 36}${color DarkOrange1}Public IP:${GOTO 135}${color}${execi 10000 ~/.conky_scripts/ip.sh}


  ${color DarkOrange1}Core 0:  ${color}${exec sensors| grep "Core 0:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 0:  ${color}${freq 0} MHz     
  ${color DarkOrange1}Core 1:  ${color}${exec sensors| grep "Core 1:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 1:  ${color}${freq 1} MHz 
  ${color DarkOrange1}Core 2:  ${color}${exec sensors| grep "Core 2:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 2:  ${color}${freq 2} MHz     
  ${color DarkOrange1}Core 3:  ${color}${exec sensors| grep "Core 3:" | tr -s ' ' | cut -d ' ' -f3}      ${color DarkOrange1}Core 3:  ${color}${freq 3} MHz

   ${color DarkOrange1}Fan1:   ${color}${exec sensors|grep fan1 | tr -s ' ' |cut -d ' ' -f2} RPM       ${color DarkOrange1}Fan2:   ${color}${exec sensors|grep fan2 | tr -s ' ' |cut -d ' ' -f2} RPM
   ${color DarkOrange1}Fan3:   ${color}${exec sensors|grep fan3 | tr -s ' ' |cut -d ' ' -f2} RPM     

           ${color DarkOrange1}System Temp:   ${color}${exec sensors| grep "temp1:" | tr -s ' ' | cut -d ' ' -f2}

           ${color DarkOrange1}System Temp:   ${color}${exec sensors| grep "temp1:" | cut -d + -f2 | cut -d . -f1} C




I have to find out why the 'degree' symbol is showing a problem ......  it didn't used to .....


can I copy/paste this into my conky and it will work ?
Please Donate Today..Or I Will Make You Wish You Had

Online Crow

  • Hero Member
  • *****
  • Posts: 8763
  • OBJECTS IN MIRROR... ARE LOSING
Re: Share Your conky configs.
« Reply #5 on: April 30, 2013, 11:35:46 AM »
Rename .conky to something like .conky_old just in case.

The lines are very clear and doesn't need too much explanation so if you don't have/want something mentioned there just comment (#) the line at the beginning and it won't show.
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: Share Your conky configs.
« Reply #6 on: April 30, 2013, 11:38:27 AM »
In the lower right corner:



Code: [Select]
# set to yes if you want Conky to be forked in the background
background yes
use_xft yes
xftfont Calibri:size=10
xftalpha 0.5
double_buffer yes
minimum_size 220 5
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

default_color grey
default_shade_color red
default_outline_color grey
alignment top_right
gap_x 2
gap_y 1
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

#poll
update_interval 1
total_run_times 0

TEXT
${goto  5}${font URW Chancery L:size=30} T. Schommer
${goto 15}${font Calibri:size=49}${time %H}${font Calibri:size=25}${voffset -20}'${time %M}${font Calibri:size=13}
${goto 90}${voffset 6}${font :size=13}${time %A}
${goto 90}${voffset 1}${font :size=13}${time %d %B %Y}

Then in the upper right corner:



Code: [Select]
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 200 0
maximum_width 200

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 1

# border margins
# border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color D2EFFF
#default_shade_color black
#default_outline_color grey
own_window_colour FFFFFF

# 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
# same thing as passing -x at command line
gap_x 10
gap_y 10

# Subtract file system buffers from used memory?
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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT
${image /home/torsten/Computer/PCLOS/name-logo.png -p 8,4 -s 188x28}
${voffset 28}${color #ffcb48}SYSTEM${color}${hr 2}
Kernel:${alignr}${kernel}
Uptime:${alignr}${uptime}
${voffset 8}${color #ffcb48}PROCESSOR ${color}${hr 2}
   ${voffset 2}CPU1:${goto 62}${cpu cpu1}% ${alignr}${color 0000FF}${cpubar cpu1 6,96}${color}
   CPU2:${goto 62}${cpu cpu2}% ${alignr}${color 3333FF}${cpubar cpu2 6,96}${color}
   CPU3:${goto 62}${cpu cpu3}% ${alignr}${color 5555FF}${cpubar cpu3 6,96}${color}
   CPU4:${goto 62}${cpu cpu4}% ${alignr}${color 7777FF}${cpubar cpu4 6,96}${color}
   CPU5:${goto 62}${cpu cpu5}% ${alignr}${color 9999FF}${cpubar cpu5 6,96}${color}
   CPU6:${goto 62}${cpu cpu6}% ${alignr}${color BBBBFF}${cpubar cpu6 6,96}${color}
${voffset 8}${color #ffcb48}MEMORY${color}${hr 2}
   ${voffset 2}RAM:${goto 62}$memperc%${alignr}${color A8FFC4}${membar 6,96}${color}
   ${goto 108}$mem / $memmax
${voffset 8}${color #ffcb48}DISKS ${color}${hr 2}
   ${voffset 4}Disk Activity:${alignr}${diskiograph 16,96 800000 800000 -t}
${voffset 0}${color #ffcb48}SENSORS ${color}${hr 2}
   ${voffset 2}CPU:${goto 56}${exec sensors | grep 'CPU Temp' | grep '°C' | cut -c20-29}${goto 120}System:${goto 164}${exec sensors | grep 'MB Temp' | grep '°C' | cut -c20-29}
   MB:${goto 56}${exec sensors | grep 'temp1:' | grep '°C' | cut -c14-22}
   CPU Fan:${goto 72}${exec sensors | grep 'CPU FAN' | grep RPM | cut -c19-23}${goto 120}Chassis${goto 172}${exec sensors | grep 'CHASSIS FAN' | grep RPM | cut -c19-23}
${voffset 8}${color #ffcb48}GPU ${color}${hr 2}
   Driver:${goto 66}${execi 10 nvidia-smi -a | grep "Driver Version" | cut -c35-40}
   Temp:${goto 66}${exec nvidia-settings -q GPUCoreTemp | grep Attribute | awk '{print $4}'}0°C${goto 120}Fan:${goto 172}${execi 10 nvidia-smi -a | grep Fan | cut -c34-36}%
${voffset 8}${color #ffcb48}NETWORK ${color}${hr 2}
   ${voffset 2}${if_up wlan0}${wireless_essid wlan0}${alignr}(${wireless_link_qual_perc wlan0}%)
   Local Ip: ${alignr}${addr wlan0}
   ${upspeedgraph wlan0 18,90 D5D1CF AF0000}${goto 116}${downspeedgraph wlan0 18,90 D5D1CF 162CD3}
   Up:${goto 48}${upspeed wlan0}${goto 116}Down:${goto 154}${downspeed wlan0}
   Total:${goto 48}${totalup wlan0}${goto 116}Total:${goto 154}${totaldown wlan0}
${else}${if_up eth0}ETH0
   Local Ip: ${alignr}${addr eth0}
   ${voffset 4}Up:${goto 40}${upspeed eth0}kb/s${goto 116}Down: ${alignr}${downspeed eth0}kb/s
   Total:${goto 60}${totalup eth0}${alignr}${totaldown eth0}
   ${upspeedgraph eth0 18,90 AF0000 AF0000}${alignr}${downspeedgraph eth0 18,90 162CD3 162CD3}
${else}${if_up eth1}ETH1
   Local Ip: ${alignr}${addr eth1}
   ${voffset 4}Up:${goto 60}${upspeed eth1}kb/s${goto 120}Down: ${alignr}${downspeed eth1}kb/s
   Total:${goto 60}${totalup eth1}${alignr}${totaldown eth1}
   ${upspeedgraph eth1 18,90 AF0000 AF0000}${alignr}${downspeedgraph eth1 18,90 162CD3 162CD3}${endif}
${endif}
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10644
  • MLUs Forever!
Re: Share Your conky configs.
« Reply #7 on: April 30, 2013, 11:48:33 AM »

can I copy/paste this into my conky and it will work ?

As Crow advised, rename present file and try it.

I have it set up for KDE with bling ...  so might not display quite as it is shown in the pic.

Also, I did not include the wee script which is called to get the WAN IP address.
If you decide to use it and need that let me know.

One last item ....  the temps of your CPU might be reported slightly differently, so the command for those might need to be edited slightly ....  not a problem, just let me know  ;)

« Last Edit: May 04, 2013, 02:59:41 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline weirdwolf

  • Hero Member
  • *****
  • Posts: 4048
  • AWHFY
Re: Share Your conky configs.
« Reply #8 on: May 03, 2013, 08:30:04 PM »
Nuttin' fancy

Code: [Select]
alignment top_right
background no
border_width 1
cpu_avg_samples 2
#default_color 00F8FF
#default_color FFD59A
#default_color E6B774
#default_color FFEACA
#default_color FFFFFF
#default_color FFEDD3
#default_color FFF4E5
#default_color FCFBF7
#default_color D0D0D0
#default_color D9D9D9
#default_color CCA677
#default_color EBEBEB
#default_color 98EBF3
#default_color DAD6D6
#default_color CACACA
#default_color C0C0C0
#default_color DCDCDC
#default_color A9D7FF
#default_color 000000
default_color FDFDFD
#default_color white
#default_color 4F4E5C
#default_color F7FEFE
#default_color CAFFFC
#default_color D7FCFF
#default_color dark grey
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=11
gap_x 5
gap_y 20
net_avg_samples 2
#no_buffers yes
double_buffer yes
out_to_console no
#out_to_stderr no
#extra_newline yes
own_window yes
own_window_class conky
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
maximum_width 280
stippled_borders 0
update_interval 3.0
uppercase no
#show_graph_scale no
#show_graph_range no

TEXT
#${hr 3}
#${hr 3}
${font DejaVu Sans Mono:size=12}${alignc}Welcome to the Machine
${alignc}PCLinuxOS 2013 LXDE
${alignc}$kernel
${alignc}AMD $freq_g GHz AM3
#${hr 3}
${hr 3}${font}
 ${color}RAM Usage:$color $memperc%  $mem/$memmax
${membar 8}
${alignc}CPU Usage:$color $cpu%   CPU Temp: ${hwmon 0 temp 1}C
${cpubar 8}
 Processes:$color $processes    Running:$color $running_processes
${hr 3}${color}
${font DejaVu Sans Mono:size=12} * * * PCLinuxOS LXDE * * *
${alignc}${font DejaVu Sans Mono:italic:size=12}High Speed - Low Drag
${hr 3}${color}${font}
${alignc}---Top CPU User---
Name              PID    CPU%   
${alignc} ${top name 1}${top pid 1} ${top cpu 1}
${alignc} ${top name 2}${top pid 2} ${top cpu 2}
${alignc} ${top name 3}${top pid 3} ${top cpu 3}
${alignc} ${top name 4}${top pid 4} ${top cpu 4}
${alignc} ${top name 5}${top pid 5} ${top cpu 5}

${alignc}---Top Memory User---
Name              PID    MEM%
${alignc} ${top_mem name 1}${top pid 1} ${top_mem mem 1}
${alignc} ${top_mem name 2}${top pid 2} ${top_mem mem 2}
${alignc} ${top_mem name 3}${top pid 3} ${top_mem mem 3}
${alignc} ${top_mem name 4}${top pid 4} ${top_mem mem 4}
${alignc} ${top_mem name 5}${top pid 5} ${top_mem mem 5}
${alignc} ${top_mem name 6}${top pid 6} ${top_mem mem 6}
${hr 3}${color}
${alignc}--It's A Series Of Tubes--
${alignc}Networking:
${alignc} Up:$color ${upspeed eth0}    Down:$color ${downspeed eth0}
Instead of deleting the old color I just comment it out in case I want to use it later again.

http://www.pclinuxos.com/forum/index.php/topic,113870.msg975713.html#msg975713
« Last Edit: May 05, 2013, 09:24:32 AM by daniel »
Plan to be spontaneous tomorrow.


Offline ruel24

  • Hero Member
  • *****
  • Posts: 2760
Re: Share Your conky configs.
« Reply #9 on: May 04, 2013, 08:27:51 AM »
tshommer, I liked your conky configuration a lot, so I used it. I made some adjustments to mine and now it cuts off some of the information at the bottom. I can't for the life of me figure out how to make conky long enough to include all of the info. I'd also like to make it a tad wider, but adjusting the settings for minimum and maximum width don't seem to do anything. Any suggestions? Can't say I have any knowledge about writing scripts...



Code: [Select]
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=10
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 200 0
maximum_width 200

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 1

# border margins
# border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color D2EFFF
#default_shade_color black
#default_outline_color grey
own_window_colour FFFFFF

# 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
# same thing as passing -x at command line
gap_x 10
gap_y 10

# Subtract file system buffers from used memory?
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 4

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 4

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT
${image /home/ruel24/PCLinuxOS-Logo-Conky.png -p 8,4 -s 188x83}
${voffset 83}${color #ffcb48}SYSTEM${color}${hr 2}
Kernel:${alignr}${kernel}
Uptime:${alignr}${uptime}
${voffset 8}${color #ffcb48}PROCESSOR ${color}${hr 2}
   ${voffset 2}CPU1:${goto 62}${cpu cpu1}% ${alignr}${color 0000FF}${cpubar cpu1 6,96}${color}
   CPU2:${goto 62}${cpu cpu2}% ${alignr}${color 3333FF}${cpubar cpu2 6,96}${color}
   CPU3:${goto 62}${cpu cpu3}% ${alignr}${color 5555FF}${cpubar cpu3 6,96}${color}
   CPU4:${goto 62}${cpu cpu4}% ${alignr}${color 7777FF}${cpubar cpu4 6,96}${color}
${voffset 8}${color #ffcb48}MEMORY${color}${hr 2}
   ${voffset 2}RAM:${goto 62}$memperc%${alignr}${color A8FFC4}${membar 6,96}${color}
   ${goto 108}$mem / $memmax
${voffset 8}${color #ffcb48}DISKS ${color}${hr 2}
   ${voffset 4}Disk Activity:${alignr}${diskiograph 16,96 800000 800000 -t}
${voffset 0}${color #ffcb48}SENSORS ${color}${hr 2}
   ${voffset 2}CPU:${goto 56}${exec sensors | grep 'CPU Temp' | grep '°C' | cut -c20-29}${goto 120}
   System:${goto 71}${exec sensors | grep 'MB Temp' | grep '°C' | cut -c20-29}${goto 120}
   CPU Fan:${goto 72}${exec sensors | grep 'CPU FAN' | grep RPM | cut -c19-23}${goto 120}
${voffset 8}${color #ffcb48}GPU ${color}${hr 2}
   Driver:${goto 66}${execi 10 nvidia-smi -a | grep "Driver Version" | cut -c35-40}
   Temp:${goto 66}${exec nvidia-settings -q GPUCoreTemp | grep Attribute | awk '{print $4}'}0°C${goto 120}Fan:${goto 172}${execi 10 nvidia-smi -a | grep Fan | cut -c34-36}%
${voffset 8}${color #ffcb48}NETWORK ${color}${hr 2}
   ${voffset 2}${if_up wlan0}${wireless_essid wlan0}${alignr}(${wireless_link_qual_perc wlan0}%)
   Local Ip: ${alignr}${addr wlan0}
   ${upspeedgraph wlan0 18,90 D5D1CF AF0000}${goto 116}${downspeedgraph wlan0 18,90 D5D1CF 162CD3}
   Up:${goto 48}${upspeed wlan0}${goto 116}Down:${goto 154}${downspeed wlan0}
   Total:${goto 48}${totalup wlan0}${goto 116}Total:${goto 154}${totaldown wlan0}
${else}${if_up eth0}ETH0
   Local Ip: ${alignr}${addr eth0}
   ${voffset 4}Up:${goto 40}${upspeed eth0}kb/s${goto 116}Down: ${alignr}${downspeed eth0}kb/s
   Total:${goto 60}${totalup eth0}${alignr}${totaldown eth0}
   ${upspeedgraph eth0 18,90 AF0000 AF0000}${alignr}${downspeedgraph eth0 18,90 162CD3 162CD3}
${else}${if_up eth1}ETH1
   Local Ip: ${alignr}${addr eth1}
   ${voffset 4}Up:${goto 60}${upspeed eth1}kb/s${goto 120}Down: ${alignr}${downspeed eth1}kb/s
   Total:${goto 60}${totalup eth1}${alignr}${totaldown eth1}
   ${upspeedgraph eth1 18,90 AF0000 AF0000}${alignr}${downspeedgraph eth1 18,90 162CD3 162CD3}${endif}
${endif}
 
« Last Edit: May 04, 2013, 08:34:37 AM by ruel24 »

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: Share Your conky configs.
« Reply #10 on: May 04, 2013, 08:50:49 AM »
Strangely, I had the same kind of issue last night (the bottom most network graph was cut off).

I found that modifying the voffset value in the line immediately following the PCLinuxOS image made the difference. Maybe there's a bug in Conky that needs this value to be an even number or something of that sort.

HTH

Torsten
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline ruel24

  • Hero Member
  • *****
  • Posts: 2760
Re: Share Your conky configs.
« Reply #11 on: May 04, 2013, 12:23:16 PM »
Weirdly enough, I shut down the system and came back later, and upon boot, it was long enough! Even some of the other adjustments I had made were there, working, that didn't before. However, now my logo graphic looks washed out, now. Hmmm. I'll have to mess with it. Thanks!


Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: Share Your conky configs.
« Reply #12 on: May 05, 2013, 03:48:10 AM »
I generally have several conkys running but this one reports most of the info that I need. (external ip blanked)

Code: [Select]
background no
font Sans:size=8
xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
double_buffer yes
minimum_size 224 5
maximum_width 224
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color green
default_shade_color black
default_outline_color grey
alignment middle_right
gap_x 6
gap_y 2
no_buffers yes
uppercase no
cpu_avg_samples 1
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
short_units

TEXT
${font Blue Highway:size=32}${alignc}${color blue}PCLinuxOS${font Blue Highway:size=14}
${color white}${alignc}${exec VERSION=`kde4-config --version | awk '{ print $4 }'` ; echo -n 64 bit KDE4 version $VERSION}${color blue}
${hr 4}${font ComicSans MS:size=10}${alignc}
${color white}System Information:
${color green}Hostname: ${color orange}$alignr$nodename
${color green}Kernel: ${color orange}$alignr$kernel
${color green}Uptime: ${color orange}$alignr$uptime
${color green}CPU Speed: ${color orange}${alignr}${freq} MHz
${color green}CPU Temp: ${color orange}${alignr}${exec sensors | sed -n '/Phys/p' | cut -d" " -f 5 | sed 's/+//'}
${color green}Procs / Running: ${color orange}${alignr}$processes  / $running_processes
${color green}Load Average: ${color orange}${alignr}$loadavg
${color green}${hr 1}
${color white} Processor Load:
${color green}Core 1 ${color orange}${alignr}${cpu cpu1}%
${color blue}${cpubar 8 cpu1}
${color green}Core 2 ${color orange}${alignr}${cpu cpu2}%
${color blue}${cpubar 8 cpu1}
${color green}Core 3 ${color orange}${alignr}${cpu cpu3}%
${color blue}${cpubar 8 cpu1}
${color green}Core 4 ${color orange}${alignr}${cpu cpu4}%
${color blue}${cpubar 8 cpu1}
${color green}Memory: ${color orange}${alignr}$mem / $memmax ($memperc%)
${color blue}${membar 8}
${color green}${hr 1}
${color white}File System Usage:
${color green}/ (root) has ${color orange}$alignr ${fs_free /} free
${color green}/home has ${color orange}$alignr ${fs_free /home} free
${color green}${if_mounted /share}/share has ${color orange}$alignr ${fs_free /share} free ${else}/share is${color red} $alignr not mounted${endif}
${color white}Removable Drive Usage:
${color green}${if_mounted /mnt/hotswap}/mnt/hotswap has ${color orange}$alignr ${fs_free /mnt/hotswap} free ${else}/mnt/hotswap is${color red} $alignr not mounted${endif}
${color green}${if_mounted /mnt/icybox}/mnt/icybox has ${color orange}$alignr ${fs_free /mnt/icybox} free ${else}/mnt/icybox is${color red} $alignr not mounted${endif}
${color green}${if_mounted /mnt/lacie}/mnt/lacie has ${color orange}$alignr ${fs_free /mnt/lacie} free ${else}/mnt/lacie is${color red} $alignr not mounted${endif}
${color green}${hr 1}
${color white}CPU Usage:$alignr CPU% MEM%
${color green}${top name 1} ${color orange}$alignr${top cpu 1}    ${top mem 1}
${color green}${top name 2} ${color orange}$alignr${top cpu 2}    ${top mem 2}
${color green}${top name 3} ${color orange}$alignr${top cpu 3}    ${top mem 3}
${color green}${hr 1}
${color white}Memory Usage: $alignr CPU% MEM%
${color green}${top_mem name 1}${color orange}$alignr${top_mem cpu 1}    ${top_mem mem 1}
${color green}${top_mem name 2}${color orange}$alignr${top_mem cpu 2}    ${top_mem mem 2}
${color green}${top_mem name 3}${color orange}$alignr${top_mem cpu 3}    ${top_mem mem 3}
${color green}${hr 1}
${color white}Network
${color green}Down ${color orange}${downspeed eth0} k/s ${alignr}${color green}Up ${color orange}${upspeed eth0} k/s
${color white} ${downspeedgraph eth0 25,107 ff0000 0000ff} ${alignr}${color white}${upspeedgraph eth0 25,107 0000ff ff0000}
${color green}Total ${color orange}${totaldown eth0} ${color green}${alignr}Total ${color orange}${totalup eth0}
${color green}${hr 1}
${color white}IP Adresses:
${color green}Internal IP: ${alignr}${color orange} ${addr eth0}
${color green}External IP: ${alignr}${color orange}${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${color green}${hr 1}
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Offline Roc4fun

  • Hero Member
  • *****
  • Posts: 620
  • The life so short, the craft so long to learn
Re: Share Your conky configs.
« Reply #13 on: May 05, 2013, 07:01:20 AM »
I've taken my conky in more of the weather widget direction...



2 conkys...

Time and Date... 
Code: [Select]
TEXT

${voffset -1} ${goto 30}${font AvantGarde LT Medium:size=40}${color #080808}${time %I} ${goto 110}${time %M}
${image /home/dave/accuweather_conky_USA/b.png -p 0,0 -s 188x100}
${voffset -175} ${goto 226}${font AvantGarde LT Medium:size=7} ${time %A} ${font}
${font AvantGarde LT Medium:size=38}${voffset -5}${goto 224}${time %d} ${color} ${font}
${image /home/dave/accuweather_conky_USA/c.png -p 200,0 -s 93x100}
I got this package here... http://browse.deviantart.com/art/Conky-Miui-216613544


Weather and email notification...

Code: [Select]
TEXT
${image /home/dave/accuweather_conky_USA/base2.png -p 3, 10 -s 325x600}
  ${execpi 600 bash /home/dave/accuweather_conky_USA/accuw_USA_script_icon}${execpi 600 bash /home/dave/accuweather_conky_USA/current_script}${execpi 600 bash /home/dave/1b1_accuweather_images/1b1}
 
 
  ${voffset 18}${color #fffff0}${font Sansation:size=10}$alignc WEATHER - KANSAS CITY

  $alignc ${execpi 600 sed -n '1p' /home/dave/accuweather_conky_USA/fweather2}!
  ${goto 185}${voffset 50}${font Sansation:size=28}${execi 600 sed -n '1p' /home/dave/accuweather_conky_USA/currenttemp}°F${font}


#${goto 95}${execpi 600 sed -n '1p' /home/dave/accuweather_conky_USA/days}:
  $alignc${execpi 600 sed -n '2p' /home/dave/accuweather_conky_USA/messages|fold -w30}
  $alignc}High: ${execpi 600 sed -n '1p' /home/dave/accuweather_conky_USA/temperatures}°F  Low: ${execpi 600 sed -n '2p' /home/dave/accuweather_conky_USA/temperatures}°F


  ${goto 150}${execpi 600 sed -n '2p' /home/dave/accuweather_conky_USA/days}:
  ${goto 150}${execpi 600 sed -n '5p' /home/dave/accuweather_conky_USA/messages|fold -w30}
  ${goto 150}High: ${execpi 600 sed -n '3p' /home/dave/accuweather_conky_USA/temperatures}°F  Low: ${execpi 600 sed -n '4p' /home/dave/accuweather_conky_USA/temperatures}°F


  ${goto 150}${execpi 600 sed -n '3p' /home/dave/accuweather_conky_USA/days}:
  ${goto 150}${execpi 600 sed -n '8p' /home/dave/accuweather_conky_USA/messages|fold -w30}
  ${goto 150}High: ${execpi 600 sed -n '5p' /home/dave/accuweather_conky_USA/temperatures}°F  Low: ${execpi 600 sed -n '6p' /home/dave/accuweather_conky_USA/temperatures}°F


  ${goto 150}${execpi 600 sed -n '4p' /home/dave/accuweather_conky_USA/days}:
  ${goto 150}${execpi 600 sed -n '11p' /home/dave/accuweather_conky_USA/messages|fold -w30}
  ${goto 150}High: ${execpi 600 sed -n '7p' /home/dave/accuweather_conky_USA/temperatures}°F  Low: ${execpi 600 sed -n '8p' /home/dave/accuweather_conky_USA/temperatures}°F
 

  ${color #fffff0}${goto 90}Sunrise: ${execi 600 sed -n '1p' /home/dave/accuweather_conky_USA/nowSuns | cut -c35-38} AM   Sunset: ${execi 600 sed -n '2p' /home/dave/accuweather_conky_USA/nowSuns | cut -c34-37} PM 
 

  ${color #fffff0}${font Sansation:size=10}${alignc}EMAIL${color}${font}
  ${texeci 600 python ~/.scripts/conkyEmail.py --maxwidth=30 --linelimit=1 --template=/home/dave/accuweather_conky_USA/conkyEmail.template1 > /home/dave/accuweather_conky_USA/email}
  ${execpi 600 sed -e 's/:.*//' /home/dave/accuweather_conky_USA/email > /home/dave/accuweather_conky_USA/email2}
  ${voffset -5}${goto 40}${execpi 600 sed -n '1p' /home/dave/accuweather_conky_USA/email}
  ${goto 40}${execpi 600 sed -n '2,5p' /home/dave/accuweather_conky_USA/email2}


  ${image /home/dave/1b1_accuweather_images/cc.png -p 10,115 -s 167x100}
  ${image /home/dave/1b1_accuweather_images/6.png -p 30,235 -s 107x64}
  ${image /home/dave/1b1_accuweather_images/11.png -p 30,290 -s 107x64}
  ${image /home/dave/1b1_accuweather_images/16.png -p 30,345 -s 107x64}
The script gets and saves a weather forecast using wget.  Then parses it for what you want using grep and sed statements, saving the result in a file.  Then conky calls the file contents.

Scripts and know how can be found here...  http://crunchbang.org/forums/viewtopic.php?id=19235

« Last Edit: May 05, 2013, 08:26:17 AM by Roc4fun »