Image 01
profile-image

PSchwarz

Patrick Schwarz ENOLA, United States
UI Screen

Conky by Met 6 comments

Is it safe to assume that the UI will always say "NO DATA" for MEMIO? I figure since it's that way in your png that it will always be that way. No problem if it is. - Aug 10 2019
UI Screen

Conky by Met 6 comments

+ - Jan 12 2019
Sci-Fi HUD

Conky by Met 66 comments

It's the same as it was before I installed sun java. - Jul 28 2018
Sci-Fi HUD

Conky by Met 66 comments

pschwarz@pschwarz-MS-7693 ~ $ javac -version
javac 1.8.0_181
pschwarz@pschwarz-MS-7693 ~ $ - Jul 28 2018
Sci-Fi HUD

Conky by Met 66 comments

pschwarz@pschwarz-MS-7693 ~ $ java -showversion
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) - Jul 28 2018
Sci-Fi HUD

Conky by Met 66 comments

pschwarz@pschwarz-MS-7693 ~ $ java --version
openjdk 10.0.1 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
pschwarz@pschwarz-MS-7693 ~ $ - Jul 28 2018
Sci-Fi HUD

Conky by Met 66 comments

pschwarz@pschwarz-MS-7693 ~ $ sudo apt-get install conky-all
[sudo] password for pschwarz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
conky-all is already the newest version (1.10.8-1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
pschwarz@pschwarz-MS-7693 ~ $
- Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

cache $ cat forecast.json
{"cod":"200","message":0.0053,"cnt":5,"list":[{"dt":1532725200,"main":{"temp":85.57,"temp_min":84.38,"temp_max":85.57,"pressure":1006.85,"sea_level":1027.14,"grnd_level":1006.85,"humidity":63,"temp_kf":0.66},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":64},"wind":{"speed":4.72,"deg":244.501},"rain":{"3h":0.03},"sys":{"pod":"d"},"dt_txt":"2018-07-27 21:00:00"},{"dt":1532736000,"main":{"temp":69.39,"temp_min":68.6,"temp_max":69.39,"pressure":1008.96,"sea_level":1029.06,"grnd_level":1008.96,"humidity":100,"temp_kf":0.44},"weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10n"}],"clouds":{"all":88},"wind":{"speed":2.15,"deg":83.5006},"rain":{"3h":3.545},"sys":{"pod":"n"},"dt_txt":"2018-07-28 00:00:00"},{"dt":1532746800,"main":{"temp":67.68,"temp_min":67.28,"temp_max":67.68,"pressure":1009.3,"sea_level":1029.65,"grnd_level":1009.3,"humidity":99,"temp_kf":0.22},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":56},"wind":{"speed":2.48,"deg":312.501},"rain":{"3h":0.33},"sys":{"pod":"n"},"dt_txt":"2018-07-28 03:00:00"},{"dt":1532757600,"main":{"temp":66.59,"temp_min":66.59,"temp_max":66.59,"pressure":1009.12,"sea_level":1029.51,"grnd_level":1009.12,"humidity":100,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":64},"wind":{"speed":2.71,"deg":28.5045},"rain":{"3h":0.805},"sys":{"pod":"n"},"dt_txt":"2018-07-28 06:00:00"},{"dt":1532768400,"main":{"temp":65.2,"temp_min":65.2,"temp_max":65.2,"pressure":1008.89,"sea_level":1029.18,"grnd_level":1008.89,"humidity":100,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":76},"wind":{"speed":2.51,"deg":229.5},"rain":{"3h":0.02},"sys":{"pod":"n"},"dt_txt":"2018-07-28 09:00:00"}],"city":{"id":5192726,"name":"Harrisburg","coord":{"lat":40.2737,"lon":-76.8845},"country":"US"}}pschwarz@pschwarz-MS-7693 ~/.cache $ - Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

