which file should I edit for this?
For example when i used to run kdesktop I simply made a script with the command I wanted to start at startup, and put it in /.kde/Autostart.
Now I switch my desktop- environment pretty often ( each has its own strengths), which I really love doing
So how do I setup startup programs that are user-independent as well as window-manager/environment independent. They should jsut start with X, and be use-specific.
I tried xinit,xsessions but it didn't seem to work

. Or was i editing them incorrectly?