Favorite applications in the start/application menu are missing in KDE Plasma and you can't add any as they won't appear as favorites.
Troubleshoot by running kbuildsycoca5 --noincremental
in a terminal to read the output and repeat until there is no error. The approaches to different error types are listed below.
Copy it from /etc/xdg/menus/
:
cp /etc/xdg/menus/<missingfilename> ~/.config/menus/<missingfilename>
e.g. if applications.menu is missing
cp /etc/xdg/menus/applications.menu ~/.config/menus/applications.menu
e.g. line 1 , col 1 : "unexpected end of file"
Remove the file with the rm
command
e.g. if xdg-desktop-menu-dummy.menu encounters a parse error
rm -rf ~/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu
Based on the last post on Apr 28, 2017 at https://forum.kde.org/viewtopic.php?f=289&t=140075
Feel free to comment! This was the only solution after digging through various solutions from different forums and their members! There has to be a better guide for this...