I need to auto-execute a script just after the xfce loads and auto-logs in using a user.
Can someone please tell me how to do that?
Can you please tell me how would I do it by editing config files via ssh?
You copy the script's desktop file to ~/.config/autostart. If the script that you want to run doesn't have a desktop file, you can create one. Use the following as a template:
[Desktop Entry] Type=Application Name=<NAME> Comment=<COMMENT> Exec=<EXECUTABLE> OnlyShowIn=XFCE; StartupNotify=false Terminal=false Hidden=false
Doing what ToZ says creates a desktop file in ~/.config/autostart so you can copy a file there with the details of your script. Here is a sample to run Tilda on startup, put the path to your script in the Exec line and change anything else you need.
Last edited by ozjd (2013-03-05 03:26:05)
Thanks a lot for your help