Conky Showoff thread

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
tinman

Re: Conky Showoff thread

Post by tinman »

Here's mine... sorry to admins and moderators for starting athread without searching

Code: Select all

own_window yes
own_window_hints undecorated,below,skip_taskbar
background no
double_buffer yes
use_spacer right
use_xft yes
update_interval 2.0
minimum_size 400 5
maximum_width 260 300
#maximum_size 200 5
# Draw shades?
draw_shades yes
draw_outline yes # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
stippled_borders 8

border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
own_window_colour brown
own_window_transparent yes
alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 10
gap_y 10
override_utf8_locale no
xftfont monospace:bold:size=8
xftalpha 0.8
TEXT
${offset 43}${font infected::size=36}${color slate grey}${alignc}tinman${font}

${offset 0}${color slate grey}OS: ${color }$sysname
${offset 0}${color slate grey}Distro: ${color }${exec cat /etc/issue |awk '{print $1}' |sed -n '1p'}
${offset 0}${color slate grey}Arch: ${color }${exec uname -m}
${offset 0}${color slate grey}User: ${color }${exec whoami}
${offset 0}${color slate grey}Host: ${color }$nodename
${offset 0}${color slate grey}Kernel: ${color }$kernel
${offset 0}${color slate grey}HDD Temp: ${color }${hddtemp /dev/sda}C
${offset 0}${color slate grey}CPU Temp: ${color }${exec /usr/bin/sensors |grep Core0 |awk '{print $3}' |sed 's/°C//'} C
${offset 0}${color slate grey}CPU Freq: ${color }$freq_g Ghz ($freq)
${offset 0}${color slate grey}CPU Usage ${color }$cpu%
#${offset 0}${cpugraph 35,250 000000 ffffff}
${offset 0}${color slate grey}Highest CPU:
${offset 0}${color ddaa00} ${top name 1} ${top cpu 1}
${offset 0}${color lightgrey} ${top name 2} ${top cpu 2}
${offset 0}${color lightgrey} ${top name 3} ${top cpu 3}
${offset 0}${color lightgrey} ${top name 4} ${top cpu 4}
${offset 0}${color lightgrey} ${top name 5} ${top cpu 5}

${offset 0}${color slate grey}Highest MEM:
${offset 0}${color ddaa00} ${top_mem name 1} ${top_mem mem 1}
${offset 0}${color lightgrey} ${top_mem name 2} ${top_mem mem 2}
${offset 0}${color lightgrey} ${top_mem name 3} ${top_mem mem 3}
${offset 0}${color lightgrey} ${top_mem name 4} ${top_mem mem 4}
${offset 0}${color lightgrey} ${top_mem name 5} ${top_mem mem 5}

${offset 0}${color slate grey}Mem: ${color } $memperc% $mem/ $memmax
${offset 0}${membar 4,250}
${offset 0}${color slate grey}Swap: ${color }$swapperc% $swap/ $swapmax
${offset 0}${swapbar 4,250}
${offset 0}${color slate grey}Root: (${fs_type /root}) ${color }${fs_free /} / ${fs_size /}
${offset 0}${fs_bar 4,250 /}
${offset 0}${color slate grey}Big: (${fs_type /media/Big}) ${color }${fs_free /media/Big} / ${fs_size /media/Big}
${offset 0}${fs_bar 4,250 /media/Big}
${offset 0}${color slate grey}HDD Read: ${color }${diskio_read sda}
${offset 0}${diskiograph_read sda 27,250 000000 ffffff}
${offset 0}${color slate grey}HDD Write: ${color }${diskio_write sda}
${offset 0}${diskiograph_write sda 27,250 000000 ffffff}
${offset 0}${color slate grey}Network Traffic: IP Address:
${offset 0}${color slate grey}Up: ${color }${upspeed eth0} ${addr eth0}
#${offset 0}${upspeedgraph wlan0 27,250 000000 ffffff}
#${offset 0}${color slate grey}Down: ${color }${downspeed wlan0}${color}
#${offset 0}${downspeedgraph wlan0 27,250 000000 ffffff
it's stolen ...but hey sharing is life
vrkalak

Re: Conky Showoff thread

Post by vrkalak »

:o It's been a months since the last post was made to this topic!!! I know that many people are making new and great looking Conky set-ups. Let's see them.

Image

Latest/updated screenshot of my #!Crunchbang/Linux desktop and new Conky layout/set-up. Still, dark, minimal and pleasing on the eye

