Backup custom application launcher entries

I have a custom application launcher menu entry called “Streaming” and various sub-menu entries. I would like to back these up but cannot find those .desktop entries relating to my own custom application launcher menu entry and sub-menu entries. Help and thank you. Dave.

1 Like

you can save a change to the launcher and then look to see which files recently changed… then back up the file that captured the change.

from my notes

#to find the last 10 recently changed files from a config change or fat fingered file save
find -type f -printf '%T@ %p\n' | sort -n | tail -10

i find it handy to make an alias for this in my profile so it’s always handy.

1 Like

And just for reference, on most current Linux desktop environments, these folders will hold most of the .desktop files for application launchers:

  • ~/.local/share/applications/ - for your own user-specific .desktop files, including overrides to system-installed ones
  • /usr/share/applications/ - for system-installed distribution packages
  • /var/lib/flatpak/exports/share/applications/ - for Flatpak

The menu structure is in ~/.config/menus/applications-kmenuedit.menu.

1 Like

@johnandmegh @jlittle Both your answers solved my issue. Thanks very much, Dave.

1 Like