1

I want an application to get opened after any user is logged in. I read about some menu about autostart. etc. But, unfortunately I don't have GUI access now. Please help.

Unnikrishnan
  • 113
  • 6

1 Answers1

5

Place one or more desktop files in

/etc/xdg/autostart/

for a system wide configuration.


Eg:

sudo cp /usr/share/applications/gimp.desktop /etc/xdg/autostart/gimp.desktop

To delay the start, replace the Exec property with eg

sh -c "sleep 20; gimp"
A.B.
  • 90,397