#!Statler with Sid repros, 2.6.35-2 kernel ... and I finally got my new Conky where I want it. I think.

Everyone loves the Conky > Word Clock

Conky Artists Group over at DeviantART >> http://conky-artists-group.deviantart.com/
Great new things about Conky and many of the Conky developers are there, too.
colyn

Re: Conky Showoff thread

Post by colyn »

I finally got a working Conky that even displays cpu temp and fan rpm..

Code: Select all

# Simple Conky by Colyn Goodson
# Created on Aug 20, 2010
#Modified on Aug 21, 2010
double_buffer no
alignment top_right
border_width 1
cpu_avg_samples 2
default_color red
default_outline_color white
default_shade_color red
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window no
own_window_transparent yes
own_window_class Conky
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
$hr
Colyn's
$nodename - $sysname $kernel on $machine
$hr
${color white}Uptime:$color $uptime
${color white}CPU Frequency (in MHz):$color $freq
${color white}CPU Frequency (in GHz):$color $freq_g
${color white}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color white}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color white}CPU Usage:$color $cpu% ${cpubar 4}
${color white}CPU1 Temp:$color ${hwmon 0 temp 1}°C ${color white}CPU Fan: $color ${hwmon 0 fan 1} rpm
${color white}CPU2 Temp:$color ${hwmon 0 temp 3}°C ${color white}Vent Fan: $color ${hwmon 0 fan 2} rpm
$hr
${color white}Hard Drive Temp: $color ${execi 10 nc localhost 7634 | cut -c27-28 ;}°C
$hr
${color white}Processes:$color $processes  ${color white}Running:$color $running_processes
$hr
${color white}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
$hr

And here is my sample Conky desktop. I made a few mods to add hddtemp to the mix.

Image
Last edited by colyn on Sat Aug 21, 2010 11:08 pm, edited 1 time in total.
User avatar
Pilosopong Tasyo
Level 6
Level 6
Posts: 1432
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: Conky Showoff thread

Post by Pilosopong Tasyo »

My conky-fied desktop. Nothing fancy, just some important stuff I need to be notified of on a regular basis. The last two sections (recent time actions and remaining time) are used to monitor the status of the netcafé timer I wrote last month (using bash scripts).
custom-timer-controlling-station.png
Conky settings:

Code: Select all

alignment top_right
cpu_avg_samples 2
double_buffer yes
draw_shades yes
gap_x 15
gap_y 240
net_avg_samples 2
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
update_interval 0.5
use_xft yes

TEXT
${offset 60}${font HeaveneticaBoxed:bold:size=14}${color white}LinuxMint9
${offset 70}${font Arial:bold:size=11}${color white}${voffset -5}${hr 2}${voffset 5}
${alignr}${font Arial:bold:size=11}${color white}${sysname}-${kernel}
${alignr}${font Arial:bold:size=11}${color white}${voffset 2}${nodename} @ ${uptime}${voffset -2}
${voffset -80}${font OpenLogos:size=80}${color white}t${voffset -110}
#
${font Arial:bold:size=12}${color orange}system ${hr 2}
${font Arial:bold:size=11}${color white}${tab 10}cpu1 ${color cyan}${cpu cpu1}%${alignr}${cpu cpu2}%${color white} cpu2
${font Arial:bold:size=11}${color white}${tab 10}${cpugraph cpu1 35,100 00FF00 FFFF00}${alignr}${cpugraph cpu2 35,100 FF0000 FFFF00}
${font Arial:bold:size=11}${color white}${alignc}ram ${color cyan}${mem} (${memperc}%)
${font Arial:bold:size=11}${color white}${tab 10}${memgraph 35,0 0000FF FFFF00}
#
${font Arial:bold:size=12}${color orange}network ${hr 2}
${font Arial:bold:size=11}${color white}${alignc}public ip ${color cyan}${execi 300 /.x/admin.tools/CLI/conky/get.public.ip.address.sh}
${font Arial:bold:size=11}${color white}${tab 10}${downspeedgraph wlan0 35,100 00FF00 FFFF00}${alignr}${upspeedgraph wlan0 35,100 FF0000 FFFF00}
${font Arial:bold:size=11}${color white}${tab 10}dn ${color cyan}${downspeed wlan0}${alignr}${upspeed wlan0}${color white} up
#
${font Arial:bold:size=12}${color orange}recent timer actions ${hr 2}
${font Arial:bold:size=11}${color white}${tab 10}${execi 5 tail -n 5 /.x/admin.tools/CLI/config/actions.log}
#
${font Arial:bold:size=12}${color orange}remaining time ${hr 2}
${font Arial:bold:size=11}${color white}${tab 10}${execi 5 /.x/admin.tools/CLI/conky/get.time.statistics.sh}
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
colyn

