I want to configure a locally installed unpackaged application to be started via applications menu in Debian. It should be independent of desktop environment and visible to all users. I don't want to install any Gnome or KDE dependencies to perform this simple task.
Which command is more suited to install desktop files in my case?
What is the the difference between these?