SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2008-11-28 07:26:12

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

My Conky Config

I'm sure everyone enjoys their own conky setup. I just thought I'd share mire. It goes quite well with #! crunchbang

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 4.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
double_buffer yes
minimum_size 200 5
maximum_width 220
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color grey
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
$sysname $kernel on $machine

Uptime $alignr $uptime
Load $alignr $loadavg

Hostname $alignr $nodename
wlan0 $alignr ${addr wlan0}

Inbound $alignr ${downspeed wlan0} kb/s
${downspeedgraph wlan0}
Outbound $alignr ${upspeed wlan0} kb/s
${upspeedgraph wlan0}

$processes processes ($running_processes running)

CPU $alignr ${cpu cpu0}%
${cpubar cpu0}

MEM $alignc $mem / $memmax $alignr $memperc%
$membar

/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}

NAME $alignr PID    CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}

and it looks like this
conkyrc_by_omns.png

Offline

Help fund CrunchBang, donate to the project!

#2 2008-11-28 12:43:04

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: My Conky Config

Nice one omns smile In return, here is one of mine. It is for a single core machine with an Atheros wireless card. Anyone interested in using it can simply swap out the references to ath0 with wlan0 to use with more generic wireless cards.

background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}

${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${font sans-serif:normal:size=8}IP address: $alignr ${addr ath0}
ESSID: $alignr ${wireless_essid ath0}
Connection quality: $alignr ${wireless_link_qual_perc ath0}%
${downspeedgraph ath0}
DLS:${downspeed ath0} kb/s $alignr total: ${totaldown ath0}
${upspeedgraph ath0}
ULS:${upspeed ath0} kb/s $alignr total: ${totalup ath0}

conky-muppy.png?w=&h=&cache=cache

Offline

#3 2008-11-28 12:57:51

arpbook
The Mac Magician
From: montpellier,france
Registered: 2008-11-27
Posts: 177
Website

Re: My Conky Config

hi omns smile
really simplistic and soft conky.. nice job
for thoose who wants more conkyrc, just à french-feed with 97pages of "conky-all-style" : http://forum.ubuntu-fr.org/viewtopic.php?id=99471
and for sharing, here is mine :

# set to yes if you want Conky to be forked in the background
background yes

#font
use_xft yes
xftfont bauhaus:pixelsize=10

# Text alpha when using Xft
xftalpha 0.5

# Update interval in seconds
update_interval 1.0

# 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 no

# If own_window is yes, you may use type normal, desktop or override
own_window_type normal

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window is yes, these window manager hints may be used
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 100

# Maximum width
maximum_width 190

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Stippled borders?
# stippled_borders 8

# border margins
# border_margin 2

# border width
# border_width 1

# Default colors and also border colors
default_color grey
default_shade_color black
default_outline_color white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 6
gap_y 22

# 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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
##############################################
## Optional ##
# Shortcut keys:
#Apple+a$alignr Audacious
#Apple+t$alignr Terminal
#Apple+e$alignr Text Editor
#Apple+f$alignr Rox F.M.
#Apple+m$alignr VLC Player
#Apple+w$alignr Web Browser
#Apple+c$alignr Thunderbird
#Apple+g$alignr the Gimp
#Apple+o$alignr OpenOffice.org
#Apple+v$alignr Volume Control
##############################################
#$alignc ## FILS RSS ##
#$alignc${rss http://yaen.pujol.free.fr/dotclear/rss.php 60 feed_title}
# >${rss http://yaen.pujol.free.fr/dotclear/rss.php 60 item_title 0}
# >${rss http://yaen.pujol.free.fr/dotclear/rss.php 60 item_title 1}
# >${rss http://yaen.pujol.free.fr/dotclear/rss.php 60 item_title 2}
# >${rss http://yaen.pujol.free.fr/dotclear/rss.php 60 item_title 3}
#$alignc ##  ##
#$alignc Ubuntu Planet
# >${rss http://planet.ubuntu-fr.org/feed/tag/Accueil/rss2 60 item_title 0}
# >${rss http://planet.ubuntu-fr.org/feed/tag/Accueil/rss2 60 item_title 1}
# >${rss http://planet.ubuntu-fr.org/feed/tag/Accueil/rss2 60 item_title 2}
# >${rss http://planet.ubuntu-fr.org/feed/tag/Accueil/rss2 60 item_title 3}
#$stippled_hr
##############################################

TEXT
$color $stippled_hr
Host:$alignr$nodename
System:$alignr$sysname  of course!
Arch:$alignr$machine
Kernel:$alignr$kernel
Uptime:$alignr$uptime
Power:  $acpiacadapter$alignr$battery_percent% - $battery_time
$stippled_hr
Ubuntu:$alignr${fs_used /}/${fs_size /}
${color ffffff}${fs_bar /}$color
Arpblack:$alignr${fs_used /home}/${fs_size /home}
${color ffffff}${fs_bar /home}$color
Mac osx:$alignr${fs_used /media/MacBookHD}/${fs_size /media/MacBookHD}
${color ffffff}${fs_bar /media/MacBookHD}
Ram:$alignr$mem/$memmax
${color ffffff}$membar
Swap:$alignr$swap/$swapmax
${color ffffff}$swapbar
$stippled_hr
HD temp : ${hddtemp /dev/sda}$alignr HD I/O : $diskio
${color ffffff}${diskiograph 15,200}
intel-core1: ${font}${execi 2 sensors | grep 'Core 0' | sed -e 's/.*  +//' | sed -e 's/.0°C.*//'} °C    ${freq_dyn_g cpu1} ghz$alignr${cpu cpu1}%
${color ffffff}${cpubar cpu1}
intel-core2: ${font}${execi 2 sensors | grep 'Core 1' | sed -e 's/.*  +//' | sed -e 's/.0°C.*//'} °C    ${freq_dyn_g cpu2} ghz$alignr${cpu cpu2}%
${color ffffff}${cpubar cpu2}
${cpugraph 20,200 eae8e3 ffffff}
$stippled_hr
$alignc process : $processes     running : $running_processes   
$stippled_hr
 % cpu    $alignr name           
${top cpu 1}  $alignr${top name 1}
${top cpu 2}  $alignr${top name 2}
${top cpu 3}  $alignr${top name 3}
${top cpu 4}  $alignr${top name 4}
${top cpu 5}  $alignr${top name 5}
$stippled_hr
 % mem    $alignr name           
${top_mem mem 1}  $alignr${top_mem name 1}
${top_mem mem 2}  $alignr${top_mem name 2}
${top_mem mem 3}  $alignr${top_mem name 3}
${top_mem mem 4}  $alignr${top_mem name 4}
${top_mem mem 5}  $alignr${top_mem name 5}
$stippled_hr
 wifi quality level$alignr${wireless_link_qual wlan0} / ${wireless_link_qual_max wlan0}
 Download$alignr${downspeed wlan0} k/s
$alignr${downspeedgraph wlan0 15,200 eae8e3 ffffff}
 Upload$alignr${upspeed wlan0} k/s
$alignr${upspeedgraph wlan0 15,200 eae8e3 ffffff}
$stippled_hr
$alignc arpbook-mail : ${imap_unseen mail.mac.com "address" "password"} / ${imap_messages mail.mac.com "mail adress" "password"}
$stippled_hr

and what it looks like :
7998abb75eaa7db754f96670cda87.jpg

and for fun, if you want a geek-conky, take a look here: http://www.arpbook.com/ArpBookMac/Crunc … creen.html
a+
arp

Last edited by arpbook (2008-12-20 23:35:13)


arpbook is dead - arpinux is born, and became a deviant.

Offline

#4 2008-11-28 16:07:10

ShaqArif
#! Member
From: London, UK
Registered: 2008-11-28
Posts: 70

Re: My Conky Config

There are some great conky setups at gnome-look.org - do a search for conky.

Also, the english version of the conky script on ubuntu forums posted by arpbook:

http://ubuntuforums.org/showthread.php?t=281865

with over 400 pages, there should be something in there for everyone...

Offline

#5 2008-12-01 12:27:57

./karlos
Member
From: Eastbourne UK
Registered: 2008-11-29
Posts: 25

Re: My Conky Config

Basically fiddled around with yours omns...

    
    background yes
    use_xft yes
    xftfont HandelGotD:size=8
    xftalpha 0.5
    update_interval 4.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
    double_buffer yes
    minimum_size 200 5
    maximum_width 220
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color grey
    default_shade_color red
    default_outline_color green
    alignment top_right
    gap_x 5
    gap_y 5
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no

    TEXT
    CPU $alignr ${cpu cpu0}%
    ${cpugraph cpu0}

    MEM $alignc $mem / $memmax $alignr $memperc%
    $membar
    
    swap $alignc $swap / $swapmax $alignr $swapperc%
    ${swapbar}

    / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
    
    global $alignc ${fs_used /home/karlos/global} / ${fs_size /home/karlos/global} $alignr ${fs_free_perc /home/karlos/global}%
    ${fs_bar /home/karlos/global}
    
    $processes processes ($running_processes running)
    
    NAME $alignr PID    CPU
    ${top name 1} $alignr ${top pid 1} ${top cpu 1}
    ${top name 2} $alignr ${top pid 2} ${top cpu 2}
    ${top name 3} $alignr ${top pid 3} ${top cpu 3}
    ${top name 4} $alignr ${top pid 4} ${top cpu 4}
    ${top name 5} $alignr ${top pid 5} ${top cpu 5}
    ${top name 6} $alignr ${top pid 6} ${top cpu 6}
    ${top name 7} $alignr ${top pid 7} ${top cpu 7}
    ${top name 8} $alignr ${top pid 8} ${top cpu 8}
    ${top name 9} $alignr ${top pid 8} ${top cpu 9}
    
    Inbound $alignr ${downspeed eth0} kb/s
    ${downspeedgraph eth0}
    Outbound $alignr ${upspeed eth0} kb/s
    ${upspeedgraph eth0}
    
    Alt+F2$alignr Run Dialog
    Alt+F3$alignr Alt Menu
    Super+space$alignr Main Menu
    Super+t$alignr Terminal
    Super+f$alignr File Manager
    Super+e$alignr Editor
    Super+m$alignr Media Player
    Super+w$alignr Web Browser
    Super+g$alignr Graphics Editor
    Super+l$alignr Lock Screen
    Super+v$alignr Volume Control
    Super+x$alignr Logout
    PrtSc$alignr Screenshot

conkykq1.png

Last edited by ./karlos (2008-12-01 12:37:25)


registered linux user #413097 | _/\o_ | CHANT: Hare Krishna, Hare Rama... AND BE HAPPY

Offline

#6 2008-12-01 13:16:48

Hanna
Conky Queen
From: Finland
Registered: 2008-11-29
Posts: 759

Re: My Conky Config

Bases on http://gnome-look.org/content/show.php/ … tent=92328

# Use Xft?
use_xft yes
xftfont Trebuchet MS:size=8
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_type desktop
    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 180 0

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
own_window_colour white

# Text alignment, other possible values are commented
alignment top_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 50

# 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
SYSTEM ${hr 2}

Kernel:  ${alignr}${kernel}
CPU: ${cpu cpu}% ${alignr}${cpubar 8,60 cpu}
RAM: $memperc% ${alignr}${membar 8,60}
Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 35}${font Trebuchet MS:size=26}${time %H:%M}${font}
${alignc}${time %a %d %b %Y}

