Answer to my own question:
It can be done by editing the source code and remove the lines that are used to show the launcher.
I edited the files and recompiled the package. You don't have to reinstall the complete package, it can be done by replacing only one file.
Download the file with given link and replace the file
/usr/lib/x86_64-linux-gnu/compiz/libunityshell.so with downloaded file.
Backup the file before replacing.
Set the launcher in autohide mode and restart your pc.
After restart :
- No launcher revealing when you move mouse pointer to left side.
- No launcher wake up while launching unity dash.
- No icon popped out from launcher while minimizing an application.
Means, this will completely disable the unity launcher.
This package is compiled in ubuntu 16.04 (x64) Unity 7.4.0. It works fine for me.
For other than Ubuntu 16.04 (x64) Unity 7.4.0 use the following link
Compile Unity without launcher
It is not working with unity 7.4.5