Steps to solve easily (tested in Ubuntu 14.04)
1- run gedit without root 2- click open file menu and press Ctrl+H 3- open file ~/.config/autostart/cairo-dock.desktop 3- add this X-GNOME-Autostart-Delay=20 4- save and close 5- reboot your unity/gnome
Steps to solve easily (tested in Ubuntu 14.04)
1- run gedit without root autostart/ cairo-dock. desktop Autostart- Delay=20
2- click open file menu and press Ctrl+H
3- open file ~/.config/
3- add this
X-GNOME-
4- save and close
5- reboot your unity/gnome