HD ${hr 2}

Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,60 /root}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}${else}${if_existing /proc/net/route eth0}
Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}${endif}${else}${if_existing /proc/net/route eth1}
Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup eth1}
Download: ${alignr}${totaldown eth1}${endif}${else}${font PizzaDude Bullets:size=14}4${font}   Network Unavailable${endif}

MUSIC ${hr 2}
${alignc 35}${font Buttons and Switches JL:size=38}J${font}
${voffset 7}${exec conkyExaile --datatype=TI} by ${exec conkyExaile --datatype=AR}


WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=FIXX0020 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=FIXX0020 --datatype=HT}${font}


${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=WS}
${else}${if_existing /proc/net/route eth0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=FIXX0020 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=FIXX0020 --datatype=HT}${font}


${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=WS}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=FIXX0020 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=FIXX0020 --datatype=HT}${font}


${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=FIXX0020 --datatype=WS}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}

1z4hldd.jpg

Last edited by Hanna (2008-12-01 19:04:58)


HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U

Offline

#7 2008-12-01 17:33:32

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: My Conky Config

Something new smile Thanks to Hanna for the link to the base script

Edit: I changed this a bit and updated the image/code.

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# 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_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 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# 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 35
gap_y 35

# 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
SYSTEM ${hr 2}
${alignc 17}${font Arial Black:size=16}omns${font}
${alignc}smile, breathe and go slowly
${voffset 2}${font StyleBats:size=16}i${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 17}${font Arial Black:size=16}${time %H:%M}${font}
${alignc}${time %A %d %B %Y}

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth1}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}

