I checked "/etc/X11/xinit/xinitrc" and it contains one line that executes another script, namely "/etc/X11/Xsession", which is a much more complicated script consisting of several functions and conditionals that I do not understand.
I do not have a ~/.xinitrc file.
I checked the directories you mentioned and found /usr/share/gnome/autostart/gnome-screensaver.desktop. However, I do not use Gnome or any shell of Gnome so that cannot start, right?
The only DE's I have installed are unity and gnome-shell, but I do not use them. KDE and xfce are not installed. xmonad is my window manager and DE. Would you agree that the only way gnome-screensaver or notify-osd gets started is via the complicated "/etc/X11/Xsession" script?
Originally Posted by heinblöd
The thread you mention is about system startup scripts.
These are two pair of shoes, as the system startup scripts are executed even if you do *not* boot into your Desktop-enviroment.