Topic: December 2011 Conky Thread

The monthly conky thread purpose:

  • seek help with conky, and

  • show your conky and the files that created them

-----------------------------------------------------------
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]

Re: December 2011 Conky Thread

This is an old one I'am trying to update.. I have to move the weather section because when the weather description line wraps it throws the spacing off on the lua bars
Will post the code when I get it right...

    http://i.imgur.com/0bRX6s.png click it

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Re: December 2011 Conky Thread

dlm955 wrote:

This is an old one I'am trying to update.. I have to move the weather section because when the weather description line wraps it throws the spacing off on the lua bars
Will post the code when I get it right...

    http://i.imgur.com/0bRX6s.png click it

Beautiful, yes the conditions text can get long at times.  Most of mine now, I don't use the text, just the image ... for just that reason.

Re: December 2011 Conky Thread

http://ompldr.org/tYmpxdQ
My conky seems to stop right after the WTF statement.  Is there a way to display the rest of my conky script.  I'm new to the world of conky.

##############################################
#  Settings
##############################################
background yes
use_xft yes
xftfont sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color d8d8d8
default_shade_color 000000
default_outline_color d9d7d6
alignment top_right
gap_x 12
gap_y 24
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
${image /home/antiuser/bin/lastfm/lastfm.png}







${rss http://ws.audioscrobbler.com/1.0/user/sunfizz98/recenttracks.rss 1 item_titles 5 }

WTF, no more script?

S Y S T E M    I N F O
${hr}
Host:$alignr$nodename
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax
Disk usage:$alignr${fs_used /}/${fs_size /}
CPU usage:$alignr${cpu cpu0}%

*UPDATE* Problem Fixed!
I changed my login manager from SLIM to lightDM and now it is working properly.
http://ompldr.org/tYmpxeg

Last edited by sunfizz98 (2011-12-02 03:59:39)

Re: December 2011 Conky Thread

sunfizz98 wrote:

http://ompldr.org/tYmpxdQ
My conky seems to stop right after the WTF statement.  Is there a way to display the rest of my conky script.  I'm new to the world of conky.

{snip}

*UPDATE* Problem Fixed!
I changed my login manager from SLIM to lightDM and now it is working properly.
http://ompldr.org/tYmpxeg

That has to be the craziest conky fix I have ever heard of.
One has to wonder what a login manager has to do with it.  But glad it's fixed.

Re: December 2011 Conky Thread

^ Yes, it's the craziest thing, but it fixed it.  Now the quesition is how to fix those box shaped letters (missing fonts?)

Re: December 2011 Conky Thread

sunfizz98 wrote:

^ Yes, it's the craziest thing, but it fixed it.  Now the quesition is how to fix those box shaped letters (missing fonts?)


The feed has a "-" in the middle and xftfont is not rendering it.

You may need to change you line as such-  and if you install fonts, recache
# Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv

${font Liberation Sans Regular L:bold:size=8.25}${rss http://ws.audioscrobbler.com/1.0/user/s … tracks.rss 1 item_titles 5}

Last edited by BoredOOMM (2011-12-02 06:40:49)

Congratulations, you've figured out the sound of one hand clapping...

Re: December 2011 Conky Thread

solved ????????
I have a new one to me,when I try to start a conky in terminal it fails and all I see is Alarm clock in terminal

  dlm955@crunchbang:~$ conky -c ~/conky/clock3conkyrc
  Alarm clock
  dlm955@crunchbang:~$ 

any ideas I'am at a loss

  don't know why but a few restarts fixed it

Last edited by dlm955 (2011-12-02 08:22:44)

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Re: December 2011 Conky Thread

Well here is the one I mentioned in earlier post a rewind of one I did a few months back......
 
     http://i.imgur.com/iuVFbs.jpg
                          click pic


                     there is to much code to post here so I added links to paste bin

                            http://pastebin.com/qBk9WPxt      the conkyrc

                            http://pastebin.com/1nWNx6nF     clock3.lua

                           http://pastebin.com/afiqMtXT           bargraph3.lua

                            for the logo in the clock go to /home/yourname/images/wallpapers/shared/
                     it's called crunchbang-logo-minimal.png  use gimp to make it any color you want and save
                     it somewhere else, then change path to it at bottom of clock3conkyrc

Last edited by dlm955 (2011-12-02 08:54:13)

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Re: December 2011 Conky Thread

@Sun rize: Slim seems also to play bad with conky sometimes? Eh...

LightDM ftw!

Re: December 2011 Conky Thread

dlm955 wrote:

Well here is the one I mentioned in earlier post a rewind of one I did a few months back....

Nice, I like it but what happened to the weather?

Re: December 2011 Conky Thread

ivanovnegro wrote:

@Sun rize: Slim seems also to play bad with conky sometimes? Eh...

LightDM ftw!

Most curious that!

Re: December 2011 Conky Thread

Sector11 wrote:
dlm955 wrote:

Well here is the one I mentioned in earlier post a rewind of one I did a few months back....

Nice, I like it but what happened to the weather?

    I was disconnected from the net so as not to show my IP addr,so no weather

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Re: December 2011 Conky Thread

dlm955 wrote:
Sector11 wrote:
dlm955 wrote:

Well here is the one I mentioned in earlier post a rewind of one I did a few months back....

Nice, I like it but what happened to the weather?

    I was disconnected from the net so as not to show my IP addr,so no weather

Ohhhhh OK, I just GIMP it out  smile

Re: December 2011 Conky Thread

BoredOOMM wrote:
sunfizz98 wrote:

^ Yes, it's the craziest thing, but it fixed it.  Now the quesition is how to fix those box shaped letters (missing fonts?)

${font Liberation Sans Regular L:bold:size=8.25}${rss http://ws.audioscrobbler.com/1.0/user/s … tracks.rss 1 item_titles 5}

Nope, that didn't work either.  Where does conky find the fonts to use?

Re: December 2011 Conky Thread

sunfizz98 wrote:
BoredOOMM wrote:
sunfizz98 wrote:

^ Yes, it's the craziest thing, but it fixed it.  Now the quesition is how to fix those box shaped letters (missing fonts?)

${font Liberation Sans Regular L:bold:size=8.25}${rss http://ws.audioscrobbler.com/1.0/user/s … tracks.rss 1 item_titles 5}

Nope, that didn't work either.  Where does conky find the fonts to use?

~/.fonts works for me.

I think they are in /usr/share as well if you are root.  Either will work if you re-enable the cache.

Congratulations, you've figured out the sound of one hand clapping...

Re: December 2011 Conky Thread

sunfizz98 wrote:
BoredOOMM wrote:
sunfizz98 wrote:

^ Yes, it's the craziest thing, but it fixed it.  Now the quesition is how to fix those box shaped letters (missing fonts?)

${font Liberation Sans Regular L:bold:size=8.25}${rss http://ws.audioscrobbler.com/1.0/user/s … tracks.rss 1 item_titles 5}

Nope, that didn't work either.  Where does conky find the fonts to use?

Could be one of a few things that I can think of...

1. the font doesn't like the character being displayed (ie not in the font)
2. do you have: override_utf8_locale yes somewhere above TEXT?
3. with conky v1.8.1-x the way spacing from scripts (bash, perl, python etc) are handled in a different way and this kind of stuff happens.

http://thumbnails59.imagebam.com/16246/ac9bec162457341.jpg

Oh the left a bash script for a vertical calendar, on the right a conkyForecast template when it was working.  Trying conky v1.8.0 might fix that.

Last edited by Sector11 (2011-12-02 20:30:04)

Re: December 2011 Conky Thread

^I do now and it is working marvellously

Last edited by sunfizz98 (2011-12-02 20:55:50)

Re: December 2011 Conky Thread

oppss never mind lol:lol::lol:

Last edited by dlm955 (2011-12-02 21:07:19)

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Re: December 2011 Conky Thread

Can somebody recommend me a good japanese font? kochi-gothic.ttf can render the japanese characters well, but it doesn't render the "-" correctly.

Re: December 2011 Conky Thread

sunfizz98 wrote:

Can somebody recommend me a good japanese font? kochi-gothic.ttf can render the japanese characters well, but it doesn't render the "-" correctly.

Your best bet would be johnraff

Re: December 2011 Conky Thread

sunfizz98 wrote:

^I do now and it is working marvellously

Your do now what?  There was a 1, 2 & 3 with a shot at v1.8.0  big_smile

Re: December 2011 Conky Thread

I did 2, then 1 after trying to get some japanese characters displayed.  I'm assuming that I have the latest conky from sid.

Re: December 2011 Conky Thread

dlm955 wrote:

oppss never mind lol:lol::lol:

Finally - I beat you to the answer.  big_smile

Re: December 2011 Conky Thread

sunfizz98 wrote:

I did 2, then 1 after trying to get some japanese characters displayed.  I'm assuming that I have the latest conky from sid.


conky --version will tell you and yea, if sid at least v1.8.1-5  that's what is in testing.