Conky Helps and Stuff

Message
Author
User avatar
richb
Administrator
Posts: 10322
Joined: Wed Jul 12, 2006 2:17 pm

Re: Conky Helps and Stuff

#161 Post 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.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
asqwerth
Developer
Posts: 7210
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#162 Post 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.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Eadwine Rose
Administrator
Posts: 11894
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky Helps and Stuff

#163 Post by Eadwine Rose »

Going to give that one a try soon as well :)
MX-23.2_x64 July 31 2023 * 6.1.0-18-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
richb
Administrator
Posts: 10322
Joined: Wed Jul 12, 2006 2:17 pm

Re: Conky Helps and Stuff

#164 Post by richb »

I haven't tried that one. Maybe a weekend project.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
sunrat
Posts: 636
Joined: Mon Mar 28, 2016 9:54 pm

Re: Conky Helps and Stuff

#165 Post 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

User avatar
asqwerth
Developer
Posts: 7210
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#166 Post 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}
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
sunrat
Posts: 636
Joined: Mon Mar 28, 2016 9:54 pm

Re: Conky Helps and Stuff

#167 Post 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!
Last edited by sunrat on Fri Jul 06, 2018 7:11 pm, edited 2 times in total.

male

Re: Conky Helps and Stuff

#168 Post 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\
...

User avatar
smilliken
Posts: 206
Joined: Tue Feb 06, 2007 11:47 pm

Re: Conky Helps and Stuff

#169 Post 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
You do not have the required permissions to view the files attached to this post.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
asqwerth
Developer
Posts: 7210
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#170 Post 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.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “Software / Configuration”