Topic: October 2011 Conky Thread

The monthly conky thread purpose:

  • seek help with conky, and

  • show your conky and config files

Halloween Month!
- - Any Orange and Black conkys?

-----------------------------------------------------------
And in accordance with the screenshot thread:

Please continue to use thumbnails (please try to avoid the large thumbnail imgur.com code) linking to the larger image to help those of us with slow connections. An example of the code needed is below. Most image hosting sites will automatically generate this for you as well. I've been using postimage.org lately which does a nice job.

[url=http://link.to.your.fullsized.image][img]http://link.to.your.thumbnail.image[/img][/url]

Last edited by Sector11 (2011-10-01 00:17:29)

Re: October 2011 Conky Thread

Sure...

Xfce 4.8
gmusicbrowser
Pink Floyd
Both panels Tint2
Top - 2 line panel Conky
Right - Gmail & Google Reader Conky

http://www.zimagez.com/miniature/screenshot-09302011-073111pm.png

Last edited by VastOne (2011-10-01 00:40:08)

Re: October 2011 Conky Thread

I have a question. Does anyone knows how can I put a count-up script in conky? Something like what's in this page:

http://www.javascriptkit.com/script/scr … ntup.shtml

Re: October 2011 Conky Thread

Andrinho7 wrote:

I have a question. Does anyone knows how can I put a count-up script in conky? Something like what's in this page:

http://www.javascriptkit.com/script/scr … ntup.shtml

Get "conkyMisc" - Stay with the Hardy version.

It has two little python scripts:

/usr/share/conkymisc/conkyDaysDiff.py
/usr/share/conkymisc/conkyDateDiff.py

That will count up or down.

  11:11:45 ~
         $ conkyDaysDiff --help
Usage: conkyDaysDiff <startdate> [<enddate>]
  If no end date given it is assumed to be today.

  examples:

    $ conkyDaysDiff 20080105 20091225
    720

  11:11:52 ~
         $ conkyDaysDiff 19500101
22553

  11:14:00 ~
         $ conkyDateDiff 19500101
61 yrs 9 mths

  11:14:14 ~
         $ conkyDateDiff 25250101
513 yrs 2 mths 30 days

  11:14:32 ~
         $ conkyDaysDiff 25250101
187461

  11:14:42 ~
         $ 

Last edited by Sector11 (2011-10-01 14:19:01)

Re: October 2011 Conky Thread

VastOne wrote:

Sure...

What's the;

CPU: 5818r CH1 1320r CH2 1708r

... in your conky?

A curious mind - mine - wants to know!
I wouldn't be against you sharing that wall paper either.  big_smile

Re: October 2011 Conky Thread

Sector11 wrote:
VastOne wrote:

Sure...

What's the;

CPU: 5818r CH1 1320r CH2 1708r

... in your conky?

A curious mind - mine - wants to know!
I wouldn't be against you sharing that wall paper either.  big_smile

Sure...

Fans RPM

CPU Fan
Chasis 1 Fan
Chasis 2 Fan

Image Location

Re: October 2011 Conky Thread

VastOne wrote:

Sure...

Fans RPM

CPU Fan
Chasis 1 Fan
Chasis 2 Fan

Image Location

I use to get info like that with Ubuntu and lmsensors, but not sisnce the move to Debian.  My one and only regret with debian.  Thanks for the wall ---

Last edited by Sector11 (2011-10-01 18:51:04)

Re: October 2011 Conky Thread

Sector11 wrote:
VastOne wrote:

Sure...

Fans RPM

CPU Fan
Chasis 1 Fan
Chasis 2 Fan

Image Location

I use to get info like that with Ubuntu and lmsensors, but not sisnce the move to Debian.  My one and only regret with debian.  Thanks for the wall ---

That is what I am using to get the info...  lmsensors..

Re: October 2011 Conky Thread

VastOne wrote:

That is what I am using to get the info...  lmsensors..

This is all I get today:

  16:11:08 ~
         $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:       +21.8°C  (crit = +96.8°C)                  

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:  +43.0°C                                    


  16:11:13 ~
         $ 

Same machine with #! v9.04:

  12:26:44 ~
         $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:       +21.8°C  (crit = +96.8°C)
 
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:  +48.0°C
 
w83627thf-isa-0290
Adapter: ISA adapter
VCore:       +1.39 V  (min =  +0.70 V, max =  +1.87 V)
+12V:       +12.28 V  (min =  +8.94 V, max =  +0.24 V)   ALARM
+3.3V:       +3.14 V  (min =  +1.47 V, max =  +3.98 V)
+5V:         +4.83 V  (min =  +5.97 V, max =  +4.59 V)   ALARM
-12V:       -11.87 V  (min = -13.10 V, max = -13.59 V)   ALARM
V5SB:        +5.00 V  (min =  +0.24 V, max =  +1.96 V)   ALARM
VBat:        +2.94 V  (min =  +1.01 V, max =  +3.09 V)
fan1:          0 RPM  (min = 168750 RPM, div = 2)  ALARM
CPU Fan:    24107 RPM  (min =   -1 RPM, div = 8 )  ALARM
fan3:       4530 RPM  (min = 9926 RPM, div = 2)  ALARM
M/B Temp:    +44.0°C  (high = +12.0°C, hyst =  +8.0°C)  ALARM  sensor = thermistor
CPU Temp:    +47.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
temp3:       +15.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = diode
cpu0_vid:   +0.000 V
beep_enable:enabled

  12:26:49 ~
         $ 

I've been told it's the kernal.

Re: October 2011 Conky Thread

^ which kernel do you use?

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: October 2011 Conky Thread

This may be a stable version issue... I think it is the version you are running from stable that may be dated that is causing this...  I seem to recall that I could not get anything with lmsensors until I went to Testing..Someone else using Stable and lmsensors may need to confirm this though...

I cannot see kernel as being an issue as lmsensors has worked on yours before with all of the Buntu setups you had..

Last edited by VastOne (2011-10-01 19:22:26)

Re: October 2011 Conky Thread

VastOne wrote:

This may be a stable version issue... I think it is the version you are running from stable that may be dated that is causing this...  I seem to recall that I could not get anything with lmsensors until I went to Testing..Someone else using Stable and lmsensors may need to confirm this though...

I cannot see kernel as being an issue as lmsensors has worked on yours before with all of the Buntu setups you had..

Debian uses an older kernel unless you update to backports it may very well be the issue.

k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +34.8°C  (high = +70.0°C, crit = +115.5°C)  

atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:     +1.44 V  (min =  +0.85 V, max =  +1.60 V)
 +3.3 Voltage:     +3.39 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:       +5.17 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:     +13.01 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:    2586 RPM  (min =  600 RPM)
CHASSIS FAN Speed:5720 RPM  (min =  600 RPM)
CPU Temperature:   +41.0°C  (high = +60.0°C, crit = +95.0°C)  
MB Temperature:    +35.0°C  (high = +45.0°C, crit = +95.0°C)  

There's my out put with backports synced stable. Its a kernel issue since Debian's default is 2.6.36 (i believe) Im using 2.6.39 from backports.

Last edited by psyco430404 (2011-10-01 19:25:17)

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: October 2011 Conky Thread

On boot up:
http://dl.dropbox.com/u/16070765/thmb_boot_time.jpg

Top right corner is a calendar script by mobilediesel using the "remind" program to highlight special days in the calendar.  Mine is set for green for today and FFDEAD #NavajoWhite for the highlighted days.

The conky

# To use #! in a conky use: ${exec echo '#!'}
# killall conky && conky -c ~/Conky/OB_remind-cal &
background no

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager
own_window_title Remind

use_xft yes
xftfont monospace:size=10
xftalpha 1.0 #0.2

override_utf8_locale yes
total_run_times 0
double_buffer yes
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
use_spacer none
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
uppercase no
imlib_cache_size 0

border_inner_margin 10
border_outer_margin 0

# Colors
default_color DCDCDC #Gainsboro
color0 FFFFF0 #Ivory
color1 FFA07A #LightSalmon
color2 FF8C00 #Darkorange
color3 C6FF8E #Light Green #FFF00 #Chartreuse
color4 778899 #LightSlateGrey
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 512 # 256 is the minimum
short_units yes
pad_percents 2

# maximum_width 160
# minimum_size 160 100

alignment tl
gap_x 15 # left-right
gap_y 15 # up-down
text_buffer_size 3048 # 256 is minimum
update_interval 86400

 lua_load ~/Conky/LUA/draw-bg.lua
 lua_draw_hook_pre draw_bg

TEXT
${execpi 3600 ~/Conky/scripts/remind_cal.sh}${font}
${voffset 10}${font monospace:size=9}${if_match "${time %b}"=="Jan"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/jan.txt}${else}${if_match "${time %b}"=="Feb"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/feb.txt}${else}${if_match "${time %b}"=="Mar"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/mar.txt}${else}${if_match "${time %b}"=="Apr"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/apr.txt}${else}${if_match "${time %b}"=="May"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/may.txt}${else}${if_match "${time %b}"=="Jun"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/jun.txt}${else}${if_match "${time %b}"=="Jul"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/jul.txt}${else}${if_match "${time %b}"=="Aug"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/aug.txt}${else}${if_match "${time %b}"=="Sep"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/sep.txt}${else}${if_match "${time %b}"=="Oct"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/oct.txt}${else}${if_match "${time %b}"=="Nov"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/nov.txt}${else}${if_match "${time %b}"=="Dec"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/dec.txt}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}

