Saturday, October 8, 2016

Installing Lotus Notes 9.0 on Ubuntu 16.04

Some information about this already available here. Here is the account of how I got it working on Ubuntu 16.04 64bit LTS system:

Step 1:

Please download the following two Lotus Notes packages from this link:

1. ibm-notes-9.0.i586.deb
2. ibm-sametime-9.0.i586.deb

Step 2:

You might need to add some repository to install 32-bit libraries.  So add the following repository into your "software sources"

deb raring main restricted universe multiverse

This might not be necessary as well. There is a blog here that says that you just need to do the following:

$ sudo dpkg --add-architecture i386
$ sudo apt-get update

Step 3:

Now install the following packages:

$ sudo apt-get install libart-2.0-2:i386 libasound2:i386 libatk1.0-0:i386 libavahi-client3:i386 libavahi-common3:i386 libavahi-glib1:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libc6:i386 libcairo2:i386 libcanberra0:i386 libcomerr2:i386 libcups2:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgail18:i386 libgcc1:i386 libgconf-2-4:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgnome2-0:i386 libgnomecanvas2-0:i386 libgnome-keyring0:i386 libgnomeui-0:i386 libgnomevfs2-0:i386 libgpg-error0:i386 libgssapi-krb5-2:i386 libgtk2.0-0:i386 libhunspell-1.3-0:i386 libice6:i386 libjpeg62:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 libltdl7:i386 libnspr4:i386 libnspr4-0d:i386 libnss3:i386 libnss3-1d:i386 libogg0:i386 liborbit2:i386 libp11-kit0:i386 libpam0g:i386 libpango1.0-0:i386 libpcre3:i386 libpixman-1-0:i386 libpng12-0:i386 libpopt0:i386 libselinux1:i386 libsm6:i386 libstdc++6:i386 libtasn1-6:i386 libtdb1:i386 libuuid1:i386 libvorbis0a:i386 libvorbisfile3:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxrandr2:i386 libxrender1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 zlib1g:i386 unity-gtk2-module:i386 libcanberra-gtk-module:i386 libxss1:i386 gtk2-engines-murrine:i386 p11-kit-modules:i386 libp11-kit-gnome-keyring:i386 ttf-xfree86-nonfree gdb iproute2 libgconf2-4:i386 libxkbfile1:i386 lib32ncurses5 lib32z1 libidl-2-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libasound2-plugins:i386 libgail-common:i386 overlay-scrollbar-gtk2 libgnome-desktop-3-12:i386 libatk-adaptor:i386 libgcrypt20:i386 libgnutls30:i386

Step 4:  Install the notes packages

$ sudo dpkg -i ibm-notes-9.0.i586.deb
$ sudo dpkg -i ibm-sametime-9.0.i586.deb

That's all.  It worked for me. 

Saturday, July 9, 2016

Fingerprint Sensor on Lenovo X240 Thinkpad on Ubuntu 14.04

OS: Ubuntu 14.04 64 bit LTS

The machine has a fingerprint reader from validity sensor:

$ lsusb
Bus 001 Device 011: ID 138a:0017 Validity Sensors, Inc. Fingerprint Reader

Option 1:

sudo add-apt-repository ppa:fingerprint/fingerprint-gui
sudo apt-get update
fingerprint-gui is little unstable and matching does not work all the time. 

Option 2: 

sudo add-apt-repository -y ppa:fingerprint/fprint
sudo apt-get update
sudo apt-get install libfprint0 fprint-demo libpam-fprintd gksu-polkit

You can test the sensor using fprint_demo and enroll your fingerprint using fprintd-enroll. 

Now you lock your screen using CTRL+ALT+L and try swiping your finger on the sensor when it glows green. 

Still you need to make couple of attempts to get a right scan and logging in one attempt. It takes several attempts to log in. 

You can also store multiple templates for the same finger using the labels for other fingers.

$ fprintd-enroll -f right-thumb
$ fprintd-enroll -f right-index-finger
$ fprintd-enroll -f right-middle-finger
$ fprintd-enroll -f right-ring-finger
$ fprintd-enroll -f right-little-finger

Another 5 templates can be stored for left hand labels.  Then try fprintd-verify

$ fprintd-verify
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: left-middle-finger
 - #1: right-ring-finger
 - #2: left-thumb
 - #3: right-little-finger
 - #4: right-thumb
 - #5: left-index-finger
 - #6: right-index-finger
 - #7: right-middle-finger
 - #8: left-little-finger
 - #9: left-ring-finger
Verify result: verify-match (done)

If you store the templates for index finger under all these labels, then the chances of match increases when you swipe your finger.


In order to make it work with login manager, you need to configure the PAM as well.  Hence, you need to install libpam-fprintd package. This is as per the instructions available on this page.

$ sudo apt-get install libpam-fprintd

Now check the common-auth file. It should show something similar as shown below:

$ grep fprint /etc/pam.d/common-auth
auth [success=3 default=ignore] timeout=10 # debug max_tries=5

Now run

$ fprintd-enroll

once you register your finger print. Just check this works for you

$ sudo apt-get update
Swipe your finger across the fingerprint reader

Or else, when you lock your screen with CTRL+ALT+L, it should ask you to swipe your finger. It works instantly with one swipe itself. 

Tuesday, December 30, 2014

Lenovo Thinkpad X240 Wifi Support for RealTek RTL8192EE on Ubuntu / Mint 17

