Topic: Conky Help

Problems with conky this is the place for your questions smile


(now if someone could make this sticky)

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Conky Help

Nice idea Hanna. Stuck smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Conky Help

Say thanks to kBang  smile (I just created the thread). And this is the end of the nonsense in this thread. tongue

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Conky Help

Hanna wrote:

Say thanks to kBang  smile (I just created the thread).

Oh okay, I haven't looked at the other thread for a while.  Thanks kBang smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Conky Help

from charlie01 on the other thread:

charlie01 wrote:

Ive got a question,,,I use a mobil broadband card that id like to show up and down in my Network with my Conky.
I havent been able to figure out how to do this.
Its a Pantech PX-500 Sprint PCMCIA card.

Any Ideas would be apreciated.

ive tried a few options (using ppp0 within the "${wireless_link_qual ra0}%")
but to no avail, so if anyone has a better idea, can the signal strength even be found out (as it has GAM/HSDPA modes!)?

update: i have managed to get the download speed working now with

3Mobile: -${downspeed ppp0}kb/s - ${downspeedgraph ppp0}

Last edited by crunchy fox (2009-04-02 10:27:42)

Crunchy Fox - making it up as i go along!
----------------------------------------------------
#! on a 2g, 901 (eeepc), server & D800 dell

Re: Conky Help

First of all apologies if i previously posted my question in the wrong place...
let's see if now I can do some clean up wink

one of the first things I needed when I started using crunchbang was the possibility of switching between keyboard layouts.

this was solved thanks to AlexelA in one of the crunchbang forums
http://crunchbanglinux.org/forums/post/4302/#p4302

next question was to have a layout indicator, I don't have a panel and I thought that conky could have done the job.

I posted my request on the "show my conky" forum and I got this suggestion from Escapado:
http://crunchbanglinux.org/forums/post/15542/#p15542

ESCAPADO wrote:
setxkbmap -v 7 | grep layout | awk '{print $2}'

prints out the layout - de in my case

to put it in your conky use or try that string:

${exec 10 setxkbmap -v 7 | grep layout | awk '{print $2}'}

it does work, I mean it does display the keyboard layout in conky
I had to use:
${execi 1 setxkbmap -v 7 | grep layout | awk '{print $2}'} instead of what suggested
but somehow it causes random crashes on my computer, i cannot use the keyboard, monitor goes black the only way out I know is to shut down.

So at the moment I have no layout indicator I understand it is not a big thing, I can live without layout indicator, but it would be nice anyway to understand what the problem is for future reference.
Anybody knows where the problem is?

I hope I didn't create too much confusion...sorry if I did,


thanks for your help

M

Re: Conky Help

the 'execi 1' part in your code is telling conky to execute the code every 1 sec. (execute with interval 1)
if your conky also refreshes in 1 second, it might be the cause of your problem

the value after execi should be higher than the 'refreshrate' of conky

you might try changing the 1 into a 2, and see if that helps\

edit: changed typo

Last edited by pitje (2009-04-02 15:22:29)

laptop: asus zenbook UX31 [debian wheezy, kernel 3.3.0-rc7-custom]
tablet: acer iconia a500 [honeycomb]
home: C2D E8500, 4GB RAM, 74GB Raptor HDD + 2.5TB in various HDD [debian squeeze, liquorix kernel]

Re: Conky Help

Thanks Pitje,

I did change the interval from 10 down to 1, because I wanted an immediate "refresh" of the keyboard layout indicator, when I had 10 seconds if I was unlucky I had to wait  9sec for it to update, I also tried to have the interval 1 sec and refresh of conky to 10 but this ended up in a nice black screen and had to reboot big_smile

thanks

m

Re: Conky Help

crunchy fox wrote:

from charlie01 on the other thread:

charlie01 wrote:

Ive got a question,,,I use a mobil broadband card that id like to show up and down in my Network with my Conky.
I havent been able to figure out how to do this.
Its a Pantech PX-500 Sprint PCMCIA card.

