Linux caja fails if login again with no network

Problem replication:

Log into user with active network
Log out of user
remove network cable
Log into user — caja won’t start

Possible solution from
https://ubuntu-mate.community/t/use-nemo-instead-of-caja-updated-for-xenial/4124/16
http://needforbits.tumblr.com/post/137747871833/set-nemo-as-default-file-manager-in-ubuntu-mate

Replace caja with nemo –unfortunately might be the only way
nice review of caja vs nemo
https://www.slant.co/versus/13810/7572/~nemo_vs_caja

OR perhaps remove caja addon /usr/lib/linuxmint/mintMenu/plugins/places.py

Possible solution from
https://alexcabal.com/disabling-gnomes-recently-used-file-list-the-better-way/

 

mkdir -p ~/.config/gtk-3.0

echo -e "[Settings]\ngtk-recent-files-max-age=0\ngtk-recent-files-limit=0" > ~/.config/gtk-3.0/settings.ini

rm ~/.local/share/recently-used.xbel

done

Someone commented at that site

This is what I did. It seams to work.

rm /.local/share/recently-used.xbel
ln -s /dev/null ~/.local/share/recently-used.xbel

That site is pretty messy in terms of what to do but another commenter said

echo gtk-recent-files-max-age=0 >> ~/.gtkrc-2.0