remind_cal.sh

#!/bin/bash
# calendar.sh
# copyright 2011 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/>.

# WARNING - No longer works
#m="m" # uncomment this line for starting the week on Monday instead of Sunday.
# WARNING - No longer works


dates=$(remind -s $HOME/.reminders | awk -F"[ /]+" '{if ( $3!=strftime( "%d" ) ) {DAYS=DAYS $3+0"|"}} END{sub("\\|$","",DAYS);printf DAYS}')
cal -3$m | awk -v DAYS=${dates} '{
{if ( substr($0,1,20)!~/^ *$/ )
{PREV=substr($0,1,20)}}
{if ( NR==3 )
{NEXT=substr($0,45,20)} {sub(/^ */," ",NEXT)}}
{if ( NR==1 )
MONTH=substr($0,23,20)}
{if ( NR==2 )
DOW=substr($0,23,20)}
{if ( substr($0,23,20)!~/^ *$/ && NR!=1 && NR!=2 )
{tmp=substr($0,23,20);sub("^ +1\\>"," 1",tmp);sub(/[ ]+$/,"",tmp)
{if ( length(tmp)==20 || NR==3 )
CAL=CAL tmp"\n"
else
CAL=CAL tmp" "}}}}
END{
{gsub("\\<("DAYS")\\>","${color FFDEAD}&${color 778899}",CAL)}
{sub("\\<"strftime( "%-d" )"\\>","${color 7FFF00}&${color 778899}",CAL)}
sub(/[ ]+$/," ",PREV)
{if ( length(PREV)==20 )
PREV=PREV"\n"}
print "${color C6FF8E}"MONTH"\n${color FFDEAD}"DOW"\n${color 565656}"PREV"${color 778899}"CAL"${color 565656}"NEXT
}'