Re: Conky Showoff thread

Post by colyn »

I'm still tweaking my conky... :lol:

So here's another look.

Image


And here's the .conkyrc file.

Code: Select all

# Simple Conky by Colyn Goodson
# Created on Aug 20, 2010
#Modified on Aug 22, 2010
###Conky
double_buffer yes
alignment top_right
border_width 1
cpu_avg_samples 2
default_color yellow
default_outline_color gray
default_shade_color gray
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 10
gap_y 10
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_transparent yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${#00ffff}$nodename - $sysname $kernel on $machine
$hr
${color #ff0000}Uptime:$color $uptime

${color #ff0000}CPU Frequency (in MHz):$color $freq

${color #ff0000}CPU Frequency (in GHz):$color $freq_g

${color #ff0000}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}

${color #ff0000}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}

${color #ff0000}CPU Usage:$color $cpu% ${cpubar 4}

${color #ff0000}CPU1 Temp:$color ${hwmon 0 temp 1}°C ${color #ff0000}CPU Fan: $color ${hwmon 0 fan 1} rpm

${color #ff0000}CPU2 Temp:$color ${hwmon 0 temp 3}°C ${color #ff0000}Vent Fan: $color ${hwmon 0 fan 2} rpm

${color #ff0000}Hard Drive Temp: $color ${execi 10 nc localhost 7634 | cut -c27-28 ;}°C

${color #ff0000}Processes:$color $processes  ${color #ff0000}Running:$color $running_processes

${color #ff0000}File systems:/       $color ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 6 /}

${color #ff0000}Networking:
Up:$color ${upspeed eth0}  - ${color #ff0000} Down: $color ${downspeed eth0}

${color #ff0000}Name              PID   CPU%   MEM%
 $color ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color #ff00ff}$alignc Colyn's Linux Mint 9 KDE

${color #00ffff}${time %k:%M:%S}${alignr}${Time %A %m / %d / %Y}
$hr
colyn

Re: Conky Showoff thread

Post by colyn »

I have done several remakes of my .conkyrc and currently am using the one just above this post. One problem I am having is how to make it transparent. If I set double_buffer to no and own_window to no it becomes transparent but will flicker every few seconds. If I set own_window to no and double_buffer to yes the whole desktop goes black.

EDIT:

I just got it figured out.

I had to re-configure the window settings to

Code: Select all

own_window yes
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 0
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
I added the lines

Code: Select all

 own_window_argb_visual yes
own_window_argb_value 0
and then set

Code: Select all

own_window_transparent to no
tawan

Re: Conky Showoff thread

Post by tawan »

I have not made a conky for Mint yet, here is my one on my Arch install...

Image
User avatar
mintmaniac2
Level 4
Level 4
Posts: 219
Joined: Wed May 27, 2009 1:10 pm
Location: Somewhere on the Internet. Probably

Re: Conky Showoff thread

Post by mintmaniac2 »

Here are my two conkys.

Code: Select all

background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
out_to_console no
out_to_stderr no
extra_newline no
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
double_buffer yes
minimum_size 170 5
maximum_width 220
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
uppercase no
default_color ffffff
alignment top_right
gap_x 5
gap_y 5
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
color1 FB9845
color2 E86D27
color5 red
TEXT
${voffset 2}${font Arial Black:style=Bold:size=12}${alignc}${color 7CDB32}Linux Mint 9 "Isadora"
${color}${font OpenLogos:size=16}t${font}   Kernel:  ${alignr}${sysname}${kernel}
        ${color}HostName: ${alignr}${nodename}
        Architecture: ${alignr}${machine}
${color}${font StyleBats:size=16}P${font}   Updates: ${alignr}${execi 300 ~/Bin/debupdates.sh} 
${color}${font StyleBats:size=16}A${font}   CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60 C34723}
${color}${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60 FB9845}
${color}${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60 FB9845}
${color}${font StyleBats:size=16}K${color}${font}   Temp: ${alignr}${hwmon temp 1}°C
${color}${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60 FB9845}
${color}${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60 C34723}
${color}${font StyleBats:size=16}h${font}   Processes: ${alignr}${processes}
${color}${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}
${color}${font StyleBats:size=16}q${font}   Time: ${alignr}${color1}${time %H:%M:%S} ${color2}${time %d/%m/%y}

${color2}PROCESSES ${color}${hr 2}

NAME ${alignr} PID ${alignr}CPU% MEM%
${color1}${top name 1} ${alignr} ${top pid 1}${top cpu 1}${top mem 1}
${color}${top name 2} ${alignr} ${top pid 2}${top cpu 2}${top mem 2}
${color}${top name 3} ${alignr} ${top pid 3}${top cpu 3}${top mem 3}
${color}${top name 4} ${alignr} ${top pid 4}${top cpu 4}${top mem 4}
${color}${top name 5} ${alignr} ${top pid 5}${top cpu 5}${top mem 5}
${color}${top name 6} ${alignr} ${top pid 6}${top cpu 6}${top mem 6}

${color2}NETWORK ${color}${hr 2}

${color}${voffset -6}${font PizzaDude Bullets:size=14}O${font}  Up: ${upspeed eth1} ${color}${alignr}${upspeedgraph eth1 8,60 C34723 FB9845}
${color}${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} ${color}${alignr}${downspeedgraph eth1 8,60 C34723 FB9845}
${color}${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${color}${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${color}${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth1}

  ${color}Outbound Connection ${alignr} Remote Service/Port
  ${color1}${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
  ${color}${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
  ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
  ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
  ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}

${color2}FORTUNE ${hr 2}

${color}${alignc}${execi 120 fortune -s | fold -w36}


Image

Code: Select all

background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
out_to_console no
out_to_stderr no
extra_newline no
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
double_buffer yes
maximum_width 1036
minimum_size 8,1024
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
uppercase no
default_color ffffff
alignment top_middle
gap_x 5
gap_y 5
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
color white
TEXT
${color}CPU1: ${cpugraph cpu1 8,60 C34723 FB9845} | CPU2: ${cpugraph cpu2 8,60 C34723 FB9845} | RAM: ${memgraph 8,60 C34723 FB9845} SWAP: ${swapbar 8,60 C34723 FB9845}| Used Disk '/': ${color1}${fs_used /} ${color}${fs_bar 8,60 /} ${color}| Free Disk '/': ${color1}${fs_free /} ${color}${fs_bar_free 8,60 /}${color} | Available Disk '/': ${fs_size /}
${alignc}Distro Ranking: ${execi 3600 ~/Bin/ranking.py}
Image
Image
sudo apt-get purge win7 && sudo apt-get install Freedom
You're currently going through a difficult transition period called "Life."
safetycopy

Re: Conky Showoff thread

Post by safetycopy »

tawan wrote:I have not made a conky for Mint yet, here is my one on my Arch install...
Very nice!
User avatar
mintmaniac2
Level 4
Level 4
Posts: 219
Joined: Wed May 27, 2009 1:10 pm
Location: Somewhere on the Internet. Probably

Re: Conky Showoff thread

Post by mintmaniac2 »

this thread us dying out. maybe we need some1 to reignite it
Image
sudo apt-get purge win7 && sudo apt-get install Freedom
You're currently going through a difficult transition period called "Life."
vrkalak

Re: Conky Showoff thread

Post by vrkalak »

Image

As requested here is the Script for the Word Clock Conky.

Code: Select all

# [b]conky configuration[/b]
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
#
# Check http://conky.sf.net for an up-to-date-list.
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background yes
use_xft yes
xftfont Sans-Serif:size=12
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 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
#default_shade_color black
default_outline_color white
alignment middle_right
gap_x 30
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 222222

TEXT
${font Sans-Serif:bold:size=12}
${color}I T ${color1}L ${color}I S ${color1}A S T I M E
${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 15}${if_match ${exec date +"%M"} < 20}${color}${endif}${endif}Q U A R T E R ${color1}D C
${if_match ${exec date +"%M"} >= 20}${if_match ${exec date +"%M"} < 30}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} >= 25}${if_match ${exec date +"%M"} < 30}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 5}${if_match ${exec date +"%M"} < 10}${color}${endif}${endif}F I V E ${color1}X
${if_match ${exec date +"%M"} >= 30}${if_match ${exec date +"%M"} < 35}${color}${endif}${endif}H A L F ${color1}B ${if_match ${exec date +"%M"} >= 10}${if_match ${exec date +"%M"} < 15}${color}${endif}${endif}T E N ${color1}F T O
${else}${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}A ${color1}C ${if_match ${exec date +"%M"} >= 45}${if_match ${exec date +"%M"} < 50}${color}${endif}${endif}Q U A R T E R ${color1}D C
${if_match ${exec date +"%M"} >= 35}${if_match ${exec date +"%M"} < 45}${color}${endif}${endif}T W E N T Y ${if_match ${exec date +"%M"} < 40}${if_match ${exec date +"%M"} >= 35}${color}${endif}${else}${color1}${endif}${if_match ${exec date +"%M"} >= 55}${color}${endif}F I V E ${color1}X
H A L F B ${if_match ${exec date +"%M"} >= 50}${if_match ${exec date +"%M"} < 55}${color}${endif}${endif}T E N ${color1}F ${color}T O${color1}
${endif}${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%M"} > 5}${color}${endif}${endif}P A S T ${color1}E R U ${if_match ${exec date +"%M"} < 35}${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}E I G H T ${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif}E L E V E N
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}S E V E N ${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}T W E L V E
${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif}T E N ${else}${if_match ${exec date +"%I"} == 8}${color}${else}${color1}${endif}N I N E
${if_match ${exec date +"%I"} == 12}${color}${else}${color1}${endif}O N E ${if_match ${exec date +"%I"} == 5}${color}${else}${color1}${endif}S I X ${if_match ${exec date +"%I"} == 2}${color}${else}${color1}${endif}T H R E E
${if_match ${exec date +"%I"} == 3}${color}${else}${color1}${endif}F O U R ${if_match ${exec date +"%I"} == 4}${color}${else}${color1}${endif}F I V E ${if_match ${exec date +"%I"} == 1}${color}${else}${color1}${endif}T W O
${if_match ${exec date +"%I"} == 7}${color}${else}${color1}${endif}E I G H T${if_match ${exec date +"%I"} == 10}${color}${else}${color1}${endif} E L E V E N
${if_match ${exec date +"%I"} == 6}${color}${else}${color1}${endif}S E V E N${if_match ${exec date +"%I"} == 11}${color}${else}${color1}${endif} T W E L V E
${if_match ${exec date +"%I"} == 9}${color}${else}${color1}${endif}T E N ${endif}${color1}S E ${if_match ${exec date +"%M"} < 5}${color}${endif}O C L O C K
${color}${if_running mocp}${font Sans-Serif:bold:size=8}MUSIC ${hr 2}
${font Sans-Serif:normal:size=8}${execi 10 mocp -Q '%song\n%artist\n%album'}
${execbar mocp -Q '%cs/%ts*100' | bc -l}
${endif}


${image ~/.2164.png -p 65,270 -s 100x100}


${color1}${font Sans-Serif:bold:size=12}Host:${alignr}$nodename
OS:${alignr}Debian Sid
DE/WM:${alignr}Openbox
Kernel:${alignr}$kernel
Freq:$alignr${freq_g}GHz
${hr 2}
RAM:$alignr$memperc%
CPU1:$alignr${cpu cpu1}%
CPU2:$alignr${cpu cpu2}%
SWAP:$alignr$swap/$swapmax
HD:$alignr${fs_used /}/${fs_size /}
Uptime:$alignr${uptime}
${hr 2}
U/L Speed:$alignr${upspeed eth0}
D/L Speed:$alignr${downspeed eth0}
${hr 2}
To add an 'icon' to your Conky you, first, need to add the icon image as a new ~/. file (to make it hidden) . . . as in: ${image ~/.2164.png -p 65,270 -s 100x100}
These numbers are for positioning the icon, within the Conky > 65,270
This is for the size of the icon > 100x100
mmesantos1

Re: Conky Showoff thread

Post by mmesantos1 »

Well my first post in the Conky thread, not any thing special but it works. :) And also would like to say some very nice conkyrc files in this thread. :D

Image

Code: Select all

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
#own_window  yes
#own_window_transparent yes
#own_window_type normal
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 0
gap_y 30
alignment top_middle

#behaviour
update_interval 02

#colour
default_color  White

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont gelly:pixelsize=11

#to prevent window from moving
use_spacer no
minimum_size 875 0

TEXT
${alignc}Kernel: ${color White}$kernel   |  ${color} Up: ${color White}${uptime_short}   |   ${color}Cpu: ${color White}${cpu}%   ${color}${cpugraph 10,80 White 9F907D} ${color White}    |   ${color }Mem: ${color White}$mem/$memmax - $memperc% ${color} ${membar 8,80}${color White}    |   ${color }Net: ${color White}${font}${downspeed eth1} Kb/s ${color}  ${downspeedgraph eth1 10,80 White 9F907D}  ${color White} ${totaldown eth1} down   |   ${color White}${upspeed eth1} Kb/s ${color} ${upspeedgraph eth1 10,80 White 9F907D}  ${color White}${totalup eth1} up   |   ${alignc} ${color }Root: ${color White}${font}${fs_free /}  / ${fs_size /} - ${fs_free_perc /}%
Last edited by mmesantos1 on Tue Sep 21, 2010 6:10 pm, edited 1 time in total.
M4570D0N

Unofficial Post Your Linux Mint Desktop Thread

Post by M4570D0N »

Ok, so I posted my current set up a few pages back:
http://forums.linuxmint.com/viewtopic.p ... 20#p313482

I was wondering if I might be able to get some feedback on my conky config. I cannot recall or find where I originally found the conkyrc off which my conkyrc is based. As it is now though, each section (network, memory, weather, etc) is drawn in its own window with a separate conkyrc file and then all 5 are called up on start up with a simple shell script. Is there an easier way (perhaps with a lua script?) to configure this so that it's just one conkyrc file rather than 5?

here's the files:

.conkyrc

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background no
use_xft yes
xftfont Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 50
maximum_width 240
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF

alignment middle_right
gap_x 80
gap_y 100
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
#  Output
##############################################
TEXT
${color9}${font Americana BT:size=16}${alignc}Cerebral Automation
${color9}${font Americana BT:size=13}Speed$alignr${freq_g} GHz
${color9}${font Americana BT:size=13}CPU:${alignr}${cpu cpu0}%${font}
${color9}${cpubar cpu0 8,130}
${color9}${font Americana BT:size=13}Temp:${alignr}${execi 4 sensors | grep -A 0 'Core 0' | cut -c15-18}°C${font}

${color9}${font Americana BT:size=13}CPU:${alignr}${cpu cpu1}%${font}
${color9}${cpubar cpu1 8,130}
${color9}${font Americana BT:size=13}Temp:${alignr}${execi 4 sensors | grep -A 0 'Core 1' | cut -c15-18}°C
.conkyrc-mem

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background no
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 override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 50
maximum_width 180
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF

alignment top_left
gap_x 150
gap_y 55
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
#  Output
##############################################
TEXT
${color9}${font Americana BT:size=16}${alignc}Memory
${font Americana BT:size=12}RAM:$alignr$mem/$memmax${font}
${membar 8,180}
${font Americana BT:size=12}Swap:$alignr$swap/$swapmax${font}
${swapbar 8,180}
.conkyrc-hd

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background no
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 override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 50
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF
.conkyrc-net

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background no
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 override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 150 50
maximum_width 180
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 61A8FF

alignment middle_left
gap_x 150
gap_y -85
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
#  Output
##############################################
TEXT
${color9}${font Americana BT:size=16}${alignc}Network
${color9}${font Americana BT:size=12}Down:${alignr}${downspeedf wlan0} kb/s${font}
${font Americana BT:size=12}Up:${alignr}${upspeedf wlan0} kb/s${font}${color}
.conkyrc-weather

Code: Select all

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
#  Settings
##############################################
background no
use_xft yes
xftfont Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 50 50
maximum_width 240
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
# custom colors #######################################################
color0 FFFFFF
color1 F5F5F5
color2 A2AEC6
color3 696969
color4 D3D3D3
color5 6495ED
color6 87CEFA
color7 5F9EA0
color8 BBBBBB
color9 262729

alignment bottom_right
gap_x 20
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
#  Output
##############################################
TEXT




${voffset -50}$color4 ${font conkyWeather:size=36}${execi 3600 conkyForecast --location=USTX1312 --datatype=WF}${font :size=14}${offset 20}Temp: ${execi 3600 conkyForecast --location=USTX1312 --datatype=HT --imperial}${font}

$color2 ${font}Barometer Tendency: ${execi 600 conkyForecast --location=USTX1312 --datatype=BD}
$color2 Humidity: ${execi 600 conkyForecast --location=USTX1312 --datatype=HM}
$color2 ${font}Wind Speed: ${execi 600 conkyForecast --location=USTX1312 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=USTX1312 --hideunits --datatype=WD}
$color2 ${font}Wind Gusts: ${execi 600 conkyForecast --location=USTX1312 --datatype=WG}
$color2 Daylight: ${execi 600 conkyForecast --location=USTX1312 --datatype=SR} - ${execi 600 conkyForecast --location=USTX1312 --datatype=SS}
${alignc}$color8 / $color3 Forcast $color8 /
${color6}${execi 3600 conkyForecast --location=USTX1312 --datatype=DW --shortweekday --startday=1 --spaces=9 --endday=4}
${color1}${font ConkyWeather:size=24}${execi 3600 conkyForecast --location=USTX1312 --datatype=WF --startday=1 --endday=4 --spaces=3}   
${font}${color6}${execi 3600 conkyForecast -i --location=USTX1312 --datatype=HT --startday=1 --endday=4 --spaces=7}
${font}${color5}${execi 3600 conkyForecast -i --location=USTX1312 --datatype=LT --startday=1 --endday=4 --spaces=7}
${color1}${font}${execi 3600 conkyForecast --location=USTX1312 --datatype=PC --startday=1 --endday=4 --spaces=8}
.startconky.sh

Code: Select all

#!/bin/bash

sleep 25 &&    # 0 good for Xfce - use 20 to 30 for Gnome

conky -c ~/.conkyrc &

sleep 25 &&

conky -c ~/.conkyrc-mem &

sleep 25 &&

conky -c ~/.conkyrc-hd &

sleep 25 &&

conky -c ~/.conkyrc-net &

sleep 25 &&

conky -c ~/.conkyrc-weather &


exit


Actually, I just found where I got it:
http://crunchbanglinux.org/forums/post/52343/#p52343

Still, any thoughts on consolidation, or any other suggestions for improvement? Thanks in advance. :)
User avatar
mintmaniac2
Level 4
Level 4
Posts: 219
Joined: Wed May 27, 2009 1:10 pm
Location: Somewhere on the Internet. Probably

Re: Conky Showoff thread

Post by mintmaniac2 »

conky top:



Code: Select all

background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
out_to_console no
out_to_stderr no
extra_newline no
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
double_buffer yes
maximum_width 1036
minimum_size 8,1024
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
uppercase no
default_color ffffff
alignment top_middle
gap_x 5
gap_y 5
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
color white
TEXT
${color}CPU1:${cpu cpu1}% ${cpugraph cpu1 8,60 C34723 FB9845} | CPU2:${cpu cpu2}% ${cpugraph cpu2 8,60 C34723 FB9845} | SWAP: ${swapbar 8,60 C34723 FB9845} | Used Disk '/': ${color1}${fs_used /} ${color}${fs_bar 8,60 /} ${color}| Free Disk '/': ${color1}${fs_free /} ${color}${fs_bar_free 8,60 /}${color} | Available Disk '/': ${fs_size /}
${alignc}Distro Ranking: ${execi 3600 ~/Bin/ranking.py}

conky side:

Code: Select all

background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
out_to_console no
out_to_stderr no
extra_newline no
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
double_buffer yes
minimum_size 170 5
maximum_width 245
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
uppercase no
default_color ffffff
alignment top_right
gap_x 5
gap_y 5
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
default_color white
color1 white
color2 E86D27
color5 969696
color6 5D5D5D
TEXT
${voffset 2}${font Arial Black:style=Bold:size=12}${alignc}${color 7CDB32}Linux Mint 9 "Isadora"
${color}${font OpenLogos:size=16}t${font}  Kernel:  ${alignr}${sysname}${kernel}
${color}${font StyleBats:size=16}P${font}  Updates: ${alignr}${execi 300 ~/Bin/debupdates.sh} 
${color}${font StyleBats:size=16}A${font}  CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60 C34723}
${color}${font StyleBats:size=16}K${color}${font}   Temp: ${alignr}${hwmon temp 1}°C
${color}${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}${membar 8,60 FB9845}
${color}${font StyleBats:size=16}j${font}  SWAP: $swapperc% ${alignr}${swapbar 8,60 C34723}
${color}${font StyleBats:size=16}h${font}  Processes: ${alignr}${processes}
${color}${font StyleBats:size=16}q${font}  Uptime: ${alignr}${uptime}
${color}${font StyleBats:size=16}q${font}  Time: ${alignr}${color1}${time %H:%M:%S} ${color1}${time %d/%m/%y}

${color1}PROCESSES ${color}${hr 2}

NAME${alignr} PID ${alignr}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} 

${color white}NETWORK${hr 2}

${voffset 4}${font PizzaDude Bullets:size=14}O${font}  Up: ${upspeed eth1/s} ${color}${alignr}${upspeedgraph eth1 8,60 C34723 FB9845}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1/s} ${color}${alignr}${downspeedgraph eth1 8,60 C34723 FB9845}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}${color}   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}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   External Ip: ${alignr}${execi 60 curl http://riivo.eu/php/ip.php}

  ${color white}Outbound Connection ${alignr} Remote Service/Port
  ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
  ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
  ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
  ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
  ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}

${color white}${alignc}${execi 120 fortune -s | fold -w40}



Image
sudo apt-get purge win7 && sudo apt-get install Freedom
You're currently going through a difficult transition period called "Life."
vrkalak

Re: Conky Showoff thread

Post by vrkalak »

Image

Conkyrc, scripts and How-to - HERE >> http://theconso.deviantart.com/art/Info ... 567?q=&qo=

Not mine ... found at the DeviantART Conky Artists Group > http://conky-artists-group.deviantart.com/
edwardr

Re: Conky Showoff thread

Post by edwardr »

I stumbled across the fact that Conky does have colorful weather icons, so I had to redo my Conky. Here is my old machine with Mint LXDE.

Desktop
Image

Conky
Image

conky forecast

Code: Select all

${font :style=bold:size=12}$color}WEATHER  ${color2}${hr 4}
${color}${font :size=18}${voffset 10}${goto 10}[--datatype=HT --imperial]
${goto 10}${font}[--datatype=CT --imperial]${image [--datatype=WI] -p 110,440 -s 88x88}${font}
${voffset 5}${color2}${hr 2}${color}
${voffset 5}${goto 15}[--datatype=DW --startday=1 --shortweekday]${goto 95}[--datatype=DW --startday=2 --shortweekday]${goto 170}[--datatype=DW --startday=3 --shortweekday]
${voffset 10}${image [--datatype=WI --startday=1] -p 5,560 -s 48x48}${image [--datatype=WI --startday=2] -p 80,560 -s 48x48}${image [--datatype=WI --startday=3] -p 150,560 -s 48x48}
${voffset 25}${goto 15}${color3}[--datatype=HT --startday=1 --hideunits --imperial --centeredwidth=3]${color} / ${color 7A67EE}[--datatype=LT --startday=1 --hideunits --imperial --centeredwidth=3]${goto 85}${color3}[--datatype=HT --startday=2 --hideunits --imperial --centeredwidth=3]${color} / ${color 7A67EE}[--datatype=LT --startday=2 --hideunits --imperial --centeredwidth=3]${goto 155}${color3}[--datatype=HT --startday=3 --hideunits --imperial --centeredwidth=3]${color} / ${color 7A67EE}[--datatype=LT --startday=3 --hideunits --imperial --centeredwidth=3]
${color2}${hr 4}
M4570D0N

Re: Conky Showoff thread

Post by M4570D0N »

:shock:
where'd you find those weather icons?
edwardr

Re: Conky Showoff thread

Post by edwardr »

The icons should be already installed as part of Conky, you just need to call an image using [--datatype=WI] as the path to the image. Look up "image" at http://conky.sourceforge.net/variables.html for a description of the variables. In my example, ${image [--datatype=WI] -p 110,440 -s 88x88} returns the large graphic for today, and ${image [--datatype=WI --startday=1] -p 5,560 -s 48x48} returns the smaller graphic for tomorrow.
User avatar
KittyKatt
Level 3
Level 3
Posts: 116
Joined: Sun Jun 14, 2009 12:12 pm
Contact:

Re: Conky Showoff thread

Post by KittyKatt »

I think you should specify that the included text isn't actually your .conkyrc file. It's your conkyForecast file. :P
edwardr

Re: Conky Showoff thread

Post by edwardr »

That's right, it is the conkyForecast file that is called by my conkyrc. The "Time & Date" and "System" sections of my conky are configured by the conkyrc file (which I did not show) and the "Weather" section is configured by the conkyForecast file (which shown in previous post).
Locked

Return to “Compiz, Conky, Docks & Widgets”