Ubuntu – How to remove Unity web apps

unitywebapps

I recently installed Ubuntu and all has been great, except for the web apps feature.

I've tried adding a few web apps, but it's very buggy and not a very good experience. I'm also tired of being asked to add a website as an web app. How can I remove web apps from Ubuntu entirely? I use both Chromium and Firefox.

Best Answer

Ubuntu 13.10 and 14.04

To avoid being asked for webapp integration you can use the following command, open a Terminal (Ctrl+Alt+t) and type:

gsettings set com.canonical.unity.webapps integration-allowed false

Tested on both releases with Firefox/Chromium + Launchpad, Facebook and Youtube. No popup asking for a webapp integration.

Removing existing webapps

We can't just remove all packages beginning with unity-webapps- as some of them are runtime dependencies of Unity or other packages (like the Ubuntu SDK which requires unity-webapps-qml)

A safe way is to remove such installed packages not belonging to the gnome section:

sudo apt-get remove $(dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package} ${Section}\n' unity-webapps-* | awk '{if ($1 == "ii" && $3 != "gnome") {print $2}}')
Related Question