Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if you use Kde you can use Autostart and add any application you want to start when you log in." Press Alt+F2 and type 'Autostart' without the quotes"

If you use gnome then "Press Alt+F2 and type 'gnome-session-properties' without the quotes"

if you want to create it manually:

You should put in a Desktop Entry file inside of ~/.config/autostart (for a user) or /etc/xdg/autostart (for the whole system). In the file you set the script to run (see the option Exec). For more information, check the Desktop Application Autostart Specification.

For example, you can put a file with the following content:

[Desktop Entry] Name=MyScript GenericName=A descriptive name Comment=Some description about your script Exec=/path/to/my/ Terminal=false Type=Application X-GNOME-Autostart-enabled=true

PS: The credit of the manual way goes to gpoo. I never tried it myself