SEARCH

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

You are not logged in.

#4676 2013-01-26 13:57:28

observingly
#! Member
From: Manila, Philippines
Registered: 2013-01-13
Posts: 98
Website

Re: Conky v1.9 Thread

how can i download conkyforecast?


"You see, but you do not observe." -Sherlock Holmes

Offline

Help fund CrunchBang, donate to the project!

#4677 2013-01-26 14:21:01

easysid
#! CrunchBanger
From: India
Registered: 2013-01-25
Posts: 149

Re: Conky v1.9 Thread

No voffsets .... that is sweet.  And yes, you can..... big_smile big_smile

I went on adding the things left to right, thus I started at the bottom. Added the clock last ( earlier I had reserved those two blocks for processes. One by CPU and one by mem ). I had to use voffsets as I wrote things per 'block'. Temps on one, then usage on another. I knew that it was a bit messy, with things scattered like that which is why I tried leaving some spaces between each block, and put voffsets in different line.

Last edited by easysid (2013-01-26 14:25:32)

Offline

#4678 2013-01-26 14:46:06

Sector11
Leonardo da Conci
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,189
Website

Re: Conky v1.9 Thread

observingly wrote:

how can i download conkyforecast?

Right here: conkyforecast_2.24_all.deb, this is what I use.

Or if you prefer from the Conky Companions PPA that has all of Mark's python script for Conky


Q&As for Conky v1.9 & v1.10 | Conky Archives | All Conky Threads
.deb file editor | Debian Jessie: BunsenLabs subAlpha & Wally-jr
BL Forum Moderator | LinuxBBQ

Offline

#4679 2013-01-26 14:56:46

Sector11
Leonardo da Conci
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,189
Website

Re: Conky v1.9 Thread

easysid wrote:

No voffsets .... that is sweet.  And yes, you can..... big_smile big_smile

I started a conky with that method but never finished it.  You gave me a perfect way to explain the process.
My other full screen conkys are messy as well

Thank you.


Q&As for Conky v1.9 & v1.10 | Conky Archives | All Conky Threads
.deb file editor | Debian Jessie: BunsenLabs subAlpha & Wally-jr
BL Forum Moderator | LinuxBBQ

Offline

#4680 2013-01-26 15:37:35

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Offline

#4681 2013-01-26 16:06:22

Sector11
Leonardo da Conci
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,189
Website

Re: Conky v1.9 Thread

lionhead wrote:

Why go to a 3rd party repo?  Mark worked directly with Conky Companions PPA


Q&As for Conky v1.9 & v1.10 | Conky Archives | All Conky Threads
.deb file editor | Debian Jessie: BunsenLabs subAlpha & Wally-jr
BL Forum Moderator | LinuxBBQ

Offline

#4682 2013-01-26 18:15:41

observingly
#! Member
From: Manila, Philippines
Registered: 2013-01-13
Posts: 98
Website

Re: Conky v1.9 Thread

Sector11 wrote:

Right here: conkyforecast_2.24_all.deb, this is what I use.

Had finished downloading it. What should I do next? I am clueless because there is no read-me file.

Last edited by observingly (2013-01-26 18:17:20)


"You see, but you do not observe." -Sherlock Holmes

Offline

#4683 2013-01-26 18:32:36

Sector11
Leonardo da Conci
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,189
Website

Re: Conky v1.9 Thread

observingly wrote:
Sector11 wrote:

Right here: conkyforecast_2.24_all.deb, this is what I use.

Had finished downloading it. What should I do next? I am clueless because there is no read-me file.

Double click on it and GDebi should install it for you.

Once installed you can read the help file in a terminal:

conkyForecast --help

or create a text file for geany:

conkyForecast --help>conkyForecast-help.txt

Q&As for Conky v1.9 & v1.10 | Conky Archives | All Conky Threads
.deb file editor | Debian Jessie: BunsenLabs subAlpha & Wally-jr
BL Forum Moderator | LinuxBBQ

Offline

#4684 2013-01-26 20:13:34

lwfitz
#! Die Hard
From: Monrovia, CA
Registered: 2012-01-19
Posts: 886
Website

Re: Conky v1.9 Thread

Made a few changes...........


2013_01_26_1359230602_3840x1080_scrot.jpg

