I searched and found out that I can make an application start while the system boots by using Startup Applications from the dash. But if I want to write a .desktop file, in which directory should I save the file and also what should be the contents of the .desktop file?
I found this code snippet from here
[Desktop Entry]
Type=Application
Name=<Name of application as displayed>
Exec=<command to execute>
Icon=<full path to icon>
Comment=<optinal comments>
X-GNOME-Autostart-enabled=true
If this is valid and works then what should I write in the Exec?
The name of my application is Albert, which does the searching in the file system like you can search in dash. So writing Albert in the Exec is valid?