Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Conky Helps and Stuff

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

Re: Conky Helps and Stuff

#161 Post by richb » Thu Jul 05, 2018 5:55 pm

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

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3011
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#162 Post by asqwerth » 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.
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
Forum Veteran
Forum Veteran
Posts: 5884
Joined: Wed Jul 12, 2006 2:10 am

Re: Conky Helps and Stuff

#163 Post by Eadwine Rose » Fri Jul 06, 2018 2:19 am

Going to give that one a try soon as well :)
MX-17.1_x64 Horizon 14-3-2018 * 4.15.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 384.130 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncM P2250 * HP F2280

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

Re: Conky Helps and Stuff

#164 Post by richb » Fri Jul 06, 2018 5:02 am

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

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

sunrat
Forum Regular
Forum Regular
Posts: 145
Joined: Mon Mar 28, 2016 9:54 pm

Re: Conky Helps and Stuff

#165 Post by sunrat » Fri Jul 06, 2018 10:04 am

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
Forum Veteran
Forum Veteran
Posts: 3011
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#166 Post by asqwerth » Fri Jul 06, 2018 10:45 am

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

sunrat
Forum Regular
Forum Regular
Posts: 145
Joined: Mon Mar 28, 2016 9:54 pm

Re: Conky Helps and Stuff

#167 Post by sunrat » Fri Jul 06, 2018 10:56 am

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.

User avatar
male
Forum Regular
Forum Regular
Posts: 175
Joined: Thu Jan 23, 2014 8:38 am

Re: Conky Helps and Stuff

#168 Post by male » Fri Jul 06, 2018 10:57 am

@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\
...
Male is the capital of the Maldives and its wonderful people.

User avatar
smilliken
Forum Guide
Forum Guide
Posts: 2115
Joined: Tue Feb 06, 2007 11:47 pm

Re: Conky Helps and Stuff

#169 Post by smilliken » Fri Jul 06, 2018 4:36 pm

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!
Panasonic Toughpad FZ-G1 - MX-17
Acer 7551G MX-17 | Dell 1525, MX17 & Win 10
HP DV4-1118 Mx17 & Win 10
HP CP1215/Brother DCP-7065DN
Linux User# 4523410

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3011
Joined: Sun May 27, 2007 5:37 am

Re: Conky Helps and Stuff

#170 Post by asqwerth » Fri Jul 06, 2018 11:35 pm

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”