The Autostart Directories are $XDG_CONFIG_DIRS/autostart as defined in accordance with the "Referencing this specification"](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#referencing) section in the "desktop base directory specification"](http://standards.freedesktop.org/basedir-spec/).
If the same filename is located under multiple Autostart Directories only the file under the most important directory should be used.
Example: If $XDG_CONFIG_HOME is not set the Autostart Directory in the user's home directory is ~/.config/autostart/
Example: If $XDG_CONFIG_DIRS is not set the system wide Autostart Directory is /etc/xdg/autostart/
Example: If $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS are not set and the two files /etc/xdg/autostart/foo.desktop and ~/.config/autostart/foo.desktop exist then only the file ~/.config/autostart/foo.desktop will be used because ~/.config/autostart/ is more important than /etc/xdg/autostart/
Yes … sorry for lack of info. App is Viber and yes had already read the info **Autostart Directories
**Viber itself has an option in its interface to ‘Start Viber on System startup’ … which i turned off … but still it loaded! After reading your post FB i looked in memory and saw that it was still loaded even though i had closed it via its GUI … so u are right … i was still loaded every time i rebooted … and so i must have ‘restore previous session’ activated?? … but i don’t know where or how to get to that setting.
I killed it when in memory and rebooted and this time it did not show up, but most interested to learn where to adjust ‘restore previous session’
Thanks FB … on my system it is actually … [System Settings => Startup and Shutdown => Desktop Session => On Login] … and interestingly there is an option in which i can simply exclude Viber (or any other app) from the Session Restore … which i have done! … Most elegant!