Remove non-free software on your system Using vrms (Virtual Richard M. Stallman)
Future versions of vrms will include an option to also display text from the public writings of RMS and others that explain why use of each of the installed non-free packages might cause moral issues for some in the Free Software community. This functionality is not yet included.
Install vrms in ubuntu
sudo apt-get install vrms
This will complete the installation at the time of installation you should see the following message
An invocation of vrms has been added to the set of cron jobs run on a monthly basis, so that you will get a periodic reminder of non-free packages which are installed on your system.
if you want to run manually use the following command