Offline

#4685 2013-01-27 02:54:29

observingly
#! Member
From: Manila, Philippines
Registered: 2013-01-13
Posts: 98
Website

Re: Conky v1.9 Thread

Sector11 wrote:

Double click on it and GDebi should install it for you.

When I opened the package with Gdebi the status says:

Error Dependency is not satisfiable:
python-central (>= 0.6.7)


"You see, but you do not observe." -Sherlock Holmes

Offline

#4686 2013-01-27 10:40:04

jed
#! CrunchBanger
From: Detachment 7
Registered: 2012-08-28
Posts: 200
Website

Re: Conky v1.9 Thread

Special thanks to falldown for this!

With the interactive Lua Conky's closed;
obclosedconkys.png

With the interactive Lua Conky's opened;
obopenconkys.png

Also a special thank-you to mrpeachy for creating the interactive lua that falldown so graciously worked on to get this working so wonderfully!!!
We are a truly blessed Community here at VSIDO, to have such great artists, and coders, who are so happy to share their work in the true spirit of FOSS!


Proud user of VSDIO: Jedi!  You can download it from here...  I'm on  the web at NixNut.com!

Offline

#4687 2013-01-27 11:02:32

lwfitz
#! Die Hard
From: Monrovia, CA
Registered: 2012-01-19
Posts: 886
Website

Re: Conky v1.9 Thread

taDh0cg

Offline

#4688 2013-01-28 05:35:30

try2ops
New Member
Registered: 2012-12-03
Posts: 9

Re: Conky v1.9 Thread

hi all,
why python script run at terminal, alginment is ok but after run at conky, alignment will out of format?
i try   ${execi 120 python /home/cheehong/stocks.py INTC BAC NOK}  and  ${execpi 120 python /home/cheehong/stocks.py INTC BAC NOK} also same.
*this script i copy from www.bhaviksblog.com for stock-quote

python at terminal:-
python_stock1.png
free photo hosting

after at conky:-
deckstop_stock.jpg

python code:-

# Author: Bhavik Shah
# Date Created: Feb 27th, 2009
# Description: Pulls stock quotes from yahoo finance
#  and displays them in conky

# Open up .conkyrc and add the following line
# {execi 120 /path/to/your/script.py goog xom}
# replace 120 by your desired interval in seconds
# replace the path with your path
# Change goog and xom to the stocks you want
# If Value is N/A you probably typed the quote in wrong
# If Open is N/A the stock market is probably closed

# Script is free, do whatever you want with it
# Credit to www.bhaviksblog.com is appreciated =) 


import urllib2
import sys

if sys.argv > 1: #arg must be supplied
	stocks = sys.argv #args are the stocks
	stocks.pop(0) #pop the first entry since its the filename
	print
	print '%5s %8s %9s %9s %9s' % ('Name','Value','Open','Change','Time') #print header
	print '--------------------------------------------' #fancy line

	for i in stocks: #for each stock do this
		stock=i
		
		#This is the url from yahoo...if this changes the script dies, Ill fix it and upload again if it happens.
		csv = urllib2.urlopen('http://download.finance.yahoo.com/d/quotes.csv?s='+ stock +'&f=sl1d1t1c1ohgv&e=.csv')
		data = csv.read() #grab csv 
		tokens = data.split(',') #split into tokens

		name=tokens[0].replace('"','') #get rid of quotes
		value=tokens[1] 
		time=tokens[3].replace('"','')
		change=tokens[4]
		openVal=tokens[5]

		print '%5s' % name,'%8s'% value,'%9s'% openVal,'%9s'% change,'%9s'% time #print to screen with formatting
else:
	print 'You forgot to supply your stock quote as an arg' #go back and give the script your stocks as arguments
	print 'Example: python stocks.py goog'
	

Last edited by try2ops (2013-01-28 05:41:10)

Offline

#4689 2013-01-28 05:54:40

chepioq
#! Member
Registered: 2013-01-09
Posts: 78

Re: Conky v1.9 Thread

@try2ops

Give us your conky

Offline

#4690 2013-01-28 06:19:46

try2ops
New Member
Registered: 2012-12-03
Posts: 9

Re: Conky v1.9 Thread

my conky