Any Ideas would be apreciated.

ive tried a few options (using ppp0 within the "${wireless_link_qual ra0}%")
but to no avail, so if anyone has a better idea, can the signal strength even be found out (as it has GAM/HSDPA modes!)?

update: i have managed to get the download speed working now with

3Mobile: -${downspeed ppp0}kb/s - ${downspeedgraph ppp0}

Thanks Crunchy,,,I tried that and it works well...Would it be as simple as writing upload in the places were download is,,I tried that and i got the two graphs working,,And they are reading different.
This is how i did it,,,,Im still not sure if my ups and downs are correct,,,LOL

3Mobile: -${downspeed ppp0}kb/s - ${downspeedgraph ppp0}

    ${upspeed ppp0}kb/s - ${upspeedgraph ppp0}

I tested the download and upload and it seems to work.,,,Thanks for the script.
I used www.speedtest.net

Last edited by charlie01 (2009-04-03 01:30:18)

Re: Conky Help

Hey Hanna, can you do a tutorial on how to get a desktop like yours ?

http://i42.tinypic.com/v46v4m.jpg

Re: Conky Help

All the different conky's use this font or that...always have a hard time finding the right one....why not start a font repository that people can upload their fonts to.....make life easier for alot of folks. Just an idea...

smile

Re: Conky Help

Hi,

I'm wanting my conky set up to have a semi-transparent background as opposed to no background or a soid colour. Is there a way that I can set the alpha value of the background?

Re: Conky Help

toasty mofo wrote:

Hi,

I'm wanting my conky set up to have a semi-transparent background as opposed to no background or a soid colour. Is there a way that I can set the alpha value of the background?

I don't think conky can do semi-transparent without an compositor like Compiz or xcompmgr.  I may be wrong?

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

kBang wrote:

[...]I may be wrong?

what about :

xftalpha      Alpha of Xft font. Must be a value at or between 1 and 0.

?

but i can't see any difference to the output while playing with that value?!

Re: Conky Help

ESCAPADO wrote:
kBang wrote:

[...]I may be wrong?

what about :

xftalpha      Alpha of Xft font. Must be a value at or between 1 and 0.

?

but i can't see any difference to the output while playing with that value?!

Try playing with it when you have a compositor active?  smile

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

I know I'm probably the billionth person or so to have a question about conkyForecast, but here it goes... I've managed to install ConkyForecast, however, I do have a display issue with the weather font, and yes, I did try copying the fonts to my .fonts directory and I ran fc-cache.

The issue is that the display is only partially correct.  Eventually I want to tweak the .conkyrc file and make it my own, but, for the time being, I basically copied the .conkyrc file from Trouble'n'Strife from the "My Conky Config" thread.  Instead of getting the graphic image of a thermometer, followed by the temperature, I get the letter "y" followed by the temperature.  However, after the temperature, I do get the weatherfont forecast, so I know that the font is installed.  I also get the correct moon phase picture too.  For some reason, though, instead of a picture of a thermometer, I get a letter "y."

Any ideas?  If you need me to post a screenshot I will, although if you go to Trouble'N'Strife's post in the My Conky Config thread and look at her screenshot, just pretend there's a letter "y" where the thermometer is and that's what I see smile

- Al

>>> Edit -- After I posted this question, I looked at the .conkyrc script.  I realized that the reason I got the letter "y" was because, while I *do* have the conkyWeather font installed on my computer (since it came with conkyForecast), I do not have the "weather" font...  So, it is an issue of a missing font after all.  Where do I get the weather font?

>>> Edit 2 -- I did some searching and found another post on the "Help & Support" board from December directing another user to the conkycolors tarball that's available on gome-look.  I downloaded the file and extracted the weather font to my /~/.fonts directory, and restarted conky and problem solved.  Seeing as I solved my problem in minutes after posting this message, I considered just deleting this post from the thread, however, I think I'll leave it up, to inspire other noobs to truly utilize the search feature before asking questions that have already been answered.  Of course, if the mods disagree about the "inspirational" nature of this post, they can remove it. big_smile