pschwarz@pschwarz-MS-7693 ~/.cache $ cat weather.json
{"coord":{"lon":-76.88,"lat":40.27},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"base":"stations","main":{"temp":84.47,"pressure":1015,"humidity":55,"temp_min":78.8,"temp_max":87.8},"visibility":16093,"wind":{"speed":6.93,"deg":160},"clouds":{"all":20},"dt":1532714160,"sys":{"type":1,"id":2348,"message":0.0045,"country":"US","sunrise":1532685682,"sunset":1532737567},"id":5192726,"name":"Harrisburg","cod":200}pschwarz@pschwarz-MS-7693 ~/.cache $ - Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

LOL yeah nice. Wish mine looked like that. - Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

Thank you. - Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

ok it's in English now but still zeros in the forecast. - Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

zeros. https://imgur.com/gallery/UHkX5RX - Jul 27 2018
Sci-Fi HUD

Conky by Met 66 comments

yes the current status works perfect. The forecast downloads but doesn't display. - Jul 26 2018
Sci-Fi HUD

Conky by Met 66 comments

ok I fixed the API error by removing daily from your url and made it this. it pulls data and puts it in forecast.json but conky doesn't display it.

${execi 300 l=${template9}; l=${l%%_*}; curl -s "api.openweathermap.org/data/2.5/forecast?APPID=${template6}&id=${template7}&cnt=5&units=${template8}&lang=$l" -o ~/.cache/forecast.json}\ - Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

when I rewrite the url for forcast and open it in a browser the output I get looks find but weather.rc gets an error about the API key. this is the link I'm using in the browser

http://api.openweathermap.org/data/2.5/weather?id=5192726&appid=ed85595a7d82f64ac7222f4513594c4e - Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

this is the contents of forecast.json in .cache

{"cod":401, "message": "Invalid API key. Please see http://openweathermap.org/faq#error401 for more info."}

weather.json is normal. - Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

oh and a neverending supply of this one

value retrieved from conky: 3626 is bigger than max: 3200, value is set to max. - Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: window type - normal
conky: drawing to created window (0x5600002)
conky: drawing to double buffer
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: forked to background, pid is 24937
conky: window type - normal
conky: drawing to created window (0x5800002)
conky: drawing to double buffer
conky: forked to background, pid is 24938
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: window type - normal
conky: drawing to created window (0x5a00002)
conky: drawing to double buffer
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: forked to background, pid is 24939

conky: window type - normal
conky: drawing to created window (0x6000002)
conky: drawing to double buffer
conky: forked to background, pid is 24940



cp: cannot stat '/home/pschwarz/.conky/weather/null.png': No such file or directory
cp: cannot stat '/home/pschwarz/.conky/weather/null.png': No such file or directory
cp: cannot stat '/home/pschwarz/.conky/weather/null.png': No such file or directory
cp: cannot stat '/home/pschwarz/.conky/weather/null.png': No such file or directory
cp: cannot stat '/home/pschwarz/.conky/weather/null.png': No such file or directory
conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: window type - normal
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: drawing to created window (0x6200002)
conky: drawing to double buffer
conky: window type - normal
conky: drawing to created window (0x6400002)
conky: forked to background, pid is 25083
conky: drawing to double buffer
conky: forked to background, pid is 25084
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: desktop window (3c0002c) is subwindow of root window (5d6)
conky: window type - normal
conky: window type - normal
conky: drawing to created window (0x6800002)
conky: drawing to created window (0x6a00002)
conky: drawing to double buffer
conky: drawing to double buffer
conky: forked to background, pid is 25085
conky: forked to background, pid is 25086




sh: 1: nvidia-smi: not found
sh: 1: nvidia-smi: not found
sh: 1: sh: 1: kf5-config: not found
kf5-config: not found
- Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

-------------------------------------
-- API Key
-------------------------------------
template6="ed85595a7d82f64ac7222f4513594c4e",


-------------------------------------
-- City ID
-------------------------------------
template7="5192726",


-------------------------------------
-- Temp Unit (default, metric, imperial)
-------------------------------------
template8="imperial", - Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