# 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 yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 100
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment bottom_left
gap_x 1
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
    CPU $alignr ${cpu cpu0}%
    ${cpubar cpu0}

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

    DISK  $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
    ${fs_bar /}
    
   -------------------------------------------------------------------------------------------------------------------
    $processes processes ($running_processes running)
    
    NAME $alignr PID    CPU
    ${top name 1} $alignr ${top pid 1} ${top cpu 1}
    ${top name 2} $alignr ${top pid 2} ${top cpu 2}
    ${top name 3} $alignr ${top pid 3} ${top cpu 3}
    ${top name 4} $alignr ${top pid 4} ${top cpu 4}
    ${top name 5} $alignr ${top pid 5} ${top cpu 5}
    ${top name 6} $alignr ${top pid 6} ${top cpu 6}
    ${top name 7} $alignr ${top pid 7} ${top cpu 7}
    ${top name 8} $alignr ${top pid 8} ${top cpu 8}
    ${top name 9} $alignr ${top pid 8} ${top cpu 9}
    ----------------------------------------------------------------------------------------------------------------------  
   
   
   ${execi 120 python /home/user/stocks.py INTC BAC NOK} 

  
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    
    

 DL ${downspeed eth1} /s        ${cpu cpu0}% :CPU
 UL ${upspeed eth1} /s        $memperc% :MEM

Offline

#4691 2013-01-28 06:59:01

chepioq
#! Member
Registered: 2013-01-09
Posts: 78

Re: Conky v1.9 Thread

