LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2011, 04:33 AM   #1
diwljina
Member
 
Registered: Jun 2009
Distribution: Slackware, Debian
Posts: 111

Rep: Reputation: 8
Problem with conky in current


Hi!

I'm using conkyForecast script in my conkyrc and it worked until I upgraded to current. I'm using two conky instances and problem is only with one with forecast information. Afrer every text there is empty box that messes up everything. Screenshots of before and after are attached.

Everything worked great until update, so I don't think it is comething in conkyrc, but here it is:

Code:
background yes
own_window yes
own_window_type normal # normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager #
undecorated,below,skip_taskbar,skip_pager
own_window_colour black
double_buffer yes
use_spacer left
override_utf8_locale yes
use_xft yes
font DejaVu Sans:size=10
xftfont sans:size=10
xftalpha 0.8
update_interval 5.0
uppercase no  # set to yes if you want all text to be in uppercase
stippled_borders 2
border_width 1
minimum_size 385
default_outline_color black
default_shade_color black
draw_borders no
draw_outline no  # amplifies text if yes
draw_shades no  # shadecolor black
default_color white
color0 cyan
color1 white
color2 00ddff
color3 00ddff
color4 wheat
color5 salmon
color6 red
color7 lightblue
color8 yellow
color9 red
alignment tm
gap_x -10
gap_y 18
text_buffer_size 6076 # large buffer needed
no_buffers yes  # Subtract file system buffers from used memory?
short_units yes
pad_percents 2
imlib_cache_size 0
TEXT
${execpi 1800 /usr/bin/conkyForecast --locale=en --location=SRXX0005 --template=/home/user/.conky/forecast/weather.template}
And here is weather.template:
Code:
${image [--datatype=WI] -p 12,0 -s 90x90}${image [--datatype=MI] -p 12,80 -s 50x50}
${voffset 120}${goto 25}${color1}[--datatype=HT --hideunits --centeredwidth=3]/[--datatype=LT --hideunits --centeredwidth=3]
${voffset -130}${goto 120}${color1}[--datatype=CT]
${font}${voffset 0}${goto 120}${color2}${font zekton:size=10}Station: ${color1}${font}[--datatype=OB]
${goto 120}${color2}${font zekton:size=10}Wind Speed: ${color1}${font}[--datatype=WS]
${goto 120}${color2}${font zekton:size=10}UV: ${color1}${font}[--datatype=UI] - [--datatype=UT]
${goto 120}${color2}${font zekton:size=10}Humidity: ${color1}${font}[--datatype=HM]
# ${goto 120}${color2}${font zekton:size=10}Dew Point: ${color1}${font}[--datatype=DP]
${goto 120}${color2}${font zekton:size=10}Sunrise/Set: ${color1}${font}[--datatype=SR] / [--datatype=SS]
${goto 120}${color2}${font zekton:size=10}Bar: ${color1}${font}[--datatype=BR] - [--datatype=BD]
${goto 120}${color2}${font zekton:size=10}Moon: ${color1}${font}[--datatype=MP]
${color0}${font zekton:size=10}${voffset 3}${goto 35}[--datatype=DW --startday=1 --shortweekday]${goto 135}[--datatype=DW --startday=2 --shortweekday]${goto 235}[--datatype=DW --startday=3 --shortweekday]${goto 335}[--datatype=DW --startday=4 --shortweekday]
${image [--datatype=WI --startday=1] -p 17,170 -s 50x50}${image [--datatype=WI --startday=2] -p 117,170 -s 50x50}${image [--datatype=WI --startday=3] -p 217,170 -s 50x50}${image [--datatype=WI --startday=4] -p 317,170 -s 50x50}
${voffset 40}${font}${goto 25}${color1}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 125}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 225}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]${goto 325}[--datatype=HT --startday=4 --hideunits --centeredwidth=3]/[--datatype=LT --startday=4 --hideunits --centeredwidth=3]
Any idea what could be the problem?
Attached Thumbnails
Click image for larger version

Name:	conky-forecast.jpg
Views:	42
Size:	56.7 KB
ID:	6272   Click image for larger version

Name:	conky-weather2.jpg
Views:	39
Size:	56.5 KB
ID:	6273  
 
Old 02-28-2011, 09:11 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
I maintain the conky and conkyforecast package over at slackbuilds.org and I am currently having no problems. However the version of conkyforecast at SBo is 2.12, there is newer version, 2.15 I think. You could try install it and see if that fixes your problem.
 
Old 02-28-2011, 09:31 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
However I forgot to mention that I also had an issue with conkyforecast and disappearing weather fonts, but it rarely happens and a restart always fixes it. But the last time this happened was about two weeks ago and I did a bad exit from KDE.

Last edited by Daedra; 03-01-2011 at 12:00 AM.
 
Old 03-01-2011, 02:52 AM   #4
diwljina
Member
 
Registered: Jun 2009
Distribution: Slackware, Debian
Posts: 111

Original Poster
Rep: Reputation: 8
I contacted author of conkyforecast and he told me that the problem is with 1.8.1 version of conky."it messes up goto/offset commands when they are in a template and parsed with execp/execpi...either install conky 1.8.0 or revert from using a template."

I installed 1.8.0 and it solved the problem. I was having some problem with compiling the older version. Enabled audacious, mpd, lua and some other things couldn't compile, so I just installed the binary that I compiled for 13.1 (and linked libmowgli.so to libmowgli.so.1 because conky couldn't find it).
 
Old 03-01-2011, 06:53 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
I'm Curious

Have you guys compared Conky functions to KDE plasmoids? So far most I've tried use less resources than my conky on my Slackware-Current box and my conky is slowly dwindling in size to bare essentials that just look better than similar plasmoids. What are your experiences in this?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
conky question: passing conky-variable to shell-script zlin50 Linux - Software 2 12-29-2012 06:47 PM
[SOLVED] Conky cant find libmowgli after upgrade to current Daedra Slackware 4 09-03-2010 04:02 PM
LXer: Conky Colors Makes Your Conky Beautiful In Seconds (Version 3.20 Released) LXer Syndicated Linux News 0 08-01-2010 11:21 AM
Conky installation problem Arpita Linux - Software 1 06-22-2008 01:15 AM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration