Conky Showoff thread

Forum rules
Before you post please read this

Re: Conky Showoff thread

Postby meskarune on Sun Nov 07, 2010 2:03 pm

Image

Calendar script: https://github.com/meskarune/.scripts

Conky:
Code: Select all
alignment top_left
background no
gap_x 10
gap_y 15
minimum_size 200 5
maximum_width 200

update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
text_buffer_size 1248

cpu_avg_samples 2
net_avg_samples 2

use_xft yes
xftfont HanelGotD:size=9
xftalpha 0.5
override_utf8_locale yes

own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints below,undecorated,sticky,skip_taskbar,skip_pager

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

default_color 86b5ea
default_outline_color green

TEXT

${offset 4}${voffset -3}${color ffffff}${font URW Gothic L:size=60}${time %I}
${offset 100}${voffset -125}${color ffffff}${font URW Gothic L:size=32}${time :%M}
${offset 165}${voffset -73}${color #9ebcd7}${font URW Gothic L:size=13}${time %S}${color}
${offset 165}${voffset -7}${color ffffff}${font URW Gothic L:size=13}${time :%P}${color}

${font Liberation Mono:normal:size=12}${execpi 300 ~/.scripts/calendar.sh}

 ${color ffffff}${font ConkyWeather:size=55}${execi 600 conkyForecast --location=USOH0722 --datatype=WF}${font Liberation Mono:size=32} ${voffset -15}${execi 600 conkyForecast --location=USOH0722 --imperial --hideunits --datatype=HT}${font}${color}

${alignc}${font URW Gothic L:bold:size=10}${execi 600 conkyForecast --location=USOH0722 --datatype=CT}    ${execi 3600 conkyForecast --location=USOH0722 --datatype=HT --imperial --hideunits --startday=0 --endday=0}/ ${execi 3600 conkyForecast --location=USOH0722 --datatype=LT --imperial --hideunits --startday=0 --endday=0}${font}   

${color lightgrey}${font URW Gothic L:size=10}${execi 600 conkyForecast --location=USOH0722  --datatype=PC --startday=0 --endday=0} chance of precipitation

${execi 600 conkyForecast --location=USOH0722  --datatype=HM} humidity  ${alignr}Wind ${execi 600 conkyForecast --location=USOH0722  --imperial --startday=0 --datatype=WS}
${execi 600 conkyForecast --location=USOH0722  --datatype=BD} pressure  ${alignr 10}${execi 600 conkyForecast --location=USOH0722  --imperial --hideunits --startday=0 --datatype=WD}

${font Moon Phases:size=20}${execi 3600 conkyForecast --location=USOH0722 --datatype=MF} ${font}${font URW Gothic L:bold:size=10}${voffset -10}${execi 3600 conkyForecast --location=USOH0722 --datatype=MP}${font}

${font URW Gothic L:size=10}${alignc 10}Sunrise ${execi 600 conkyForecast --location=USOH0722 --startday=0 --datatype=SR}
The only limiting factor of the Linux operating system, is its user. -Linus Torvalds
User avatar
meskarune
Level 2
Level 2
 
Posts: 88
Joined: Tue Aug 18, 2009 5:06 pm
Location: USA

Linux Mint is funded by ads and donations.
 

Re: Conky Showoff thread

Postby chi-kitory on Sun Nov 07, 2010 8:52 pm

looks great meskarune. Inspires me to make a purple theme. Maybe one day i shall
Want to learn more about linux? Follow my blog! I cover distro reviews, games, howtos, and more.
http://pastelinux.wordpress.com/

... then the Unix-Gods created "man" ...
User avatar
chi-kitory
Level 2
Level 2
 
Posts: 90
Joined: Mon Jul 27, 2009 1:43 pm

Re: Conky Showoff thread

Postby I_can_see_the_light on Wed Nov 10, 2010 5:31 am

Image
Click image for full size

Nothing overly fancy, just some basic non-intrusive info

.conkyrc
Transparency in KDE enabled by putting the line
Code: Select all
feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --lines=1 | sed 's/wallpaper=//'`"
into your .conkyrc or startup script
Fujitsu Siemens Lifebook E8020D (triple booting Ubuntu, CrunchBang & Win 7)

----------
"Don't fix it if it ain't broken,don't break it if you can't fix it" - R.I.P. Husse
I_can_see_the_light
Level 3
Level 3
 
Posts: 100
Joined: Mon Jun 01, 2009 4:08 pm
Location: Luleå, Sweden

Re: Conky Showoff thread

Postby edwardr on Fri Nov 12, 2010 2:33 am

My conky now has two parts, the first one starts when I start up:

Image


And a second conky that starts after I start my music player (Guayadeque) to show song info:

Image

clicking on the Guayadeque program launcher on my panel actually launches a script that starts Guayadeque and then starts the second conky.
The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true
User avatar
edwardr
Level 4
Level 4
 
Posts: 221
Joined: Thu Jun 03, 2010 1:09 pm
Location: USA - Texas

Re: Conky Showoff thread

Postby edwardr on Fri Nov 12, 2010 9:47 am

Meskarune - Nice and clean, I like it.
The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true
User avatar
edwardr
Level 4
Level 4
 
Posts: 221
Joined: Thu Jun 03, 2010 1:09 pm
Location: USA - Texas

Re: Conky Showoff thread

Postby chi-kitory on Tue Nov 23, 2010 9:13 pm

Want to learn more about linux? Follow my blog! I cover distro reviews, games, howtos, and more.
http://pastelinux.wordpress.com/

... then the Unix-Gods created "man" ...
User avatar
chi-kitory
Level 2
Level 2
 
Posts: 90
Joined: Mon Jul 27, 2009 1:43 pm

Re: Conky Showoff thread

Postby Sector11 on Thu Nov 25, 2010 10:54 am

Image

Code: Select all
alignment tl
background no
border_inner_margin 0
border_width 0
default_color FFFFFF
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 10 # left-right
gap_y 10 # up-down
minimum_size 250 0
no_buffers yes
override_utf8_locale yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window yes
pad_percents 2
short_units yes
stippled_borders 0
top_name_width 5
update_interval 1
uppercase no
use_spacer right
use_xft yes
xftalpha 1.0 #0.2
xftfont Sans Mono:size=8

TEXT
${goto 15}${nodename}
${goto 15}|
${goto 12}+----System
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- OS${goto 125}${sysname}
${goto 15}|${goto 38}+-- Kernel ${goto 125}${kernel}
${goto 15}|${goto 38}+-- Machine${goto 125}${machine}
${goto 15}|
${goto 12}+----Memory
${goto 15}|${goto 38}+-- Total${goto 125}${memmax}
${goto 15}|${goto 38}+-- In Use${goto 125}${mem} (${memperc}%)
${goto 15}|${goto 38}+-- Free${goto 125}${memfree}
${goto 15}|${goto 38}+-- Up to${goto 125}${memeasyfree} freed easily
${goto 15}|${goto 38}+-- Swap
${goto 15}|${goto 60}+-- Total${goto 125}${swapmax}
${goto 15}|${goto 60}+-- Used${goto 125}${swap} - ${swapperc}%
${goto 15}|${goto 60}+-- Free${goto 125}${swapfree}
${goto 15}|
${goto 12}+----Status
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU${goto 125}${cpu cpu0}% - ${freq_g}GHz
${goto 15}|${goto 38}+-- Ram${goto 125}${memperc}%
${goto 15}|${goto 38}+-- LoadAvg${goto 125}${loadavg}
${goto 15}|${goto 38}+-- Disk${goto 125}${fs_used_perc /}% Used
${goto 15}|${goto 38}+-- Diskio ${goto 125}${diskio}
${goto 15}|${goto 60}+-- Read${goto 125}${diskio_read}
${goto 15}|${goto 60}+-- Write${goto 125}${diskio_write}
${goto 15}|
${goto 12}+----Storage
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- /ROOT${goto 125}${fs_free /} / ${fs_size /}
${goto 15}|${goto 38}+-- /HOME${goto 125}${fs_free /home} / ${fs_size /home}
${goto 15}|${goto 38}+-- /Media5${goto 125}${fs_free /media/5} / ${fs_size /media/5}
${goto 15}|${goto 38}+-- /Media6${goto 125}${fs_free /media/6} / ${fs_size /media/6}
${goto 15}|${goto 38}+-- /Media7${goto 125}${fs_free /media/7} / ${fs_size /media/7}
${goto 15}|
${goto 12}+----Processes
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Total${goto 125}${processes}
${goto 15}|${goto 38}+-- Running${goto 125}${running_processes}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU
${goto 15}|${goto 40}|${goto 60}+-- ${top name 1}${goto 125}${top cpu 1}${top mem 1}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 2}${goto 125}${top cpu 2}${top mem 2}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 3}${goto 125}${top cpu 3}${top mem 3}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- MEM
${goto 15}|${goto 60}+-- ${top_mem name 1}${goto 125}${top_mem cpu 1}${top_mem mem 1}
${goto 15}|${goto 60}+-- ${top_mem name 2}${goto 125}${top_mem cpu 2}${top_mem mem 2}
${goto 15}|${goto 60}+-- ${top_mem name 3}${goto 125}${top_mem cpu 3}${top_mem mem 3}
${goto 15}|
${goto 12}+----Net
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- eth0${goto 125}${addr eth0}
${goto 15}|${goto 38}+-- Up
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${upspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totalup eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Down
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${downspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totaldown eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Email${goto 125}0 | 0
${goto 15}|
${goto 12}+----Time / Date Calcs
${goto 40}|
${goto 38}+-- Time${goto 125}${time %R:%S}
${goto 38}+-- Date${goto 125}${time %a, %d %b %y}
${goto 38}+-- Uptime${goto 125}${uptime}
#! pushed to Debian SID & OpenBox
Conky PitStop
User avatar
Sector11
Level 1
Level 1
 
Posts: 39
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Postby cra1g321 on Thu Nov 25, 2010 7:16 pm

meskarune wrote:Image]


Nice conky and desktop, you should post some screenshots on the 'Unofficial Post Your Linux Mint Desktop Thread'

viewtopic.php?f=6&t=10828&start=4160
PC - Gigabyte 970A-DS3 AMD 970 , AMD Bulldozer FX-4 4170, Kingston HyperX Blu 4GB 1600MHz C9, Zotac Geforce 8800GT AMP Edition, OS's = Linux / WIN7
User avatar
cra1g321
Level 4
Level 4
 
Posts: 487
Joined: Fri Mar 19, 2010 1:19 pm
Location: Northern Ireland

Re: Conky Showoff thread

Postby meskarune on Mon Nov 29, 2010 4:25 am

Sector11 wrote:Image

Code: Select all
alignment tl
background no
border_inner_margin 0
border_width 0
default_color FFFFFF
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 10 # left-right
gap_y 10 # up-down
minimum_size 250 0
no_buffers yes
override_utf8_locale yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window yes
pad_percents 2
short_units yes
stippled_borders 0
top_name_width 5
update_interval 1
uppercase no
use_spacer right
use_xft yes
xftalpha 1.0 #0.2
xftfont Sans Mono:size=8

TEXT
${goto 15}${nodename}
${goto 15}|
${goto 12}+----System
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- OS${goto 125}${sysname}
${goto 15}|${goto 38}+-- Kernel ${goto 125}${kernel}
${goto 15}|${goto 38}+-- Machine${goto 125}${machine}
${goto 15}|
${goto 12}+----Memory
${goto 15}|${goto 38}+-- Total${goto 125}${memmax}
${goto 15}|${goto 38}+-- In Use${goto 125}${mem} (${memperc}%)
${goto 15}|${goto 38}+-- Free${goto 125}${memfree}
${goto 15}|${goto 38}+-- Up to${goto 125}${memeasyfree} freed easily
${goto 15}|${goto 38}+-- Swap
${goto 15}|${goto 60}+-- Total${goto 125}${swapmax}
${goto 15}|${goto 60}+-- Used${goto 125}${swap} - ${swapperc}%
${goto 15}|${goto 60}+-- Free${goto 125}${swapfree}
${goto 15}|
${goto 12}+----Status
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU${goto 125}${cpu cpu0}% - ${freq_g}GHz
${goto 15}|${goto 38}+-- Ram${goto 125}${memperc}%
${goto 15}|${goto 38}+-- LoadAvg${goto 125}${loadavg}
${goto 15}|${goto 38}+-- Disk${goto 125}${fs_used_perc /}% Used
${goto 15}|${goto 38}+-- Diskio ${goto 125}${diskio}
${goto 15}|${goto 60}+-- Read${goto 125}${diskio_read}
${goto 15}|${goto 60}+-- Write${goto 125}${diskio_write}
${goto 15}|
${goto 12}+----Storage
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- /ROOT${goto 125}${fs_free /} / ${fs_size /}
${goto 15}|${goto 38}+-- /HOME${goto 125}${fs_free /home} / ${fs_size /home}
${goto 15}|${goto 38}+-- /Media5${goto 125}${fs_free /media/5} / ${fs_size /media/5}
${goto 15}|${goto 38}+-- /Media6${goto 125}${fs_free /media/6} / ${fs_size /media/6}
${goto 15}|${goto 38}+-- /Media7${goto 125}${fs_free /media/7} / ${fs_size /media/7}
${goto 15}|
${goto 12}+----Processes
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Total${goto 125}${processes}
${goto 15}|${goto 38}+-- Running${goto 125}${running_processes}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- CPU
${goto 15}|${goto 40}|${goto 60}+-- ${top name 1}${goto 125}${top cpu 1}${top mem 1}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 2}${goto 125}${top cpu 2}${top mem 2}
${goto 15}|${goto 40}|${goto 60}+-- ${top name 3}${goto 125}${top cpu 3}${top mem 3}
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- MEM
${goto 15}|${goto 60}+-- ${top_mem name 1}${goto 125}${top_mem cpu 1}${top_mem mem 1}
${goto 15}|${goto 60}+-- ${top_mem name 2}${goto 125}${top_mem cpu 2}${top_mem mem 2}
${goto 15}|${goto 60}+-- ${top_mem name 3}${goto 125}${top_mem cpu 3}${top_mem mem 3}
${goto 15}|
${goto 12}+----Net
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- eth0${goto 125}${addr eth0}
${goto 15}|${goto 38}+-- Up
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${upspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totalup eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Down
${goto 15}|${goto 40}|${goto 60}+-- Speed${goto 125}${downspeedf eth0}KiB
${goto 15}|${goto 40}|${goto 60}+-- Total${goto 125}${totaldown eth0}KiB
${goto 15}|${goto 40}|
${goto 15}|${goto 38}+-- Email${goto 125}0 | 0
${goto 15}|
${goto 12}+----Time / Date Calcs
${goto 40}|
${goto 38}+-- Time${goto 125}${time %R:%S}
${goto 38}+-- Date${goto 125}${time %a, %d %b %y}
${goto 38}+-- Uptime${goto 125}${uptime}


nice! I like this a lot
The only limiting factor of the Linux operating system, is its user. -Linus Torvalds
User avatar
meskarune
Level 2
Level 2
 
Posts: 88
Joined: Tue Aug 18, 2009 5:06 pm
Location: USA

Conky Showoff thread

Postby Daveleh on Wed Dec 01, 2010 11:26 am

Hi All, I am trying to adapt my conky config to include a calendar but I am having a slight problem, the first line of dates is offset and out of line.

This is my .conkyrc:

Code: Select all
use_xft yes
xftfont OpenLogos DejaVu Sans Mono:size=9

update_interval 2
total_run_times 0
double_buffer yes
text_buffer_size 3072

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated
own_window_hints below,sticky,skip_taskbar,skip_pager

minimum_size 300 300
maximum_width 300 300


default_color white
draw_shades yes

color0 white
color1 E07A1F
color2 green
# colours
color3 white
# light blue
color4 6892C6
# orange
color5 E77320
# green
color6 78BF39
# red
color7 CC0000

alignment top_left
gap_x 10
gap_y 5

no_buffers no
net_avg_samples 2

override_utf8_locale yes

no_buffers yes

TEXT
${offset 4}${voffset -3}${color ffffff}${font URW Gothic L:size=60}${time %I}
${offset 100}${voffset -125}${color ffffff}${font URW Gothic L:size=32}${time :%M}
${offset 165}${voffset -73}${color #9ebcd7}${font URW Gothic L:size=13}${time %S}${color}
${offset 165}${voffset -7}${color ffffff}${font URW Gothic L:size=13}${time :%P}${color}


${font DejaVu Sans Mono:size=11}${execpi 300 ~/conky/calendar.sh}

${color3}${font}${execpi 600 conkyGoogleCalendar --username=uname@gmail.com --password=pword --daysahead=7 --limit=10 --template=/usr/share/conkygooglecalendar/example/conkyGoogleCalendar.template}


And this is my calendar.sh, taken from a previous post:
Code: Select all
#!/bin/bash
# calendar.sh
# copyright 2010 by Mobilediesel
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.

#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.

#You should have received a copy of the GNU General Public License
#along with this program.  If not, see <http://www.gnu.org/licenses/>.

date=$(date '+%F')
DAY=${date:8:2}
# m="-m" # uncomment this line for starting the week on Monday instead of Sunday.
cal=$(cal $m)
prev=$(cal $m $(date '+%-m %Y' --date="${date:0:7}-15 -1 month")|sed 's/ *$//;/^$/d'|tail -1)
next=$(cal $m $(date '+%-m %Y' --date="${date:0:7}-15 +1 month")|sed '/^ *&/d;1,2d;s/^ *//'|head -1)
if [ ${#next} == 19 ] ;then next=$'\n'"\${color grey} $next"
else next="\${color grey}  $next"
fi
if [ ${#prev} == 20 ]; then prev="$prev"$'\n '
else prev="$prev  "
fi
dates=$(remind -s|cut -d ' ' -f1|uniq|cut -d '/' -f3|sed "/$DAY/d")
current=$(echo "${cal:42}"|sed -e '/^ *$/d' -e 's/^ *1\>/1/')
for i in $dates; do
current=$(echo "$current"|sed -e "s/\<${i/#0/}\>/\${color green}&\${color 99ccff}/")
done
current=$(echo "$current"|sed -e "s/\<${DAY/#0/}\>/\${color white}&\${color 99ccff}/" -e 's/ *$//')
echo -e "\${color grey}${cal:0:21}\${color 808080}${cal:21:21}\${color grey}$prev\${color 99ccff}$current$next"


But this is what I get:
calendar.png
calendar.png (62.23 KiB) Viewed 3865 times


I have tried changing font and font sizes but to no avail. Any help would be appreciated

Regards
Daveleh
Guernsey

Mint 14 64 Bit, fully updated, on an Acer Aspire 5349 laptop with 4Gb memory and 750Gb HDD - Cinnamon Desktop
User avatar
Daveleh
Level 2
Level 2
 
Posts: 88
Joined: Wed Feb 24, 2010 3:15 pm

Re: Conky Showoff thread

Postby mmesantos1 on Thu Dec 09, 2010 4:22 pm

Ok so I edited the Conky from OMG Ubuntu which was Conky meets Faenza, so I made a Mint version called Conky meets Awoken just incase someone wanted it. :)

Note: Follow readme for instructions, all I did was follow it to the letter and it worked fine.

Download Link: http://ubuntuone.com/p/Svv/
Screenshot-2.png
Screenshot-2.png (95.9 KiB) Viewed 3814 times
Image
User avatar
mmesantos1
Level 8
Level 8
 
Posts: 2277
Joined: Tue Jan 29, 2008 9:14 pm
Location: VA. USA

Re: Conky Showoff thread

Postby willie42 on Thu Dec 09, 2010 4:51 pm

I like that conky setup. I want to dabble a bit in trying to create one but I just dont know yet where or how to really start. AT sent me some sites and some help and I am still looking at them.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Postby vrkalak on Thu Dec 09, 2010 5:37 pm

willie42 wrote:I like that conky setup. I want to dabble a bit in trying to create one but I just dont know yet where or how to really start. AT sent me some sites and some help and I am still looking at them.

Used to be the Conky-Hardcore site, but not it is Conky-Pitstop >> http://conky-pitstop.wikidot.com/

Conky-Pitstop has everything you ever wanted to know about Conky, but was afraid to ask. :mrgreen:
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3226
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: Conky Showoff thread

Postby willie42 on Thu Dec 09, 2010 5:49 pm

Cool, I will do some more reading. I have downloaded Conky Wizard and played with it some. :D I have looked at the other link that AT sent me. Just been playing with the wizard :shock: that for some reason didnt come out right.......oh well...
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Postby Habitual on Sat Jan 01, 2011 1:46 pm

**cough cough** Conky Wizard is cheating. :)
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 7
Level 7
 
Posts: 1999
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Conky Showoff thread

Postby willie42 on Sat Jan 01, 2011 6:56 pm

Habitual, you could sorta make a how too on how to properly create conkys from scratch and if its good just maybe Oscar will be kind enough to sticky it so everyone can know how... I am def interesting in learning how and I am sure there are alot of folks out there that could benefit from what knowledge you can bring to the table to help us rookies out :D :lol: :mrgreen:
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Conky Showoff thread

Postby Aging Technogeek on Sat Jan 01, 2011 7:02 pm

I second willie42's suggestion.

I have never concocted a conky from scratch myself. I just find one that is close to what I want and edit it.

I would truly appreciate any one who could post a good tutorial on conky construction.
Image

Registered Linux User 483387
User avatar
Aging Technogeek
Level 13
Level 13
 
Posts: 4605
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Conky Showoff thread

Postby Habitual on Sat Jan 01, 2011 8:50 pm

Well, you DID ask. :)

Everything I learned, I did what everyone else does, download someone's code and start chopping and hacking. Sort of the "Machete Method" of coding.

I went from no knowledge of conky to this elaborate, if not excessive layout in just about 1 month. But I had some free time (was unemployed, and highly motivated - read:bored) seen here... That's 10 separate widgets running. I call them widgets. :)

http://i771.photobucket.com/albums/xx360/E522260/desktop_9_21_2010.png

Here are some pointers that will help anyone further their quest for conky-nirvana.

Start here: http://conky-pitstop.wikidot.com/
Bookmark this http://conky.sourceforge.net/docs.html
Install screenruler
Install gcolor2

I always separate my widgets in their own directories. Save your sanity!
I always start with a/the same pre-defined template and build out from there.
Here's mine. I use it for EVERY new widget.
Code: Select all
# Static and Variable Values used by Habitual/John Jones

# Static Values
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_xft yes
draw_outline no
draw_borders no
uppercase no
draw_shades no
draw_shades yes
double_buffer yes
border_width 0
text_buffer_size 2048
default_color white
update_interval 1.0

# Variable Values # These values are the ONLY thing that change from widget to widget
alignment bm
gap_x 5
gap_y 44
minimum_size 50 1
maximum_width 100

TEXT


The only values specific to your system are
alignment bm
gap_x 5
gap_y 44
minimum_size 50 1
maximum_width 100
Just remember Y points vertically and therefore changes the vertical alignments from the top and bottom edge of the screen.

So when someone says "I want/need to see my /home partition" and offers up some code like
Code: Select all
/home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}


I just add that code to the area below "TEXT" in my predefined template, save it and shut down all widgets with "killall -9 conky" in terminal
then run the code.
conky -c /path/to/widget (from terminal for debugging purposes)

Sometimes you have to make such little adjustments and why mess up a working widget?
I just add someone's offered snippet to my pre-defined template and save and run it.

NEVER, EVER just add someone's code to your existing working conky, it is a guaranteed failure.
Create a new "widget" and run it, when it's "perfect" (that almost never is the case) then leave it alone.

Use gedit to make adjustments to your code. Leave gedit open while editing.
Because if/when you make a change in gedit and save the file, conky will re-load the saved configuration and you can "see" the changes take affect.
Also, gedit has this neat little feature, "undo" (Ctrl+[zZ]) that you can "backout" of multiple changes (even after saving and running) all the way back to the very first change.
Make subtle changes and save then view the result.

Only change 1 aspect of your code at a time. I always start with placement issues.
If you want to change the placement and color, or color and size of graph bars, get the placement just right (or vice versa) and change then the other.
Too many changes can really send you reaching for a gun|bottle|delete button

Use "goto" and avoid the "alignX" if you can.
goto placement offers exact positioning
AlignX offers relative positioning.

So if your screen resolution is 1440x900 and you need to have something about 1\4 of the way from the left edge of the screen
then ${goto 360} places the code at exactly 1\4th of the way from the left-edge of the screen.

That should get anyone started. I can (hopefully) edit this post and add any more tidbits to this "How To get started with Conky".

If anyone gets stuck you can reach me at Void dot RecycleBin at gmail dot com
Sometimes it's just easier than digging through forum posts for specific help. That always drove me crazy|crazier.

HTH.
What's a landing but a take off in reverse?
My DorkBlog
User avatar
Habitual
Level 7
Level 7
 
Posts: 1999
Joined: Sun Nov 21, 2010 8:31 pm
Location: Slackware

Re: Conky Showoff thread

Postby Daveleh on Sun Jan 02, 2011 7:51 am

Thank you Habitual, that was very interesting to read.

Regards
Daveleh
Guernsey

Mint 14 64 Bit, fully updated, on an Acer Aspire 5349 laptop with 4Gb memory and 750Gb HDD - Cinnamon Desktop
User avatar
Daveleh
Level 2
Level 2
 
Posts: 88
Joined: Wed Feb 24, 2010 3:15 pm

Re: Conky Showoff thread

Postby vrkalak on Sun Jan 02, 2011 4:04 pm

Excellent post, Habitual

Nice little How-to (tutorial) about using Conky.

As one of the Admins of Conky-Pitstop, I appreciate that you mentioned the site and found it useful. 8)

Looking at your screenshot with your 10 Conkys on it ... I can immediately tell on who's Conky scripts you fashioned it after. :lol:
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3226
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 2 guests