Lenovo Thinkpad X240 comes with RealTek RTL8192EE chipset. Surprisingly the driver does not come built into Ubuntu 14.04 and earlier versions.  However this device is supported on Ubuntu 14.10 (Utopic Unicorn)

If you are using earlier version of Ubuntu or Linux Mint 17, the following instructions may help you

The bug is reported on Launchpad and some workarounds have been suggested:

One solution (see #38) is to download the OEM driver from the following link:

You can also download it from here:

or from here (local link)

unzip it .... compile it ... and insert it ... "make" should work  ...

Insert the module by using the following command:

$ sudo modprobe rtl8192ee
$ lsmod | grep rtl8192

Probably you need to reboot. Just try some of the following commands to configure your wifi:

$ sudo iwconfig
$ sudo lshw -C Network
$ sudo iwlist wlan0 scan
$ nm-tool

One problem that people have reported about this driver is that it drops connection every now and then. You need to reboot just to get it working again. This is really annoying. A workaround that works for me is to run the following command:

$ sudo killall NetworkManager

this kills and then restarts the network manager and it connects to the wifi again.

Monday, October 27, 2014

Installing ROS Indigo on Mint 17

Mint 17 is based on Ubuntu trusty and hence you can follow the instruction given below to install ROS-Indigo:

However, you need to make slight change in the name of repository to be added to your sources.list. The summary of instruction is as follows:

$ sudo sh -c '. /etc/lsb-release && echo "deb trusty main" > /etc/apt/sources.list.d/ros-latest.list' 

$ wget -O - | sudo apt-key add - 

$ sudo apt-get update 
$ sudo apt-get install ros-indigo-desktop-full

Basically replace $DISTRIB_CODENAME by 'trusty'. It is because the $DISTRIB_CODENAME for mint 17 is 'qiana' for which its 404 error. 

Sunday, October 26, 2014

APT-GET behind Proxy Server, BADSIG GPG Error or Mergelist problem

All these problems are related with your proxy settings.  I could not solve them either.  In this post, I am trying to collect all the solutions that have been suggested by others:

Common Error:

W: GPG error: trusty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key

The usual solution that works for me sometimes is as follows:

$ sudo rm -rf /var/lib/apt/lists/*
$ sudo apt-get update or
$ sudo apt-get update -o Acquire::BrokenProxy=True

You can ignore warnings and gpg errors. However, attempting to obtain the key does not work for me.

$ sudo apt-key adv --keyserver-options http-proxy= --keyserver --recv-keys 40976EAF437D05B5

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.eXfoRdf3Dx --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver-options http-proxy= --keyserver --recv-keys 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

Many have suggested to use the following command. This does not help either.

$ sudo apt-get update -o Acquire::BrokenProxy=True -o Acquire::http::No-Cache=True

Note that these problems do not arise if you are directly connected to the internet.

Tuesday, April 22, 2014

Installing Lotus Notes 9 on Ubuntu 14.04 64-bit LTS

The basics steps of installation are provided here. Basically, it is necessary to have i386 compatible libraries in order to install Lotus notes 9 on a 64-bit machine.

On Ubuntu 14.04 64-bit LTS, ia32-libs is not available. The support has been removed since 13.10. I used the instructions provided here to install ia32-libs. The steps are re-produced here for the sake of the convenience:

  1. Install Synaptic from terminal window
  2. sudo apt-get install synaptic
  3. Launch synaptic and goto “settings > Repositories”
  4. click “other software > add”
  5. insert this line in the box "deb raring main restricted universe multiverse"
  6. click ok and close synaptic
  7. in terminal “sudo apt-get update”
  8. in terminal “sudo apt-get install ia32-libs”

After that install the remaining i386 libraries

$ sudo apt-get update; sudo apt-get install ia32-libs libgnomeprint2.2-0:i386 libgnomeprintui2.2-0:i386 libbonobo2-0:i386 libbonoboui2-0:i386 libgconf2-4:i386 libgnome-desktop-2-17:i386 libgnomevfs2-bin:i386 libgnomeui-0:i386 libjpeg62:i386 libpam0g:i386 libxkbfile1:i386 ttf-xfree86-nonfree t1-xfree86-nonfree -y

While re-building the ibm-notes-9.0.i586 package, remove "libcupsys2" from its dependency list in the control file apart from those mentioned  previously on the above link. In other words, remove the following packages from the "Pre-Depends" line:

gdb, coreutils, unzip, bash, procps, grep, sed, libcupsys2

and rebuild the ibm-notes-9.0-i586.deb package.

$ sudo dpkg-deb -b ibm-notes-9.0.i586/

Now install the debian packages as shown below:

sudo dpkg -i ibm-notes-9.0.i586.deb
sudo dpkg -i ibm-cae-9.0.i586.deb
sudo dpkg -i ibm-feedreader-9.0.i586.deb
sudo dpkg -i ibm-activities-9.0.i586.deb
sudo dpkg -i ibm-sametime-9.0.i586.deb
sudo dpkg -i ibm-opensocial-9.0.i586.deb

I get dependency error while installing  'sametime' package. It is related to "iproute".

So I remove it from the control file within ibm-sametime-9.0.i586/DEBIAN and rebuild the package.

Now Lotus notes works perfectly without any problem.

Monday, March 17, 2014

Strikethrough in LibreOffice

Tools > Customize > Toolbars ==> Formatting; and then – Add (button) – Add Commands – Category: Format – Command: Strikethrough