How to fix an app appearing twice in my application list

Solution 1:

SOLUTION : There was another .desktop file related to VLC but not placed in the common application folder usually located in usr/share/applications The problematic file was located into var/lib/snapd/desktop/applications

You can find the location of the problematic file by following vanadium answer on this post

Once you know where it is, remove the app (VLC)

sudo apt-get remove --purge vlc

sudo apt-get autoremove

sudo apt-get autoclean

Then you get into the repertory where the file is located by using :

cd /var/lib/snapd/desktop/applications 

(or any other path that your find command prompted you)

then you remove the file and reinstall :

sudo rm vlc_vlc.desktop 

sudo apt-get install vlc