exit

remind -s $HOME/.reminders
Your ~/.reminders file has to be setup according to reminders configuration.
mine shows me:

  16:29:08 ~
         $ remind -s $HOME/.reminders
2011/10/10 * * * * {snip - someones birthday}
2011/10/19 * * * * {personal}
2011/10/27 * * * * 3rd last working day of the month

  16:29:11 ~
         $ 

Now below that are two lines found in a text file using conkyText, found in conkyMisc, from this line:

${if_match "${time %b}"=="Oct"}${execp conkyText --template=/home/sector11/Conky/DAYS/appts.template --textfile=/home/sector11/Conky/DAYS/oct.txt}

appts.template

${goto 10}${color};${color6};${color1};${color2};${color3};${color4};${color5};${color6};${color7};${color8}

oct.txt - example only - one text file per month

10; birthday
;;12; anniversary

; 10 ;14 ;18

10, 14, 18 - doctors appointments this month.

That's when I boot up - a left click on tint2 clock gives me my conkys - seen below and to the right of the tint2 bar

Last edited by Sector11 (2011-10-01 23:57:42)

Re: October 2011 Conky Thread

psyco430404 wrote:
VastOne wrote:

This may be a stable version issue... I think it is the version you are running from stable that may be dated that is causing this...  I seem to recall that I could not get anything with lmsensors until I went to Testing..Someone else using Stable and lmsensors may need to confirm this though...

I cannot see kernel as being an issue as lmsensors has worked on yours before with all of the Buntu setups you had..

Debian uses an older kernel unless you update to backports it may very well be the issue.

k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +34.8°C  (high = +70.0°C, crit = +115.5°C)  

atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:     +1.44 V  (min =  +0.85 V, max =  +1.60 V)
 +3.3 Voltage:     +3.39 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:       +5.17 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:     +13.01 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:    2586 RPM  (min =  600 RPM)
CHASSIS FAN Speed:5720 RPM  (min =  600 RPM)
CPU Temperature:   +41.0°C  (high = +60.0°C, crit = +95.0°C)  
MB Temperature:    +35.0°C  (high = +45.0°C, crit = +95.0°C)  

There's my out put with backports synced stable. Its a kernel issue since Debian's default is 2.6.36 (i believe) Im using 2.6.39 from backports.

It looks as if he may have this

AMD Chip Family 12h CPU family 14h CPU with k10temp support

you are right the first kernel to support that is 2.6.38

@ Sector san..  You should be able to get to 2.6.39 fairly easily..

Re: October 2011 Conky Thread

psyco430404 wrote:

^ which kernel do you use?

Fast answer: What ever come with "Squeeze"

Re: October 2011 Conky Thread

VastOne wrote:

@ Sector san..  You should be able to get to 2.6.39 fairly easily..

Except that "every time" I have opened backports I have had errors and had nothing but heartaches getting back to stable stuff.  sad

I tried recently to get updated iceweasel - crapola!!!

## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
deb http://packages.crunchbanglinux.org/statler statler main

## DEBIAN
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
# deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
# deb-src http://security.debian.org/ squeeze/updates main

## DEBIAN BACKPORTS
# deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
# deb http://backports.debian.org/debian-backports squeeze-backports main
# deb http://mozilla.debian.net/ squeeze-backports iceweasel-aurora

