PDA

View Full Version : [all variants] init.d style startup scripts for user



librano
February 24th, 2009, 01:29 AM
I was just wondering if there is a default or standard location where one could have init.d style scripts that are run on user login... The actual scripts could be in the system folders but with links in the user's home directory.

I am thinking of something like the way X has it's own scripts in /etc/X11/Xsession.d/

I do not want to use a Gnome/XFCE/KDE specific method to do this. Standard is good ;)

snova
February 24th, 2009, 01:32 AM
~/.config/autostart

Though I don't think they can be scripts, but .desktop files... well, I suppose you could create some stubs:



[Desktop Entry]
Exec=/path/to/login-script.sh