OK, I find where is the error (and it's really not an error).
You must use a monospace font, for test I use Monaco font, and all are align...
1359356286.png

You can use Liberation Mono instead of Liberation Sans

Last edited by chepioq (2013-01-28 07:03:10)

Offline

#4692 2013-01-28 08:51:04

try2ops
New Member
Registered: 2012-12-03
Posts: 9

Re: Conky v1.9 Thread

thank you,
chepioq

Offline

#4693 2013-01-28 13:51:48

I-sty
New Member
Registered: 2013-01-28
Posts: 7

Re: Conky v1.9 Thread

Hi all,
I am noob.
I am using Cinnarch, not CrunchBang this is problem here?

I have a problem with a devianart's conky script.
I use Conky Cronograph Script: http://hfcf.deviantart.com/art/Conky-Cr … -278646771

When I start conky from terminal I got these erros:

[i-sty@localhost ~]$ ./.Conky/cronograph/start_conky.sh 
[i-sty@localhost ~]$ Conky: forked to background, pid is 12353

Conky: desktop window (1200029) is subwindow of root window (d7)
Conky: window type - normal
Conky: drawing to created window (0x1e00002)
Conky: drawing to double buffer
wget: no process found
--2013-01-28 15:28:13--  http://www.accuweather.com/en/ro/targu-mures/289415/current-weather/289415
Resolving www.accuweather.com (www.accuweather.com)... 77.232.217.106, 77.232.217.121
Connecting to www.accuweather.com (www.accuweather.com)|77.232.217.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/home/i-sty/.Conky/cronograph/accuweather/curr_cond_raw'

    [ <=>                                   ] 98,653      --.-K/s   in 0.09s   

2013-01-28 15:28:13 (1.10 MB/s) - '/home/i-sty/.Conky/cronograph/accuweather/curr_cond_raw' saved [98653]

--2013-01-28 15:28:13--  http://www.accuweather.com/en/ro/targu-mures/289415/daily-weather-forecast/289415
Resolving www.accuweather.com (www.accuweather.com)... 77.232.217.121, 77.232.217.106
Connecting to www.accuweather.com (www.accuweather.com)|77.232.217.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/home/i-sty/.Conky/cronograph/accuweather/tod_ton_raw'

    [ <=>                                   ] 97,924      --.-K/s   in 0.09s   

2013-01-28 15:28:14 (1.04 MB/s) - '/home/i-sty/.Conky/cronograph/accuweather/tod_ton_raw' saved [97924]

Conky: can't open /sys/class/power_supply/BAT1/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT1/state: No such file or directory
Conky: unknown variable 
Conky: unknown variable

Who is using this script?

For me the weather and the batt parts are not working.
See my screenshot:
Screenshot_from_2013-01-28_15_33_31_www.kepfeltoltes.hu_.png

Offline

#4694 2013-01-28 15:39:59

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,538

Re: Conky v1.9 Thread

@ I-sty

For the battery, try changing BAT1 to BAT0 in the .conkyrc


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

Offline

#4695 2013-01-28 15:59:15

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: Conky v1.9 Thread

i want to display this webcam on my desctop: http://www.ls.eso.org/lasilla/dimm/lasc/gifs/last.gif

because of the different timezone most of the time the telescope is closed. that's why i want to display the webcam only from sunset in chile until sunrise in chile smile i could grab the neccesary information from the intellicast-webpage. but i do not why. i could use a second instance of v9000 to get this information but because of the reason i only need two datas i would like to have a 'light-version' of v9000.

the rest of the day i would like to display, for example an other webcam (from a different timezone *g*).

edit:

function grab(wert)

updates=tonumber(conky_parse("${updates}"))
interval=100
timer=(updates % interval)
if timer==0 or conky_start==1 then
used_table={}
local web="http://www.intellicast.com/Local/Forecast.aspx?location=CIXX0020"
local file = io.popen("curl "..web)
output=file:read("*a")
file:close()

if wert=='rise' then
-- sonnenaufgang chile
s,f,text=string.find(output,"Rise:</strong> (%d*:%d*%s%u%u)</td>")
elseif wert=='set' then
s,f,text=string.find(output,"Set:</strong> (%d*:%d*%s%u%u)</td>")
end

conky_start=nil

return text

end

the function is not working right sad do u have an idea what i should do?

Last edited by lionhead (2013-01-28 16:31:51)

Offline

#4696 2013-01-28 16:55:02

easysid
#! CrunchBanger
From: India
Registered: 2013-01-25
Posts: 149

Re: Conky v1.9 Thread

Here's something I started working on, but I am stuck.
I had thought of writing fake verses, with info scattered among them. I couldn't think of anything. sad .... Also, there's a confusion as to which font to use. Tengwar is cool, but it results in gibberish. Any suggestions?

nsGeXnW.png

I'll fix the background. It was a quick n dirty job. The chief thing is getting the text.
Also, what is the proper way to put comments in the text part? Right now I insert them into objects like voffset and font, where conky ignores them.

conkyrc:

# book of conky 
# 28-January-2013 

######################
# - Conky settings - #
######################

background no
update_interval 5
cpu_avg_samples 1
total_run_times 0
override_utf8_locale yes
short_units yes
 
double_buffer yes
no_buffers yes
 
text_buffer_size 2048
imlib_cache_size 0

# For screen size 1368x768
minimum_size 800 500
maximum_width 800

gap_x 300
gap_y 100
#####################
# - Text settings - #
#####################
use_xft yes
xftfont old english text mt:pixelsize=20
xftalpha .8

uppercase no

# Text alignment
alignment top_left

######################
# - Color settings - #
######################

default_color 000000
default_shade_color gray
default_outline_color black


#############################
# - Window specifications - #
#############################
own_window yes
own_window_colour black
own_window_argb_visual yes
own_window_argb_value 24
own_window_transparent yes
#own_window_class Conky
#own_window_type normal
own_window_type desktop
#own_window_type dock
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

#########################
# - Graphics settings - #
#########################
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
draw_graph_borders no

TEXT

${goto 60}${font old english text mt:bold:pixelsize=35}The Book Of Conky${font}

${goto 60} This is the book for ${kernel}

Its been for ${uptime}

And that you use RAM ${mem}
And you use the CPU ${cpu cpu0}%

And the FS usages follow
/ ${fs_used /} ${fs_used_perc /}%
~ ${fs_used /home} ${fs_used_perc /home}%

And add any info as required. 
That is not the issue.

 
${voffset -365 Go to second page}
${font calibri:bold:pixelsize=20 \ 
We diaplay various fonts that can be used}
${goto 450}Font Test 

${font ariel}\
${goto 420}Tengwar: ${font tengwar annatar:bold:pixelsize=30}Lorem Ipsum${font}


${font ariel}\
${goto 420}Blackadder: ${font blackadder itc:bold:pixelsize=35}Lorem Ipsum${font}


${font ariel}\
${goto 420}Parchment ${font parchment:bold:pixelsize=40}Lorem Ipsum${font}


${font ariel}\
${goto 420}Old English: ${font old english text mt:bold:pixelsize=30}Lorem Ipsum${font}

Last edited by easysid (2013-01-28 17:03:02)

Offline

#4697 2013-01-28 18:32:47

I-sty
New Member
Registered: 2013-01-28
Posts: 7

Re: Conky v1.9 Thread

PackRat wrote:

@ I-sty

For the battery, try changing BAT1 to BAT0 in the .conkyrc

Thanks your reply.
I solved my problem that I install apci and modified my line:

${voffset 29}${offset 100}BAT: ${battery_percent BAT1}% - ${battery_time BAT1}

Now just the weathor not work. sad

Offline

#4698 2013-01-28 21:03:27

Naik
#! Die Hard
From: Leipzig
Registered: 2012-11-16
Posts: 595

Re: Conky v1.9 Thread

PackRat wrote:

@naik -

Nice one

Thank you!

easysid wrote:

.... [ i didn't quite get the foreshortening the conky-output part.]

One thing I'd really like, is to 'flatten' the output, so that the top surfaces can be used as well. But I have no idea how.

thats exactly what i meant  wink  flattening and adding some perspectiv by straining... but i am as clueless as you.. roll


*kaum macht man es richtig, funktioniert es sofort*

Offline

#4699 2013-01-29 12:49:00

ragamatrix
#! Junkie
From: Earth
Registered: 2012-12-05
Posts: 260

Re: Conky v1.9 Thread

I-sty wrote:

Hi all,
I am noob.
I am using Cinnarch, not CrunchBang this is problem here?

I have a problem with a devianart's conky script.
I use Conky Cronograph Script: http://hfcf.deviantart.com/art/Conky-Cr … -278646771

When I start conky from terminal I got these erros:

[i-sty@localhost ~]$ ./.Conky/cronograph/start_conky.sh 
[i-sty@localhost ~]$ Conky: forked to background, pid is 12353

Conky: desktop window (1200029) is subwindow of root window (d7)
Conky: window type - normal
Conky: drawing to created window (0x1e00002)
Conky: drawing to double buffer
wget: no process found
--2013-01-28 15:28:13--  http://www.accuweather.com/en/ro/targu-mures/289415/current-weather/289415
Resolving www.accuweather.com (www.accuweather.com)... 77.232.217.106, 77.232.217.121
Connecting to www.accuweather.com (www.accuweather.com)|77.232.217.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/home/i-sty/.Conky/cronograph/accuweather/curr_cond_raw'

    [ <=>                                   ] 98,653      --.-K/s   in 0.09s   

2013-01-28 15:28:13 (1.10 MB/s) - '/home/i-sty/.Conky/cronograph/accuweather/curr_cond_raw' saved [98653]

--2013-01-28 15:28:13--  http://www.accuweather.com/en/ro/targu-mures/289415/daily-weather-forecast/289415
Resolving www.accuweather.com (www.accuweather.com)... 77.232.217.121, 77.232.217.106
Connecting to www.accuweather.com (www.accuweather.com)|77.232.217.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/home/i-sty/.Conky/cronograph/accuweather/tod_ton_raw'

    [ <=>                                   ] 97,924      --.-K/s   in 0.09s   

2013-01-28 15:28:14 (1.04 MB/s) - '/home/i-sty/.Conky/cronograph/accuweather/tod_ton_raw' saved [97924]

Conky: can't open /sys/class/power_supply/BAT1/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT1/state: No such file or directory
Conky: unknown variable 
Conky: unknown variable

Who is using this script?

For me the weather and the batt parts are not working.
See my screenshot:
http://kepfeltoltes.hu/130128/Screensho … es.hu_.png

May be you can use this one wich is a little bit modified....
pack-conky-weather-clock
at this page with clickin on the picture you got the pack...
link to the pack

Last edited by ragamatrix (2013-01-29 12:50:53)

Offline

Be excellent to each other!

#4700 2013-01-29 15:07:26

Bradi
#! CrunchBanger
From: Poland
Registered: 2013-01-21
Posts: 119

Re: Conky v1.9 Thread

Your setup looks sweet, I-sty

Offline

Board footer

Powered by FluxBB

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

Debian Logo