## CONKY COMPANIONS
# deb http://ppa.launchpad.net/conky-companions/ppa/ubuntu hardy main
# deb-src http://ppa.launchpad.net/conky-companions/ppa/ubuntu hardy main

I need a guru sitting at my computer for a spell.

Re: October 2011 Conky Thread

Sector11 wrote:
VastOne wrote:

@ Sector san..  You should be able to get to 2.6.39 fairly easily..

Except that "every time" I have opened backports I have had errors and had nothing but heartaches getting back to stable stuff.  sad

I tried recently to get updated iceweasel - crapola!!!

I need a guru sitting at my computer for a spell.

That would be iceweasel xD, yeah that was a pain in the arse to get working, had to sit down and really tweak preferences to get it to install. Basically do this to get the newer kernel. This will also get you iceweasel 7.0

Step 1) add backports

sudo nano /etc/apt/sources.list

then add

## DEBIAN SQUEEZE BACKPORTS
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

Step 2) Apt Preferences

sudo nano /etc/apt/preferences

add this

Package: *
Pin: release n=squeeze-backports
Pin-Priority: 1001

You may need to tweak your Pin-Priority values so backports is highest.

Step 3) Apt Update

sudo apt-get update

Step 4) Install/upgrade

sudo apt-get install iceweasel 

that fixes iceweasel.

Now for the kernel, since you run a different architecture then me most likely.

Open synaptic and search for 2.6.39-bpo

then select and install the image headers and image kernel packages. If you run an Nvidia card / ATI card you'll need to re install your driver. If you Nvidia i can help you there.

Last edited by psyco430404 (2011-10-01 20:10:06)

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: October 2011 Conky Thread

My conky is the same as last month - it is what is seen in the "boot-up" conky less the remind calendar.
Right click on tint2 clock brings it up...
http://dl.dropbox.com/u/16070765/thmb_Oct_S-11.jpg

OB_1-liner-bot

# To use #! in a conky use: ${exec echo '#!'}
# conky -c ~/Conky/OB_1-liner-bot &
# WARNING: Change name and passwords on e-mail code if posting!!

background no
own_window yes
own_window_type override # desktop dock panel override normal
own_window_transparent yes
own_window_hints below,skip_taskbar,skip_pager
own_window_title one_liner
own_window_class one_liner
double_buffer yes
use_spacer none #right
override_utf8_locale yes
use_xft yes
xftalpha 1.0 
update_interval 1
uppercase no
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

# Colors
default_color DCDCDC #Gainsboro
color0 DAA520 #Goldenrod  FFFFF0 #Ivory
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 1028
no_buffers yes
short_units yes
pad_percents 2
alignment bl  # Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
gap_x 5             ### left &right
gap_y 0        ### up & down

minimum_size 1020 18
maximum_width 1020
# lua_load ~/Conky/LUA/draw-bg.lua
# lua_draw_hook_pre draw_bg

xftfont Anonymous Pro:size=8

TEXT
${image ~/Conky/images/1020x15x50.png -p 0,0 -s 1020x18} ${voffset 3}CPU: ${color7}${if_match ${cpu cpu0} < 10}0.0${cpu cpu0}${color}\
${else}${color7}${if_match ${cpu cpu0} < 99}0.${cpu cpu0}${color}\
${else}${color7}${if_match ${cpu cpu0} = 100}CRAP${color}\
${endif}${endif}${endif}\
  Mem: ${color7}${if_match ${memperc} < 10}0.0${memperc}${color}\
${else}${color7}${if_match ${memperc} < 99}0.${memperc}${color}\
${else}${color7}${if_match ${memperc} = 100}CRAP${color}\
${endif}${endif}${endif}\
  Root: ${color7}${if_match ${fs_used_perc /} < 10}0.0${fs_used_perc /}${color}\
${else}${color7}${if_match ${fs_used_perc /} < 99}0.${fs_used_perc /}${color}\
${else}${color7}${if_match ${fs_used_perc /} = 100}CRAP}${color}\
${endif}${endif}${endif}\
 Temps: CPU: ${color7}${execpi 15 sensors | grep 'Core0' | cut --characters 15-16 | xargs ~/Conky/scripts/ColorTempCore.sh}°${color} GPU: ${color7}${execpi 15 sh -c "DISPLAY=:0.0 nvclock -T | grep GPU | cut -c21-22" | xargs ~/Conky/scripts/ColorTempGPU.sh}°${color} SDA: ${color7}${execpi 15 hddtemp -n /dev/sda | xargs ~/Conky/scripts/ColorTempHDD.sh}°${color}\
 Email: ${color7}${execi 120 conkyEmail --servername=XXXXXXXXXX --servertype=POP --ssl --port=995 --username=XXXXX --password=XXXXX}·${execi 120 conkyEmail --servername=XXXXXXXXXX --servertype=POP --ssl --port=995 --username=XXXXX --password=XXXXX}·${execi 120 conkyEmail --servername=XXXXXXXXXX --servertype=POP --ssl --port=995 --username=XXXXX --password=XXXXX}${color}${goto 950}${uptime}\
