MATE weather applet on Ubuntu 18.04 not working. This is how to fix it.

The MATE weather applet on Ubuntu 18.04 was not working on my Ubuntu 18.04 installation. This is how I fixed it with a simple patch. sudo sed -i ‘s|https://www.aviationweather.gov/adds/dataserver_current/httpparam|https://www.aviationweather.gov/adds/dataserver1_3/httpparam\x0\x0\x0\x0\x0|’ /usr/lib/x86_64-linux-gnu/libmateweather.so.1sudo sed -i ‘s|https://www.aviationweather.gov/adds/dataserver_current/httpparam|https://www.aviationweather.gov/adds/dataserver1_3/httpparam\x0\x0\x0\x0\x0|’ /usr/lib/x86_64-linux-gnu/libmateweather.so.1 The patch above will fix the libmateweather library. Then the applet will work. Log out and…

Read More

Interesting Linux commands that might be very useful.

List only directories with the Linux command line. This lists a directory with all folders listed first, then return only the listing of folders in the directory. 4.4 Tue Oct 09 jason@Yog-Sothoth 0: $ ls –color=auto –group-directories-first -Hul | head -n `echo */ | wc -w` total 3866624 drwxrwxrwx+ 6…

Read More

How to get weather information with curl on Linux.

The curl command on Linux may be used to get weather information from the Internet. The curl wttr.in/”new york” command will retrieve weather information from wttr.in. [jason@darknet:~] curl wttr.in/"new york" Weather for City: New York, United States of America   \ / Clear .-. 6 – 8 °C ― (…

Read More