I have created a debian package that contains the following files
mypackage.jar(generated from my source code)
I wrote some commands inside the
mypackage file like:
cp usr/share/applications/mypackage.desktop ~/.config/autostart/
to copy the
.desktop file into autostart directory.
But I cannot see
mypackage.desktop file inside autostart.
How can I create a debian package that copies a
.desktop file into the
autostart folder to launch my app at startup?
I am using these instructions.