${goto 505}${execpi 1800 conkyForecast --location=ARBA0009 --template=~/Conky/templates/OB_1-liner.template}${voffset -8}

OB_1-liner.template

${image [--datatype=WI] -p 500,0 -s 18x18}   [--datatype=DW --startday=0 --shortweekday] ${color7}[--datatype=HT --hideunits --hidedegreesymbol]/[--datatype=LT --hideunits --hidedegreesymbol]${color}${goto 580}|${image [--datatype=WI --startday=1] -p 585,0 -s 18x18}    [--datatype=DW --startday=1 --shortweekday] ${color7}[--datatype=HT --startday=1 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=1 --hideunits --hidedegreesymbol]${color}${goto 670}|${image [--datatype=WI --startday=2] -p 675,0 -s 18x18}    [--datatype=DW --startday=2 --shortweekday] ${color7}[--datatype=HT --startday=2 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=2 --hideunits --hidedegreesymbol]${color}${goto 760}|${image [--datatype=WI --startday=3] -p 765,0 -s 18x18}    [--datatype=DW --startday=3 --shortweekday] ${color7}[--datatype=HT --startday=3 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=3 --hideunits --hidedegreesymbol]${color}${goto 850}|${image [--datatype=WI --startday=4] -p 855,0 -s 18x18}    [--datatype=DW --startday=4 --shortweekday] ${color7}[--datatype=HT --startday=4 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=4 --hideunits --hidedegreesymbol]${color}

OB_Cal-br

# To use #! in a conky use: ${exec echo '#!'}
# by Sector11 - 14 Aug 2011
# killall conky && conky -c ~/Conky/OB_Cal-br &

background no
own_window yes
own_window_type override
own_window_transparent yes
#  own_window_colour grey
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_title LEVI
own_window_class LEVI

# ARGB
# to use: own_window_transparent no
# to use: own_window_type normal
# to use: own_window_hints undecorated,below,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 75


double_buffer yes
use_spacer right

uppercase no
stippled_borders 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
border_inner_margin 5
border_outer_margin 0

default_color DCDCDC #Gainsboro
color0 DAA520 #Goldenrod  FFFFF0 #Ivory
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 6606 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2

update_interval 1 #60
imlib_cache_size 0
gap_x 5            ## left &right
gap_y 0             ## up & down
minimum_size 240 40    ## width, height
maximum_width 240    ## make this equal to minimum size width
00FFFF       0 255 255    Cyan

alignment br

use_xft yes
xftfont Droid Sans Mono:bold:size=7
#  xftfont Santana:bold:size=8
xftalpha 1.0
override_utf8_locale yes

lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg

TEXT
${font digitalk:size=30}${color6}${goto 8}${time %C}${goto 203}${time %y}${color}${font}
${goto 63}${voffset -25}${execpi 3600 ~/Conky/scripts/week_2.sh}
${font monospace:bold:size=16}${goto 50}${color7}${time %a}${goto 160}${time %b}${color}${voffset -55}

week_2.sh - note: font is digitalk

#!/bin/bash

font=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color 00FFFF}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
color=("" "" "" "\${color}" "" "" "")

for i in $(seq -3 3); do
echo -n "${font[$[i+3]]}$(date '+%d' -d "$i days")${color[3]}\${offset 3}"
done

Next my wife's conky! She likes the new vertical conky with a BIG clock and calendar!

Last edited by Sector11 (2011-10-02 12:51:17)

Re: October 2011 Conky Thread

VastOne wrote:

This may be a stable version issue... I think it is the version you are running from stable that may be dated that is causing this...  I seem to recall that I could not get anything with lmsensors until I went to Testing..Someone else using Stable and lmsensors may need to confirm this though...

I cannot see kernel as being an issue as lmsensors has worked on yours before with all of the Buntu setups you had..

I use to have all that sensor information when Debian Squeeze was the testing version, then lost it for a while after updating Squeeze and upgrading to Wheezy; finally got it back when Wheezy updated to kernel 3.X

@sector 11

uname -r

in a terminal will give you the kernel you're using (booted).

Last edited by PackRat (2011-10-02 00:23:57)

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Re: October 2011 Conky Thread

psyco430404 wrote:

Open synaptic and search for 2.6.39-bpo

then select and install the image headers and image kernel packages. If you run an Nvidia card / ATI card you'll need to re install your driver. If you Nvidia i can help you there.

Getting off topic ... BUT ... I'm interested ... let me get my wife's conky up and we talk.  As you see from my sources list I'm part way there ... what about http://smxi.org// that VastOne suggests ... I'm half way through reading that and taking note.  I really do not want to muck things up. I'm going S-L-O-W with this.

Re: October 2011 Conky Thread