Reading package lists... Done
Building dependency tree
Reading state information... Done
jq is already the newest version (1.5+dfsg-2).
The following packages were automatically installed and are no longer required:
libdbi1 librrd4 linux-headers-4.15.0-23 linux-headers-4.15.0-23-generic
linux-image-4.15.0-23-generic linux-modules-4.15.0-23-generic
linux-modules-extra-4.15.0-23-generic ntop-data python-bluez
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
pschwarz@pschwarz-MS-7693 ~ $
- Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

The nice support folks at open weather sent me this but I don't know what to do with it. Maybe it will help you.

This link is for current weather data.

This one is for forecast:

http://api.openweathermap.org/data/2.5/forecast?id=5192726&appid=ed85595a7d82f64ac7222f4513594c4e

Best Regards,
Gushcho Maxim
Technical Support Engineer
OpenWeatherMap inc
- Jul 25 2018
Sci-Fi HUD

Conky by Met 66 comments

I have.

-------------------------------------
-- API Key
-------------------------------------
template6="ed85595a7d82f64ac7222f4513594c4e",


-------------------------------------
-- City ID
-------------------------------------
template7="5192726",
- Jul 24 2018
Sci-Fi HUD

Conky by Met 66 comments

Beautiful piece of work sir. After many hours of working with your code I've given up on getting weather forecasts to work. I get current weather data but no forecast data. weather.json says I have an invalid API but I've verified that it is indeed valid or I wouldn't get current weather data.
- Jul 24 2018
Sci-Fi HUD

Conky by Met 66 comments

+ - Jul 23 2018
yes the screen resolutions are reported correctly and the driver is also correctly reported. I guess we wait on radeontop for now. - Feb 23 2018
Beautiful. No fan speed or gpu usage stats. I think more then anything that is due to radeontop no supporting my Rx-480 yet. - Feb 22 2018
pschwarz@pschwarz-MS-7693 ~ $ radeontop
Cannot access GPU registers, are you root?
pschwarz@pschwarz-MS-7693 ~ $ sudo radeontop
Kernel too old for VRAM reporting.
Unknown Radeon card. <= R500 won't work, new cards might.
Collecting data, please wait.... - Feb 19 2018
lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev c7) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3415
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at fea00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities:
Kernel driver in use: amdgpu
Kernel modules: amdgpu

sudo lshw -C displaylshw -C display
[sudo] password for pschwarz:
*-display
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:47 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:fea00000-fea3ffff memory:c0000-dffff

pschwarz@pschwarz-MS-7693 ~ $ inxi -G
Graphics: Card: Advanced Micro Devices [AMD/ATI] Device 67df
Display Server: X.Org 1.18.4 drivers: ati,amdgpu (unloaded: fbdev,vesa,radeon)
Resolution: 1920x1080@60.00hz, 1600x900@60.00hz
GLX Renderer: AMD Radeon RX 480 Graphics (AMD POLARIS10 / DRM 3.23.0 / 4.15.0-041500-generic, LLVM 5.0.0)
GLX Version: 3.0 Mesa 17.2.8

pschwarz@pschwarz-MS-7693 ~ $ for I in `lspci |awk '/VGA/{print $1}'`;do lspci -v -s $I;done
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev c7) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3415
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at fea00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities:
Kernel driver in use: amdgpu
Kernel modules: amdgpu - Feb 17 2018
No to the best of my memory I just have the Kernel mod for amdgpu installed. I've played with the AMD pro driver but it broke Kodi and I switched back to the open driver.
- Feb 13 2018
sorry for taking so long to reply. I don't have aticonfig since I'm running a RX-480 using the AMDGPU open drivers and not the AMD legacy drivers. - Feb 09 2018
very nice. AMD Radeon support would be nice. - Dec 14 2017
UI Screen

Conky
by Met

5.7
Jan 12 2019
Sci-Fi HUD

Conky
by Met

7.0
Jul 23 2018
UI Screen

Conky
by Met

5.7
9   Jan 12 2019
+
Sci-Fi HUD

Conky
by Met

7.0
9   Jul 23 2018
+
8.0
9   Dec 14 2017
very nice. AMD Radeon support would be nice.