Originally Posted by
bark50
Following the first post, I now have a log-in sound. Can somebody please tell me how to create the files from Toz's post, what to name the files, and where to put them? Thanks.
Here is how. From a terminal window:
Code:
sudo leafpad /etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules
...enter your password when prompted and copy/paste the following code:
Code:
# This file is sourced by Xsession(5), not executed.
if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi
export GTK_MODULES
...and save the file.
Then,
Code:
sudo leafpad /etc/X11/Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules
...copy/paste the following code:
Code:
# This file is sourced by Xsession(5), not executed.
if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi
export GTK_MODULES
...and save the file.
IIRC, you need to log out and back in for it to take effect.