PackRat wrote:
VastOne wrote:

This may be a stable version issue... I think it is the version you are running from stable that may be dated that is causing this...  I seem to recall that I could not get anything with lmsensors until I went to Testing..Someone else using Stable and lmsensors may need to confirm this though...

I cannot see kernel as being an issue as lmsensors has worked on yours before with all of the Buntu setups you had..

I use to have all that sensor information when Debian Squeeze was the testing version, then lost it for a while after updating Squeeze and upgrading to Wheezy; finally got it back when Wheezy updated to kernel 3.X

@sector 11

uname -r

in a terminal will give you the kernel your using (booted).

  17:16:10 ~
         $ uname -r
2.6.32-5-amd64

  17:16:17 ~
         $ 

Thanks PackRat

Re: October 2011 Conky Thread

Sector11 wrote:
psyco430404 wrote:

Open synaptic and search for 2.6.39-bpo

then select and install the image headers and image kernel packages. If you run an Nvidia card / ATI card you'll need to re install your driver. If you Nvidia i can help you there.

Getting off topic ... BUT ... I'm interested ... let me get my wife's conky up and we talk.  As you see from my sources list I'm part way there ... what about http://smxi.org// that VastOne suggests ... I'm half way through reading that and taking note.  I really do not want to muck things up. I'm going S-L-O-W with this.

Take it slow and ask questions. Its the safest way to go lol. Also i cant speak of SMXI. Ive never used them to be honest. From my understanding there made for test/unstable kinda like the Liquorix Kernel. I can tell you that what i posted is the method i used and nothing broke and I've got a much more modern system because of it. So long as you read whats to be removed and your careful be fore you upgrade you'll be fine and nothing bad will happen. BUT READ what apt says its going to do before you give it the okay. Also you don't have to uninstall your old kernel so you'll always have that to fall back on if something breaks.

Last edited by psyco430404 (2011-10-01 20:19:56)

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier

Re: October 2011 Conky Thread

My wife's vertical conky with a BIG clock and calendar, a right click on tint2 clock gives it to her:
http://dl.dropbox.com/u/16070765/thmb_Oct_S-12.jpg

OB_thinV

# To use #! in a conky use: ${exec echo '#!'}
# killall conky && conky -c ~/Conky/OB_thinV &
# WARNING: Change name and passwords on e-mail code if posting!!

background no
own_window yes
own_window_type override # desktop dock panel override normal
own_window_transparent yes
own_window_hints below,skip_taskbar,skip_pager
own_window_title one_liner
own_window_class one_liner
double_buffer yes
use_spacer none #right
override_utf8_locale yes
use_xft yes
xftalpha 1.0 
uppercase no
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

# Colors
default_color DCDCDC #Gainsboro
color0 DAA520 #Goldenrod  FFFFF0 #Ivory
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 48D1CC #MediumTurquoise FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan 
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 3072
no_buffers yes
short_units yes
pad_percents 2
alignment tr  # Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
gap_x 0             ### left &right
gap_y 0        ### up & down

minimum_size 40 1024
maximum_width 40
update_interval 1
xftfont Anonymous Pro:size=8

# lua_load ~/Conky/LUA/draw_bg.lua
# lua_draw_hook_pre draw_bg

TEXT
${image ~/Conky/images/bk-50.png -p 0,0 -s 40x1024}${voffset 3}  ${color8}CPU${color}
 % Use
 ${color7}${if_match ${cpu cpu0} < 10}0.0${cpu cpu0}${color}\
${else} ${color7}${if_match ${cpu cpu0} < 99}0.${cpu cpu0}${color}\
${else} ${color7}${if_match ${cpu cpu0} = 100}CRAP${color}\
${endif}${endif}${endif}
  ${color8}IO${color}
 ${color7}${diskio}${color}
 Read
 ${color7}${diskio_read}${color}
 Write
 ${color7}${diskio_write}${color}
  ${color8}MEM${color}
 Max
 ${color7}${memmax}${color}
 % Use
 ${color7}${if_match ${memperc} < 10}0.0${memperc}${color}\
${else} ${color7}${if_match ${memperc} < 99}0.${memperc}${color}\
${else} ${color7}${if_match ${memperc} = 100}CRAP${color}\
${endif}${endif}${endif}
 InUse
 ${color7}${mem}${color}
 Free
 ${color7}${memfree}${color}
 Easy
 ${color7}${memeasyfree}${color}
 Cache
 ${color7}${cached}${color}
 Buff
 ${color7}${buffers}${color}
 ${color4}Root${color}
 ${color7}${if_match ${fs_used_perc /} < 10}0.0${fs_used_perc /}${color}\
${else} ${color7}${if_match ${fs_used_perc /} < 99}0.${fs_used_perc /}${color}\
${else} ${color7}${if_match ${fs_used_perc /} = 100}CRAP}${color}\
${endif}${endif}${endif}
 ${color4}Home${color}
 ${color7}${if_match ${fs_used_perc /home} < 10}0.0${fs_used_perc /home}${color}\
