1- Enable login sound on Cinnamon:
Go to System>Preferences>Startup Applications and added "GNOME Login Sound" with the following description:
Name: GNOME Login Sound
Command: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
Comment: Plays a sound whenever you log in
to test sound in terminal, run:
Code: Select all
/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
2- Enable login sound on Mate:
Go to System>Preferences>Startup Applications and added "GNOME Login Sound" with the following description:
Name: GNOME Login Sound
Command: paplay /usr/share/sounds/LinuxMint/stereo/desktop-login.ogg
Comment: Plays a sound whenever you log in
to test sound in terminal, run:
Code: Select all
paplay /usr/share/sounds/LinuxMint/stereo/desktop-login.ogg
To change login sound on Cinnamon simply convert your file to .ogg format and name it "desktop-login.ogg" then copy it, as root, to /usr/share/sounds/LinuxMint/stereo and replace the existing file. On Mate, you have to do the same but change the "desktop-login.ogg" file permissions,as root, by right-clicking on it and navigating to Properties > Permissions > Owner and change it from "root" to your username. Mine is "chupacabra" for instance.
that's it


