Whenever I use the KDE menu editor to change the layout of the KDE application menu, the configuration file ~/.config/menus/applications-kmenuedit.menu
changes.
This file seems to collect a lot of garbage every time an item is created, moved, changed, or deleted. It has now grown to over 100kB and is very confusing to read, and I am having trouble with menus that refuse to be renamed. There are still entries for applications I removed years ago.
Is there any way I can clean this file from unnecessary junk that's accumulated?
I don't want to delete it and start from scratch because it would be a lot of work to recreate my highly customized menus