Monday, September 29, 2014

Ubuntu && Python: Solving "ImportError: No module named OpenSSL"

In order to easily solve the following Python import error on Ubuntu systems:
ImportError: No module named OpenSSL

You can install the relevant package using the following command:
$ sudo apt-get install python-openssl
 The other option would be to install the OpenSSL paackage using Python's pip:
$ sudo pip install pyOpenSSL

Good luck!
- Tal Kain

Saturday, September 27, 2014

Ubuntu and Gnome: Moving the Close, Maximize and Minimize buttons to the right corner.

A quick tip:

One of the first things that I do after setting a new Ubuntu system is changing the location of the Close && Minimize && Maximize buttons to be on the right side of the window.

There are several ways to achieve this, but the simplest way is using the command line, running the following command:

gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
(The colon should be on the left side of the string)