${else} ${color7}${if_match ${fs_used_perc /home} < 99}0.${fs_used_perc /home}${color}\
${else} ${color7}${if_match ${fs_used_perc /home} = 100}CRAP}${color}\
${endif}${endif}${endif}
 ${color4}M/5${color}
 ${color7}${if_match ${fs_used_perc /media/5} < 10}0.0${fs_used_perc /media/5}${color}\
${else} ${color7}${if_match ${fs_used_perc /media/5} < 99}0.${fs_used_perc /media/5}${color}\
${else} ${color7}${if_match ${fs_used_perc /media/5} = 100}CRAP}${color}\
${endif}${endif}${endif}
 ${color4}M/6${color}
 ${color7}${if_match ${fs_used_perc /media/6} < 10}0.0${fs_used_perc /media/6}${color}\
${else} ${color7}${if_match ${fs_used_perc /media/6} < 99}0.${fs_used_perc /media/6}${color}\
${else} ${color7}${if_match ${fs_used_perc /media/6} = 100}CRAP}${color}\
${endif}${endif}${endif}
 UpSpd
 ${color7}${upspeedf eth0}${color}
 Total
 ${color7}${totalup eth0}${color}
 DnSpd
 ${color7}${downspeedf eth0}${color}
 Total
 ${color7}${totaldown eth0}${color}
  CPU
  ${color7}${execpi 15 sensors | grep 'Core0' | cut --characters 15-16 | xargs ~/Conky/scripts/ColorTempCore.sh}°${color}
  GPU
  ${color7}${execpi 15 sh -c "DISPLAY=:0.0 nvclock -T | grep GPU | cut -c21-22" | xargs ~/Conky/scripts/ColorTempGPU.sh}°${color}
  SDA
  ${color7}${execpi 15 hddtemp -n /dev/sda | xargs ~/Conky/scripts/ColorTempHDD.sh}°${color}
 ${color8}Mail${color}
 C ${color7}${execi 180 conkyEmail --servername=XXXXX --servertype=POP --ssl --port=### --username=XXXXX --password=XXXXX}${color}
 S ${color7}${execi 180 conkyEmail --servername=XXXXX --servertype=POP --ssl --port=### --username=XXXXX --password=XXXXX}${color}
 W ${color7}${execi 180 conkyEmail --servername=XXXXX --servertype=POP --ssl --port=### --username=XXXXX --password=XXXXX}${color}

${execpi 1800 conkyForecast --location=ARBA0009 --template=~/Conky/templates/OB_thinV.template}

OB_thinV.template

  [--datatype=DW --startday=0 --shortweekday]
 [--datatype=HT --hideunits --hidedegreesymbol]/[--datatype=LT --hideunits --hidedegreesymbol]
${image [--datatype=WI] -p 4,585 -s 33x33}


  [--datatype=DW --startday=1 --shortweekday]
 [--datatype=HT --startday=1 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=1 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=1] -p 4,641 -s 33x33}


  [--datatype=DW --startday=2 --shortweekday]
 [--datatype=HT --startday=2 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=2 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=2] -p 4,696 -s 33x33}


  [--datatype=DW --startday=3 --shortweekday]
 [--datatype=HT --startday=3 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=3 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=3] -p 4,751 -s 33x33}


  [--datatype=DW --startday=4 --shortweekday]
 [--datatype=HT --startday=4 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=4 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=4] -p 4,806 -s 33x33}


  [--datatype=DW --startday=5 --shortweekday]
 [--datatype=HT --startday=5 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=5 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=5] -p 4,861 -s 33x33}


  [--datatype=DW --startday=6 --shortweekday]
 [--datatype=HT --startday=6 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=6 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=6] -p 4,916 -s 33x33}


  [--datatype=DW --startday=7 --shortweekday]
 [--datatype=HT --startday=7 --hideunits --hidedegreesymbol]/[--datatype=LT --startday=7 --hideunits --hidedegreesymbol]
${image [--datatype=WI --startday=7] -p 4,971 -s 33x33}

OB_DMYHMS_2

# To use #! in a conky use: ${exec echo '#!'}
# by Sector11 18 Sept 2011
# killall conky && conky -c ~/Conky/OB_DMYHMS_2 &

background no
own_window yes
own_window_type override
own_window_transparent yes
 own_window_colour grey
own_window_hints below,sticky,skip_taskbar,skip_pager
own_window_title One_Conky
own_window_class One_Conky

# own_window_argb_visual yes ## USE ONLY WITH COMPOSITE MANAGER
# own_window_argb_value 255

double_buffer yes
use_spacer right
override_utf8_locale yes
use_xft yes
xftalpha 1.0
uppercase no
stippled_borders 0
border_width 0
default_outline_color white
default_shade_color white
draw_borders yes
draw_graph_borders no
draw_outline no
draw_shades no

