Ubuntu – How to stop an application auto starting

autostart

Thunderbird has suddenly decided to auto start each time I logon to the desktop. Xubuntu 16.04.

It is not configured to auto start in the session settings panel, where else should I be looking ?

Best Answer

If my memory serves me correct, it has to do with the state files that are stored in the ~/.cache/sessions/ folder. Removing all those should take care of this.

rm -rf ~/.cache/sessions/*

If that works, you could write that into a startup script to clear that folder out each time you boot up.

Hope this helps!

Related Question