Many people use dock in ubuntu (unity) so they want to disable unity launcher. If you use autohide method, then there are two problems with this method:
While opening unity dash by pressing the Super key, launcher reveals.
While minimizing an application, app icon pops out from left side of the hidden launcher.
There is no way to disable unity launcher without changing source and recompiling it. 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.
Warning : Only for Ubuntu 16.04 (x86_64) Unity 7.4.0
Download the file from here and replace the file
/usr/lib/x86_64-linux-gnu/compiz/libunityshell.so with downloaded file.
Backup the file before replacing.
Set the launcher to autohide mode and restart the pc.
After restart :
- No launcher revealing when you move mouse pointer to left side.
- No launcher wake up while launching unity dash.
- No icon popping out from launcher while minimizing an application.
Means, this will completely disable the unity launcher.
In case if anything goes wrong, restore the backup.
For other than Ubuntu 16.04 (x64) Unity 7.4.0, use this link