Last edited by almigi (2009-04-13 16:19:04)

Re: Conky Help

almigi wrote:

Where do I get the weather font?

At the very bottom of this post is the archive conkyforecast, inside that archive is a font folder, you can find the fonts in that.  This archive is nearly a year old so it may not be the most current form of the script, but it likely is.  Just get the fonts out of it.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

kBang wrote:
almigi wrote:

Where do I get the weather font?

At the very bottom of this post is the archive conkyforecast, inside that archive is a font folder, you can find the fonts in that.  This archive is nearly a year old so it may not be the most current form of the script, but it likely is.  Just get the fonts out of it.

Thanks for your reply, Kbang.

When I installed conkyForecast the otherday, I just followed the instructions on the script creator's website (www.kaivalagi.com) and added the necessary repositories to my sources.list file and did a sudo apt-get install conkyforecast.  This installed conkyForecast and a few fonts like conkyweather and moonphases, but conkyweather and weather are two different fonts.

I eventually found the post in the "Help & Support" forum where somone asked almost the same thing, and they were told to download the conkycolors tarbell from gnome-look.org.  In that tarbell, I saw the weather font, and just extracted that one file to my .fonts directory, and that solved my problem.

- Al

Re: Conky Help

Removing the shadows from a transparent conky when a compositor is enabled:

How do I do that or can I?

http://omploader.org/tMWphag

I can't remember if I could or ever did.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

kBang wrote:

Removing the shadows from a transparent conky when a compositor is enabled:

How do I do that or can I?

http://omploader.org/tMWphag

I can't remember if I could or ever did.

I don't know if this will help you but in compiz I just added to the window shadow line: (any) & !(class=Conky)

Re: Conky Help

patrickstein wrote:
kBang wrote:

Removing the shadows from a transparent conky when a compositor is enabled:

How do I do that or can I?

http://omploader.org/tMWphag

I can't remember if I could or ever did.

I don't know if this will help you but in compiz I just added to the window shadow line: (any) & !(class=Conky)

Yeah there are ways around it in Compiz, I am looking for a way around it in conky.  If I can't figure one out I will switch to compiz I guess, losing right click menu goodness though...

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

Just a silly question if somebody already think about it:

For the weather forecast, is it possible to have something automatically at the right place with the ip address for example ?

Re: Conky Help

For those interested. Started by Bruce M. from Ubuntu forums and the mega large 6500+ post thread on Conky scripts/configs.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Conky Help

kBang wrote:

Removing the shadows from a transparent conky when a compositor is enabled:

How do I do that or can I?

http://omploader.org/tMWphag

I can't remember if I could or ever did.

# Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

I don't remember which one of these it was, but I have this in my conkyrc and no shadows.

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Conky Help

I have another conkyForecast question (and this time I searched for answers BEFORE asking big_smile )....

For the current temperature, one uses conkyForecast --location=WHERE --datatype=HT (and --imperial if you want Fahrenheit) if I am not mistaken.  However, on my computer right now, the output I am getting for my location (USOH01095... Cleveland, Ohio, USA)  is 43 degrees Fahrenheit (that's 6 degrees Celsius).   However, if I actually go to weather.com, or look at my cellphone (I have it set up to give me current conditions when I open it up), the temperature is actually about 36 degrees Fahrenheit.  I've considered the possibility that using HT I'm getting the forecast for the high temp, however, today's forecast for Cleveland, Ohio is for a high temperature above 60 degrees.  I can't figure out where the 43 degrees is coming from.

Another possibility I've considered is that the temperature reflected being pulled from a different source (different location in the city).  Whenever I do a search for "Cleveland, Ohio" in weather.com (not for location code purposes), it does give me a few different options (temperature at two different airports in the city, plus a third option elsewhere in the city).  Each one though, had a temperature under 40 degrees.

Any ideas?

Last edited by almigi (2009-04-17 11:37:28)