In the Mate DE, selecting Startup Applications in the Control Center and checking Login sound brings up the Edit Startup Programs window. In the command window I've entered "mpv /home/a/.config/autostart/login.mp3" (without the quotes) where /home/a/.config/autostart/login.mp3 is the sound file I want to play on login.