I am currently packaging an application in a Ubuntu .deb file. The package will not be distributed publicly.
Currently, I package a .desktop file which is installed to
/usr/share/applications. After installing the package, the .desktop file gets picked up correctly, and a new entry for my application is added to the Applications menu. So far, so good.
Besides the Applications menu entry however, I also want to install an application launcher on the user's desktop. The problem is that I do not know beforehand the directory of the user's Desktop. How should I install a launcher on the user's desktop?