default_color F5F5DC #Beige
color0 BA55D3 #MediumOrchid
color1 708090 #SlateGray
color2 D2691E #Chocolate #FF8C00 # Darkorange
color3 C6FF8E #Light Green #7FFF00 # Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 7FF000 #Chartreuse
color7 00BFFF #DeepSkyBlue #48D1CC # MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 256 # 256 is minimum
no_buffers yes
short_units yes
pad_percents 2

update_interval 1
imlib_cache_size 0
gap_x 1030          ### left &right
gap_y 0          ### up & down
#minimum_size 1200 944 ### width, height
#maximum_width 1200  ### MAX width  
alignment bl
xftfont digitalk:size=60


border_inner_margin 0
border_outer_margin 5

lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg

# ${image ~/Conky/images/bk-50.png -p 0,0 -s 200x225}

TEXT
${color1}${time %d} ${time %H}
${time %m} ${time %M}
${time %y} ${time %S}${color}

Under tint2: OB_VR2 requires conkyMisc
Note: Doctors dates have been modified.

# To use #! in a conky use: ${exec echo '#!'}
# By: kaivalagi - 04/09/2010

# conkyDateDiff.py
# Depends: python-dateutil <<<--- available in the repos
# args expected are YYYYMMDD YYYYMMDD
#
# conkyDaysDiff.py
# args expected are YYYYMMDD YYYYMMDD
# killall conly && conky -c ~/Conky/OB_VR2 &

background no
own_window yes
own_window_type override #normal
own_window_transparent yes #yes
own_window_hints skip_taskbar,skip_pager
own_window_title VR2

override_utf8_locale yes
total_run_times 0
double_buffer yes
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
use_spacer none
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
uppercase no
imlib_cache_size 0

# Colors
default_color DCDCDC #Gainsboro
color0 FFFFF0 #Ivory
color1 FFA07A #LightSalmon
color2 FF8C00 #Darkorange
color3 C6FF8E #a light green #FFF00 #Chartreuse
color4 778899 #LightSlateGrey
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 6144 # 256 is the minimum
short_units yes
pad_percents 2

minimum_size 1000 0 # width & height
maximum_width 1000 # width only

border_inner_margin 0
border_outer_margin 0

update_interval 86400
alignment bl
gap_x 5 # left-right
gap_y 3 # up-down

use_xft yes
xftfont Anonymous Pro:size=9
#xftfont Santana:bold:size=9
xftalpha 1.0 #0.2
imlib_cache_size 0

lua_load ~/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg

# ${image ~/Conky/images/bk-50.png -p 0,0 -s 1000x17}

TEXT
 ${voffset 3}S11 12|05|${color7}${exec ~/Conky/scripts/conkyDaysDiff.py 20120512}${color}  \
 S12 13|08|${color1}${exec ~/Conky/scripts/conkyDaysDiff.py 20120813}${color}  \
 S13 19|08|${color8}${exec ~/Conky/scripts/conkyDaysDiff.py 20120819}${color}  \
 D01 10|10|${color8}${exec ~/Conky/scripts/conkyDaysDiff.py 20111010}${color}  \
 D02 14|10|${color1}${exec ~/Conky/scripts/conkyDaysDiff.py 20111014}${color} -+-\
 D03 18|10|${color9}${exec ~/Conky/scripts/conkyDaysDiff.py 20111018} ${color}${font}

Re: October 2011 Conky Thread

psyco430404 wrote:

Take it slow and ask questions. Its the safest way to go lol. Also i cant speak of SMXI. Ive never used them to be honest. From my understanding there made for test/unstable kinda like the Liquorix Kernel.

SMXI is for any thing you want to run whether it be stable/testing/sid or any of the kernels you want ...Liquorix, Debian or Aptosid

It allows you to choose which platform you want to use and whether you want to use apt-get or aptitude and also a choice of stable/testing/sid  ...I had already setup my sources for Testing so when I ran SMXI for the first time it detected what I had and confirmed it was what I wanted..

Once you use the script the first time and make these choices, all of your sources are setup and ready..

I use it for the ease in getting the latest Liquorix kernel and then instantly updating to the matching nVidia kernel...

I could easily do the same from terminal, but I have gotten used to SMXI scripting and the fact that it kills gdm as it runs from tty1 and root is a bonus

To your question Sector san, if I were in your position, I would not use smxi just to bump up to the Debian backports kernel .. I would use it when you are ready to move to testing

psyco430404 laid out a good method to get to the kernel you need and I would follow it.

Re: October 2011 Conky Thread

@ VastOne thank you for the clarification, as i said i don't know much about SMXI. And yeah i just laid out the easiest way to get to backports kernel and iceweasel.

"'If fighting is to result in victory, then you must fight'...Sun Tzu said that and id say he knows a little more about fighting then you do pal."

- TF2 Soldier