How To Remove A Unity Lens In Ubuntu Linux


Unity lens are an interesting way of enhancing the functionality of the Unity Launcher. For example, we reviewed the Unity Place File Search Lens which enables quick search of files and folders. Similarly, the Gwibber Lens enables checking for Gwibber updates from the Dash. While it can be fun to add lens to the Unity, what happens when you add too many lens which clutter up the launcher? In this post we will look at how to uninstall a lens from the Unity Launcher.


To begin, enter the following path in the Terminal.

gksudo nautilus /usr/share/unity/places

This will open the directory containing all the installed lens.


Open the file of a lens that you wish to delete e.g. “gwibber. place” and paste the following below “Shortcut=..”. For example, if you are removing the gwibber lens, the line will look like “Shortcut=g”.


Restart Unity, hit enter  ALT+F2, enter the following in the Dash and click on Unity—replace.

unity --replace

Ubuntu - VMware Workstation_2011-06-17_15-46-14

Now log off and log back in for the changes to take effect. Your Unity Lens will be removed from the Launcher. In this case the lens many not have been completely removed from the system. Head over to the Ubuntu Software Center and type the initials of the lens name to find and remove it completely.

[via Tech Drive-in]

  • G -oh

    thank you