PROCESSES ${hr 2}
NAME $alignr PID    CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}

My_conky_setup_by_omns.png

Last edited by omns (2008-12-02 20:36:40)

Offline

#8 2008-12-01 19:14:41

swj
Eagle Eyes
From: USA
Registered: 2008-11-29
Posts: 103

Re: My Conky Config

omns wrote:

Something new smile Thanks to Hanna for the link to the base script

conkyrc2_by_omns.png
Yes, I can't sleep smile

...Now that's a commanding conky!

Offline

#9 2008-12-02 08:37:02

fabsh
#1 Linux Outlaw
From: Bonn, Germany
Registered: 2008-11-25
Posts: 118
Website

Re: My Conky Config

Thanks for all the great inspiration! big_smile


# .conkyrc by fabsh <fabsh@lamerk.org>
# Based on ideas and code from the CunchBang Linux forums at http://crunchbanglinux.org
# v. 1.0

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky

# If own_window is yes, these window manager hints may be used
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 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# 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 12
gap_y 8

# 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
SYSTEM ${hr 2}
${alignc 19}${font Arial Black:size=16}${nodename}${font}
${alignc -4}Dell XPS m1330
${voffset 2}${font Arial Black:style=Bold:size=12}#!${font}   CrunchBang Linux  ${alignr}08.10.01
${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 19}${font Arial Black:size=18}${time %H:%M}${font}
${voffset 2}${alignc}${time %A, %d %B %Y}

WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=GMXX0010 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=FIXX0020 --datatype=HT}${font}


${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=BD}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=HM}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=GMXX0010 --hideunits --datatype=WD}
${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=WG}
${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=SR} - ${execi 600 conkyForecast --location=GMXX0010 --datatype=SS}

${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=GMXX0010 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=FIXX0020 --datatype=MF}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=GMXX0010 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=FIXX0020 --datatype=HT}${font}


${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=BD}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=HM}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=GMXX0010 --hideunits --datatype=WD}
${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=WG}
${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=GMXX0010 --datatype=SR} - ${execi 600 conkyForecast --location=GMXX0010 --datatype=SS}

${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=GMXX0010 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=FIXX0020 --datatype=MF}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}
${voffset -10}HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Local IP: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Public IP: ${alignr}${execi 600 ip}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Local IP: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Public IP: ${alignr}${execi 600 ip}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}

428833138_7dJJD-O.png

Offline

#10 2008-12-02 08:48:59

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: My Conky Config

Wow! I am loving this thread. There is some truly awesome conky madness going on big_smile Seriously though, not only do they look beautiful, but they are damn informative too.

Can you guess what I will be doing today? smile

Offline

#11 2008-12-02 08:57:55

fabsh
#1 Linux Outlaw
From: Bonn, Germany
Registered: 2008-11-25
Posts: 118
Website

Re: My Conky Config

corenominal wrote:

Can you guess what I will be doing today? smile

Trying to hack into the poor bloke that has my IP now? Just kidding.... wink

Offline

#12 2008-12-02 09:09:45

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: My Conky Config

fabsh wrote:
corenominal wrote:

Can you guess what I will be doing today? smile

