I have VLC appearing twice on my app list using Gnome desktop on Ubuntu 20.04.I had VLC installed but the app wouldn't launch whenever I tried to. I decided to reinstall VLC,then VLC started appearing twice in my application list (one shortcut working fine and not the other).
Following MadcapJake advice on reddit, I typed: xprop WM_CLASS
and clicked on the vlc tab.
The result was :
WM_CLASS(STRING) = "vlc", "vlc"
Then I typed: "vlc" StartupWMClass
It resulted in:
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
filesystem stream error: cannot open file /home/nao/StartupWMClass (No such file or directory)
QObject::~QObject: Timers cannot be stopped from another thread