Page 17 of 35

Re: Conky Helps and Stuff

Posted: Thu Jul 05, 2018 5:55 pm
by richb
Eadwine Rose wrote: Thu Jul 05, 2018 2:04 pm Crazy idea.. change the city? See what gives?

Too bad you couldn't get it working Rich!
No go. That is OK. The weather widget is quite good., and reliable.

Re: Conky Helps and Stuff

Posted: Thu Jul 05, 2018 11:57 pm
by asqwerth
Did you try my weather conky that makes use of the openweathermap.org weather information?

https://forum.mxlinux.org/viewtopic.php ... 90#p452190

That one should work without issue.

Instructions in my forum post linked to above.

You can edit the conky to remove all the text stuff below the weather display.

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 2:19 am
by Eadwine Rose
Going to give that one a try soon as well :)

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 5:02 am
by richb
I haven't tried that one. Maybe a weekend project.

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 10:04 am
by sunrat
Damn you guys, got me sucked into playing with Conky again. Got wttr.in showing now. :happy:

On a side note, I tried to get CPU to show by calling inxi. Not sure if it's easier than lscpu but output is tidy. The command pipe works in terminal but wouldn't work with exec in Conky. Any ideas?
Here is terminal with output:

Code: Select all

$ /usr/bin/inxi -C |grep -A 1 CPU |awk -F : '{ print $4}' |sed s/\ bits//
 Intel Core2 Duo E8500

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 10:45 am
by asqwerth
This is from MX-ComputerLove conky:

Code: Select all

${color1}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-26}

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 10:56 am
by sunrat
Thanks asqwerth. I just spent the last half hour trying to get this happening and ended up with this:

Code: Select all

${exec lscpu |grep "Model name:" |awk -F : '{ print $2}' |sed 's/(R)//g;s/(TM)//g;s/CPU     //g'}
It shows

Code: Select all

 Intel Core2 Duo E8500  @ 3.16GHz
It removes the annoying (R) and (TM), and also shows the cpu model and speed capacity. Also uses "exec" instead of "execi" as it doesn't need to update. Win win in my book!

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 10:57 am
by male
@richb

I looked at your configuration (everything is moved and I don't want to fix it again)
Your update problem comes through:

Code: Select all

...
${voffset -95}
${goto 20}${tztime GMT+1 %I %p}\
${goto 95}${tztime GMT %I %p}\
...
you removed the first line instead of the last line. How does Conky know what you want? Besides, your location time is wrong. In my opinion, it should look like this:

Code: Select all

...
${goto 20}${time %I %p}PM\
${goto 95}${tztime GMT-3 %I %p}PM\
...

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 4:36 pm
by smilliken
asqwerth wrote: Thu Jul 05, 2018 11:57 pm Did you try my weather conky that makes use of the openweathermap.org weather information?

https://forum.mxlinux.org/viewtopic.php ... 90#p452190

That one should work without issue.

Instructions in my forum post linked to above.

You can edit the conky to remove all the text stuff below the weather display.
Any reason the conky flickers and shows no info? placed my api and location in the first two lines. Made sure the fonts were installed, which one wasn't. Have used the killall command and rebooted.
Screenshot-5.png

Re: Conky Helps and Stuff

Posted: Fri Jul 06, 2018 11:35 pm
by asqwerth
Did you download the archive file attached to my post and extract it to your home folder?

Run conky from terminal to see the error messages.

[added] or you didn't install jq and /or curl.