Unity Lenses Missing (files/folders, applications)

The File & Folders lens and default Applications lens is missing from my dock. How can I get them back?

I attempted the guide here: http://www.webupd8.org/2011/04/how-to-reset-unity-launcher-icons-or.html

All the icons came back except the two missing lenses. unity-place-applications and unity-place-files are both currently installed.


Solution 1:

  • Make sure you have those packages installed:

    unity-lens-applications
    unity-lens-files
    
  • Make sure you have those two files in /usr/share/unity/lenses:

    applications.lens
    files.lens
    
  • If it still doesn't work, try to reinstall the two packages:

    sudo apt-get purge unity-lens-applications unity-lens-files
    sudo apt-get install unity-lens-applications unity-lens-files
    
  • If it still doesn't work, I suggest reporting a bug report:

    ubuntu-bug unity # if unity is the wrong package, others will fix it