1

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

4

I think the menu file is generated from the *.desktop files on your system.

You may look at the following locations

  • /usr/share/applications
  • ~/.local/share/applications/

And remove whatever you don't need. (Or add Hidden=true the desktop file)

  • If I were to delete the menu file and restart from scratch then it would be recreated from the .desktop files. But starting from scratch is exactly what I am trying to avoid, because I want my personal menu structure – PiedPiper Nov 13 '17 at 14:53
  • If the menu file is deleted, then /etc/xdg/menus/applications.menu is used as the default – PiedPiper Nov 15 '17 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.