E. Liddell composed on 2020-01-28 19:40 (UTC-0500):
On Tue, 28 Jan 2020 18:27:23 -0500 Felix Miata wrote:
A fellow user suffered extreme visual impairment, which severely limits his ability to use his PC. At irregular intervals, I straighten out his problems, and do his release upgrades.
Somehow in his desire to reduce clutter on Kicker by deleting unused objects he has managed to eliminate a large number of items from his main menu. Office is totally absent, even though the entirety of LibreOffice is installed. Likewise, Internet, Utilities and System are also missing. Is there some simple XDG or other way to regenerate the menu that doesn't eliminate menu customization or impact Kicker?
https://www.linuxtopia.org/online_books/linux_desktop_guides/kde_desktop_user_guide/kde-menu.html suggests
touch $KDEDIR /share/services/update_ksycoca
Substituting $TDEDIR produces no such file or directory.
# man ksycoca No manual entry for ksycoca # man xdgmenu No manual entry for xdgmenu # man update-menus No manual entry for update-menus $ ls -l .*xdg* *xdg* ls: cannot access '.*xdg*': No such file or directory ls: cannot access '*xdg*': No such file or directory :(
My system suggests that you may want "xdg-desktop-menu forceupdate" (xdg-utils, has a man page on my system) or maybe "tdebuildsycoca" (TDE, no man page).
They both work. I have a normal and a complete backup, so I tried on on the normal and the other on the backup. :)
kappfinder may also be able to help selectively stick applications back onto the menu, although it would require some user intervention.
So far, no need to try this. :)
Thank you!