Trying to hack into the poor bloke that has my IP now? Just kidding.... wink

LOL big_smile Close, but not quite. Thanks to you lot I will be playing about with my conky set-up. Luckily for me it should not take too long, all the hard work has already been done! tongue

Offline

#13 2008-12-02 09:24:47

./karlos
Member
From: Eastbourne UK
Registered: 2008-11-29
Posts: 25

Re: My Conky Config

This is such a laugh...

NOTE TO MYSELF... (GET a LIFE...)

    background yes
    use_xft yes
    xftfont HandelGotD:size=8
    xftalpha 0.5
    update_interval 1.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
    double_buffer yes
    minimum_size 170 5
    maximum_width 190
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color aaaaaa
    default_shade_color red
    default_outline_color green
    alignment top_right
    gap_x 5
    gap_y 5
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no

TEXT
SYSTEM ${hr 2}

${alignc 42}${font Arial Black:size=16}Hare Krishna!${font}

${voffset 2}${font Arial Black:style=Bold:size=12}#!${font}   CrunchBang Linux  ${alignr}08.10.01
${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

PROCESSES ${hr 2}

NAME $alignr PID    CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}
    
HD ${hr 2}

${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root: ${alignr}${fs_bar 8,60 /}

${font Pie charts for maps:size=14}7${font}   ${voffset -5}Global: ${alignr}${fs_bar 8,60 /home/karlos/global}

KEYBINDINGS ${hr 2}
    
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+g$alignr Graphics Editor
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr Screenshot

NETWORK ${hr 2}

${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}

conky2gs1.png


registered linux user #413097 | _/\o_ | CHANT: Hare Krishna, Hare Rama... AND BE HAPPY

Offline

#14 2008-12-02 10:45:54

NWAdawg
Bob Da Dawg!
From: Arkansas US
Registered: 2008-11-27
Posts: 192
Website

Re: My Conky Config

Here's mine


# set to yes if you want Conky to be forked in the background
    background yes
    use_xft yes
    xftfont HandelGotD:size=9
    xftalpha 0.5
    update_interval 4.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
    double_buffer yes
    minimum_size 200 5
    maximum_width 250
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
   
    default_color grey
    default_shade_color red
    default_outline_color grey
    alignment top_right
    gap_x 12
    gap_y 48
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no

    TEXT
    Date & Time ${hr 2}
    ${alignc}${font Arial Black:size:24}${time %H:%M}${font}
    ${alignc}${Time %A %m %d %Y}
    
    System ${hr 2}
    $sysname $kernel on $machine
    Hostname $alignr $nodename
    Uptime $alignr $uptime
    Athlon XP +2400 @  ${freq}MHz
    CPU $alignr ${cpu cpu0}%
    ${cpubar cpu0}

    MEM $alignc $mem / $memmax $alignr $memperc%
    $membar
    
    Swap $alignc $swap / $swapmax $alignr $swapperc%
    ${swapbar}

    Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
    
    Processes ${hr 2}
    $processes processes ($running_processes running)
    
    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}
    ${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}


    
    Network ${hr 2}
    ${alignc}  eth0 ${addr eth0}
    Inbound $alignr ${downspeed eth0} kb/s
    ${downspeedgraph eth0}
    Outbound $alignr ${upspeed eth0} kb/s
    ${upspeedgraph eth0}
   
    
   

conkyag2.png


-Bob- 
Ubuntu User #24005, Linux User #480025
identi.ca  friendfeed  facebook

Offline

#15 2008-12-02 11:16:39

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: My Conky Config

Hehe, tweaked mine a bit more today. What a wealth of information this thread is providing. Keep 'em coming smile

Offline

#16 2008-12-02 13:48:47

zopio
CLI Maestro
From: Michigan, USA
Registered: 2008-11-29
Posts: 101
Website

Re: My Conky Config

BEAUTIFUL work, everyone -- back to the proverbial drawing board for me.  I'll post mine soon.

Offline

#17 2008-12-02 18:33:21

sinbsd
Member
Registered: 2008-12-02
Posts: 11
Website

