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.

Ubuntu VMware Workstation 2011 06 16 14 40 20 Copy1 How To Remove A Unity Lens In Ubuntu LinuxView in gallery

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.

Lens How To Remove A Unity Lens In Ubuntu LinuxView in gallery

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-14View in gallery

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.

View in gallery

[via Tech Drive-in]

  • G -oh

    thank you