Monthly Archives: December 2020


How to suspend Gnome Ubuntu 18.04LTS from top right menu

Recently, we were using the suspend option by searching option through the “Activities” menu. We were looking for alternatives for scenarios where we would not like to use a keyboard (e.g. on a touch-enabled screen).
After some quick testing we saw that when you long press the power button it turns into a Suspend button!!

In this video we can see that if you long press the power off button in the top right menu it will convert to the “Suspend” option!


Quick note on setting up our programming environment for Coursera.org “DeepLearning.AI TensorFlow Developer Professional Certificate” on Ubuntu 18.04LTS

Recently we were working on some local Jupyter notebooks for the “DeepLearning.AI TensorFlow Developer Professional Certificate“.

To prepare for the setup with GPU, we followed the instructions at https://www.tensorflow.org/install/gpu. But as we were going through the notebooks we noticed the following error at the terminal:

W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory

Even though libcublas.so.10 was installed it was not loading. Using find was saw that it was installed and available at the folder /usr/local/cuda-10.2/targets/x86_64-linux/lib/ but it was ignored.

To fix this, we added a new entry in ~/.profile as follows:

if [ -d "/usr/local/cuda-10.2/targets/x86_64-linux/lib/" ]; then
    export LD_LIBRARY_PATH=/usr/local/cuda-10.2/targets/x86_64-linux/lib/:${LD_LIBRARY_PATH}
fi

And then executed source ~/.profile from the terminal which we would start the jupyter-notebook command.

After this, library was loaded as expected.


Set Up OpenVPN Connect with .ovpn profile for Apple iOS (iPhone, iPad)

Search and install OpenVPN Connect from the App Store,
or download and install it from here:
https://apps.apple.com/us/app/open-vpn-connect/id590379981

After the OpenVPN Connect is installed, open the application and proceed to accept the data license agreement and configure your settings for the notifications.

In the past you could import a profile that was available on your device (e.g. if you had the .ovpn file in the Downloads folder) through the Files application.

Unfortunately, this is no more. If you press and hold the .ovpn configuration file and click on Share, you will not get the option Copy to OpenVPN

It appears that you either need to do this through iTunes or an email that arrives to the Mail application! If the email arrives to another mail client it will not work..

The configuration profile will now be opened in OpenVPN Connect.
Click on Add.

And the click on Add again:

Click on Allow so that the OpenVPN Connect application will be able to create the necessary VPN configurations.

After this step, the profile should be operational and working properly.