Re: My Conky Config

I've got an issue with mine. As you can see in my screenshot.. it's snowing while thunderstorming (apparently I live on mars)..

Can anyone find the issue? I'm lost.

# .conkyrc by fabsh <fabsh@lamerk.org>
# Based on ideas and code from the CunchBang Linux forums at http://crunchbanglinux.org
# v. 1.0

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky

# If own_window is yes, these window manager hints may be used
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 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# 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 12
gap_y 8

# 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
SYSTEM ${hr 2}
${alignc 24}${font Arial Black:size=14}${nodename}${font}
${alignc -8}Dell Studio 1735
${voffset 2}${font Arial Black:style=Bold:size=12}#!${font}   CrunchBang Linux  ${alignr}08.10.01
${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 19}${font Arial Black:size=18}${time %H:%M}${font}
${voffset 2}${alignc}${time %A, %d %B %Y}

WEATHER ${hr 2}
${if_existing /proc/net/route eth1}
${voffset -8}${alignr 56}${font Weather:style=Bold:size=40}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=HT}${font}


${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=BD}
${voffset 0}Humidity: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=HM}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --hideunits --datatype=WS} km/h ${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --hideunits --datatype=WD}
${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=WG}
${voffset 0}Daylight: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=SR} - ${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=SS}

${font Trebuchet MS:size=12}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=24}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=MF}${font}
${else}${if_existing /proc/net/route eth1}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=HT}${font}


${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=BD}
${voffset 0}Humidity: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=HM}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --hideunits --datatype=WS} km/h ${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --hideunits --datatype=WD}
${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=WG}
${voffset 0}Daylight: ${alignr}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=SR} - ${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=SS}

${font Trebuchet MS:size=12}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 /usr/bin/conkyForecast --location=CAXX0126 --datatype=MF}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}
${voffset -10}HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}

NETWORK ${hr 2}
${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${endif}

Screenshot:

21o7982.jpg

Last edited by sinbsd (2008-12-02 18:34:18)


Mike Johnston
Founder and Senior Editor
CMS - ERP & CRM Critic

Offline

#18 2008-12-02 20:38:04

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: My Conky Config

Changed mine slightly but instead of posting again just updated the post above.

http://crunchbanglinux.org/forums/post/574/#p574

Offline

#19 2008-12-02 22:51:15

bobobex
The Better Half
From: Lincoln, UK
Registered: 2008-11-26
Posts: 1,252

Re: My Conky Config

OK, so my opening question to Philip was "What's Conky?"

He replied disdainfully "That display on your desktop!"

My reason for asking was that I loved Hanna's funky post above and I wanted one!!

Then I scrolled down and saw Fabsh's modification and there were elements of his Conky config that I wanted too! In particular, I liked the moon phase displayed as an image.

My next question to Philip completely threw him smile - "So do I just copy Hanna's text into my Terminal command?"

Once he had finishing choking on his very expensive beer that I had bought him tonight and stopped laughing long enough to draw breath, he explained that I needed to do it through my conkyconfig file.

"What's one of them and where is it?" I asked.

Several expletives fell from his lips, met with a tirade back at him from my own. (We do love each other smile)

I then asked him to show me/talk me through what I needed to do to set up my desktop to mirror Hanna/Fabsh's conky display.

2 hours later, 3 glasses of wine consumed and after much patient (through gritted teeth!) tuition I passed the laptop over to Philip to finish it off as I had about lost the will to live once my terminal kept giving me error messages that I had no idea how to correct, let alone understand.

Philip, bless him, has the patience of a saint but I could tell that he was getting pissed off with all of my questions like "Why am I typing that into the terminal - what am I asking it to do?" and was itching to get his hands on my laptop and do some fault-finding of his own.

The result was Philip did his "thing" in 15 minutes and now I have a conky display that is awesome, though I am still none the wiser on how he achieved it sad

The purpose of the exercise tonight was to teach me some basic system administration/set-up and reduce my "noobishness" when it comes to all things Linux, but he failed miserably and I still have no f***ing idea what he does all day on his laptop and we have wasted 2 hours when we could have watched a DVD together (ultimately a more enjoyable pastime than what has been described above!)

Check out my new conky smile

bex69-conkysshot.png?w=&h=&cache=cache

# Use Xft?
use_xft yes
xftfont Trebuchet MS:size=8
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_type desktop
    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 180 0

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
own_window_colour white

# Text alignment, other possible values are commented
alignment top_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 50

# 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
SYSTEM ${hr 2}

Host: ${alignr}${nodename}
Kernel:  ${alignr}${kernel}
CPU: ${cpu cpu}% ${alignr}${cpubar 8,60 cpu}
RAM: $memperc% ${alignr}${membar 8,60}
Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 35}${font Trebuchet MS:size=26}${time %H:%M}${font}
${alignc}${time %a %d %b %Y}

