Hello all,
It seems at work they have decided to use Microsoft Office 365. The basic apps won't be a bother as I don't have to use them. Teams might be a trouble, however there is a Linux client and it seems to work ok.
Unfortunately, in typical M$ way, Teams for Linux autostarts (these people can't believe you would not want to use their apps all the time).
It autostarts by creatiing a teams.desktop file file in ~/.config/autostart. There is a X-GNOME-Autostart-enabled=true/false line enabling control of this, but it obviously works only on Gnome.
I can remove the *.desktop file, but Teams will re-create it everytime it is run!
Files run in .config/autostart are run before those in .trinity/autostart.
Old style scripting in rc.local seems deprecated on Debian (Buster here).
I've managed to create a systemd script to remove the desktop file at boot, which mostly satisfies my needs as I seldom just unlog, but I was wondering if there is a way to run a script when I log out (I have tried .bash_logout but it does not work)?
Thierry