HD ${hr 2}

Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,60 /root}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan1}
Up: ${upspeed wlan1} kb/s ${alignr}${upspeedgraph wlan1 8,60 789E2D A7CC5C}
Down: ${downspeed wlan1} kb/s ${alignr}${downspeedgraph wlan1 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup wlan1}
Download: ${alignr}${totaldown wlan1}
Signal: ${wireless_link_qual wlan1}% ${alignr}${wireless_link_bar 8,60 wlan1}${else}${if_existing /proc/net/route eth0}
Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}${endif}${else}${if_existing /proc/net/route eth1}
Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup eth1}
Download: ${alignr}${totaldown eth1}${endif}${else}${font PizzaDude Bullets:size=14}4${font}   Network Unavailable${endif}


WEATHER ${hr 2}
${if_existing /proc/net/route wlan1}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0176 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=UKXX0176 --datatype=HT}${font}


${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=BD}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=HM}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=UKXX0176 --hideunits --datatype=WD}
${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=WG}
${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=SR} - ${execi 600 conkyForecast --location=UKXX0176 --datatype=SS}

${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=UKXX0176 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=UKXX0176 --datatype=MF}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0176 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=UKXX0176 --datatype=HT}${font}


${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=BD}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=HM}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=UKXX0176 --hideunits --datatype=WD}
${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=WG}
${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=UKXX0176 --datatype=SR} - ${execi 600 conkyForecast --location=UKXX0176 --datatype=SS}

${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=UKXX0176 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=UKXX0176 --datatype=MF}${font}

${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}

Last edited by bobobex (2008-12-02 23:39:12)


Politeness, Respect, Trust, Humility - forum etiquette I abide by!
twitter

#! forum moderator

Offline

#20 2008-12-02 23:00:19

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,057
Website

Re: My Conky Config

^^ A total fabrication, all of it. Apart from the bit about Philip doing his thing! big_smile

Offline

#21 2008-12-03 00:19:05

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: My Conky Config

lol lol best read I've had all day smile

Offline

#22 2008-12-03 07:43:47

fabsh
#1 Linux Outlaw
From: Bonn, Germany
Registered: 2008-11-25
Posts: 118
Website

Re: My Conky Config

LOL. I wish my girlfriend would ask me what conky was.... lol

Offline

#23 2008-12-03 10:43:26

Hanna
Conky Queen
From: Finland
Registered: 2008-11-29
Posts: 759

Re: My Conky Config

^Well my boyfriend did ask what is Conky. I told him and for a second he wanted it too, but then he thought it is too complicated roll


HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U

Offline

#24 2008-12-03 11:18:27

sinbsd
Member
Registered: 2008-12-02
Posts: 11
Website

Re: My Conky Config

My wife asked, then proceeded to glaze over while I explained.. then has never asked again..

So it's kind of a win/win for me ;P


Mike Johnston
Founder and Senior Editor
CMS - ERP & CRM Critic

Offline

Help fund CrunchBang, donate to the project!

#25 2008-12-04 02:45:15

marf
Member
Registered: 2008-12-03
Posts: 24

Re: My Conky Config

ConkyWeather doesn't seem to be working for me. Is there something additional I need to install to get it to show weather? Everything else in the config works. BTW I'm using the config posted by Trouble'n'Strife.

Thanks,

Marf

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo